
微服务架构设计模式
Microservices Patterns
Chris Richardson · 初版 2018 年
3人推荐
4位读者提及
4次提及
单体架构在小型、简单的应用程序中表现良好。然而,成功的应用程序往往具有不断膨胀的特点。最终,开发团队会陷入所谓的单体地狱。软件开发和部署的各个环节都会变得极其缓慢。解决方案是采用微服务架构,它将应用程序构建为一组围绕业务能力组织的服务。这种架构能够加速软件开发,并实现复杂软件应用的持续交付与部署。Microservice Patterns 为企业级开发者提供了深入的指导
Hacker News 上怎么说
正在加载完整评论……
总的来说,我认为关于微服务最好的一本书是 Chris Richardson 写的《微服务架构设计模式》(Microservices Patterns,https://www.manning.com/books/microservices-patterns)。那本书能涵盖你设计和构建 microservices 所需了解的一切,以及各种策略,比如你……
Overall I'd say the best book about microservices is Chris Richardson's Microservices Patterns (https://www.manning.com/books/microservices-patterns). That book will get you covered with everything you need to know about designing and building microservices, and also the various strategies you…
Chris Richardson 写的《微服务架构设计模式》(Microservices Patterns)非常值得一读。它把 design patterns 的理念应用到了设计和实现微服务架构(microservice architecture)上。它的核心观点在于,你可能已经在做其中的某些……
Microservices Patterns by Chris Richardson is a great read. It takes the idea of design patterns and applies it to designing and implementing a microservice architecture. The idea is that you may already be doing some of the…
microservices 的 design patterns 之一就是不共享数据库,因此按理不需要分布式事务(distributed transactions)。当然,这也会带来它自身的问题(解决方案可以参考 Chris Richardson 的《Microservices Patterns》)。
One of the design patterns of microservices is not to share databases, so distributed transactions shouldn't be required. Of course, this presents it's own problems (see Microservices Patterns by Chris Richardson for solutions to this).
这基本上跟“发件箱模式”(outbox pattern)是一样的,比如在 Chris Richardson 归纳的 microservices patterns 里面就有列出。另一种替代实现是由 Debezium [1] 提供的,它是一个通用的 change data capture 解决方案,支持 MySQL、Postgres、MongoDB、SQL Server 等,基于 Apache Kafka 构建(不过也可以……
That's basically the same pattern as the "outbox pattern", e.g. listed in Chris Richardson's pattern of microservices patterns. An alternative implementation is provided by Debezium [1], a general solution for change data capture for MySQL, Postgres, MongoDB, SQL Server and others, based on top of Apache Kafka (but can also…