How to design distributed systems - 分布式系统设计

1 Some Words

一直在想,到底要不要在博客上写英文。如果不写,我平时英语如何提高?如果写,我又觉得自己写来写去也就那些词汇,实在寒碜,未必就有进步。

所以不仅要坚持写,还要做到以下几点
1) 每天都要积累新的词汇。要有像样的输入,才会有像样的输出;
2) 要尽量用朴实,易懂的英文来解释复杂的事情。

至于怎么积累,确实是个问题。可以试着平时有空多看看英文论文,手机英文公众号,多记录。


2 Basic introduction

The book info: “Designing Distributed Systems–patterns and paradigms for scalable, reliable services”, written by Brendan Burns.

the content:
1) introduction
- Systems development
- pattens in software development
- value of patterns, practice, and components
- summary

Part I: Single-node patterns
2) Sidecar pattern
- an example sidecar: adding https to a legacy service
- dynamic configuration with sidecars
- modular application container
- building a simple PaaS with sidecar
- designing sidecars for modularity and reusability
- documenting your containers

3) Ambassadors
- use an ambassador to shard a service
- use an ambassador for service brokering
- to do experimentation or request splitting

4) Adapters
- monitoring
- logging
- adding a health monitor

Part II. Serving patterns
5) replicated load-balanced services
- stateless services
- session tracked services
- application-layer replicated services
- introducing a caching layer
- expanding the caching layer
- summary

6) sharded services
- sharded caching
- an examination of sharding functions
- sharded, replicated serving
- hot sharding systems

7) scatter/gather
- with root distribution
- with leaf sharding
- for reliability and scale

8) functions and event-driven process
- determine when FaSS makes sense
- patterns for FaSS

9) Ownership election
- determine if you even need master election
- the basics of master election
- concurrent data manipulation

Part III. Batch computational patterns
10) work queue systems
- a generic queue system
- implementing a video Thumbnailor
- dynamic scaling of workers
- multi-worker pattern

11) event-driven batch processing
- patterns of ~
- build an event-driven flow for new user sign-up
- publisher/subscriber infrastructure
- deploy kafka

12) coordinated batch processing
- join
- reduce
- an image tagging and processing pipeline

13) conclusion: a new beginning

3 Unfamiliar words

  • Colophon: [ˈkɒləfən] 书籍末页。
  • sparrow: a small brown bird that is very common in Britain.麻雀
  • paradigm: a typical example or pattern of sth.范例,样式。
  • scalable 可伸缩,可扩展
  • orchestrator: 协调器
  • azure: bright blue in colour like the sky. 天蓝色
  • strategist: a person who is skilled at planning things, especially military activities. 战略家
  • legacy: 遗留,遗产
  • ambassador: an official who lives in a foreign country as a senior representative there of his or her own country. 大使
  • infrastructure: basic systems and services necessary for a country or an organization to run smoothly, for example buildings, transport and water and power supply 基础设施

猜你喜欢

转载自blog.csdn.net/weixin_39278265/article/details/80673837
今日推荐