知识卡片
微服务独立部署
微服务架构把系统组件组织成可独立部署的服务,并围绕明确的业务子域划分职责。“小”主要指职责范围窄,不是代码行数少。服务仍须借助 HTTP 或其他接口协作;独立部署不等于彼此孤立。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Microservice APIs》第 1 章《What are microservice APIs?》(源文件:_epub-src/OEBPS/Text/01.htm)
- 结论依据:1.1.1 节明确给出独立部署、按业务子域组织、轻量协议通信的定义,并解释“小”指职责范围而非代码大小。
- 原始内容:A microservice is an architectural style in which components of a system are designed as independently deployable services. Microservices are designed around well-defined business subdomains, and they talk to each other using lightweight protocols, such as HTTP.