
Livro digital
Título:
Microservices AntiPatterns and Pitfalls
Autor:
Mark Richards
Categoria:
Tecnologia > Backend
Doador:
Raffaello D. N.
Sinopse:
Microservices failures rarely begin with spectacular outages; they begin with choices that seem reasonable. Mark Richards organizes ten recurring traps, opening with data-driven migration and timeout antipatterns before confronting shared-code dependencies, reach-in reporting, and services fragmented into grains of sand.
Each chapter pairs a failure mode with a practical correction: migrate functionality before data, use circuit breakers instead of arbitrary timeout values, push reporting events asynchronously, evaluate service scope against transactions and choreography, and ground architecture decisions in business drivers. The later sections examine static contracts, schema and header versioning, latency measurement, protocol tradeoffs, and asynchronous or broadcast requests.
The compact structure makes the material useful as both a diagnostic checklist and a design review companion. Rather than selling microservices as a default destination, it helps architects recognize costly patterns early, compare alternatives honestly, and align service boundaries, communication styles, contracts, and migration plans with the needs of the system.