Wiki: Microservices: A retrospective

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

The speaker presents a retrospective on a decade of microservices adoption in the software industry, exploring what teams got right and where they fell short. The main argument is that microservices are primarily a tool for organizational scaling and minimizing inter-team synchronization costs, rather than a purely technical silver bullet. The audience learns about the core principles of decoupled systems, the importance of respecting distributed systems physics, and the value of adopting event-driven architectures.

Key points

  • 2:33 The primary reasons organizations adopt microservices are developer velocity, scaling capabilities, and system resilience.
  • 7:53 The fundamental driver for microservices is actually organizational scaling and managing inter-team dependencies.
  • 13:07 The industry successfully learned that small codebases, small interfaces, and low coupling are beneficial.
  • 15:11 In practice, companies rarely use polyglot stacks extensively, usually consolidating into a small handful of backend languages.
  • 20:21 The software industry often fails to respect the physics of distributed systems, such as the CAP theorem and concurrency challenges.
  • 22:28 Observability is an absolute requirement for managing the complexity of distributed microservices.
  • 25:34 Adopting an event-driven architecture helps simplify service interactions, state management, and scalability.
  • 29:49 Engineers should focus on learning fundamental architectural principles rather than getting bogged down in implementation details.

Takeaways

  • Design system boundaries to match organizational scaling needs and reduce synchronization overhead.
  • Study distributed systems theory and the physics of concurrency before designing microservice architectures.
  • Embrace event-driven design, event sourcing, and eventual consistency instead of forcing traditional atomic transactions.

Questions this talk answers

  • Why do organizations adopt microservices from an organizational perspective rather than a purely technical one?
  • How does event sourcing and eventual consistency replace traditional atomic database transactions in distributed systems?
  • What are the core principles developers should focus on instead of framework implementation details?

Technologies

Kafka, Kubernetes, gRPC, Thrift

Tags

architecture, devops, distributed systems, event-driven, microservices, observability, organizational scale