← 返回首页

软件架构

Software Architecture

课程介绍 Course Introduction

学分:3 | 先修课:软件工程导论、面向对象设计与编程 | 学期:第6学期

软件架构课程聚焦大型软件系统的结构设计、风格选择与质量属性权衡,是软件工程专业的高阶核心课程。内容包括架构风格(分层、客户端-服务器、微服务、事件驱动)、质量属性(性能、可用性、可修改性、安全性)、架构文档化(4+1视图)、设计模式与架构评估方法(ATAM)。培养学生从系统视角进行架构决策的能力。

Software Architecture focuses on the structural design, style selection, and quality attribute tradeoffs of large software systems. Topics cover architectural styles (layered, client-server, microservices, event-driven), quality attributes (performance, availability, modifiability, security), documentation (4+1 views), design patterns, and evaluation methods (ATAM). Students develop system-level architectural decision-making skills.

大作业 Final Project

作业标题:微服务架构设计

学生需针对一个电商或在线教育场景,设计基于微服务的系统架构。要求绘制系统上下文图、容器图与组件图(C4模型),定义服务边界与通信协议(REST或gRPC),并讨论容错、负载均衡与服务发现方案。提交架构设计文档、图表与原型代码,并进行架构评审答辩。

For an e-commerce or online education scenario, students design a microservices-based architecture. Requirements include C4 model diagrams (context, container, component), service boundaries, REST or gRPC protocols, and discussions on fault tolerance, load balancing, and service discovery. Submit architecture documentation, diagrams, prototype code, and conduct an architecture review defense.