System Design
  • Introduction
  • System Design Process
  • System Design Systematic Approach
  • System Design Topics
  • System Design Interview Tips
  • Object Oriented Design
  • System Design Problems
    • Designing an API Rate Limiter
    • Design News Feed
    • Design Recommendation System
    • Design Photo Sharing App
    • Design Location Based App
    • Design Messenger App
    • Design Twitter
    • Design Uber Lyft
    • Design Surge Pricing
  • Architect's Toolbox
    • Cache Design
    • Database and Cache
    • Pull vs Poll
    • Geo Location
    • Storage Estimation
    • ID Generator
    • Latency Numbers
    • Encoding Decoding Encryption Decryption
  • Systems Design Glossary
    • Consistent Hashing
    • Sharding or Partitioning
    • Database Indexes
    • Proxies
    • Caching
    • Queues
    • SQL vs. NoSQL
    • CAP Theorem
    • Distributed Messaging System
    • Long-Polling vs WebSockets vs Server-Sent Events
    • Producer and Consumer
    • Latency, Bandwidth and Throughput
    • Microservices Architecture
    • RESTful API
    • Concurrent Programming
  • Distributed System Resources
    • Distributed System Notes
  • Reference
Powered by GitBook
On this page
  • 微服务定义
  • 微服务定义(⼀)
  • 微服务定义(⼆)
  • 微服务的适⽤性
  • 微服务的利和弊
  • 康威定律 Conway's law
  • Microservice Pattern Language
  • Reference

Was this helpful?

  1. Systems Design Glossary

Microservices Architecture

PreviousLatency, Bandwidth and ThroughputNextRESTful API

Last updated 5 years ago

Was this helpful?

微服务定义

微服务定义(⼀)

Martin Fowler

  • ⼀种架构⻛格,将单体应⽤划分成⼀组⼩的服务,服务之间相互协作,实现业务功能

  • 每个服务运⾏在独⽴的进程中,服务间采⽤轻量级的通信机制协作(通常是HTTP/ JSON)

  • 每个服务围绕业务能⼒进⾏构建,并且能够通过⾃动化机制独⽴地部署

  • 很少有集中式的服务管理,每个服务可以使⽤不同的语⾔开发,使⽤不同的存储技术

微服务定义(⼆)

Adrian Cockcroft

  • Loosely coupled service oriented architecture with bounded context 基于有界上下⽂的,松散耦合的⾯向服务的架构

微服务的适⽤性

Source:

微服务的利和弊

利

弊

强模块化边界

分布式系统复杂性

可独⽴部署

最终⼀致性

技术多样性

运维复杂性

测试复杂性

康威定律 Conway's law

Organizations which design systems … are constrained to produce designs which are copies of the communication structures of these organizations.

设计系统的组织,其产⽣的架构设计等价于组织间的沟通结构

Microservice Pattern Language

Reference

https://microservices.io/i/MicroservicePatternLanguage.pdf
https://microservices.io/
https://www.martinfowler.com/articles/microservices.html
https://microservices.io/i/MicroservicePatternLanguage.pdf
杨波 微服务架构 pdf