6 Common services for functional partitioning

This chapter covers

  • Centralizing cross-cutting concerns with API gateway or service mesh/sidecar
  • Minimizing network traffic with a metadata service
  • Considering web and mobile frameworks to fulfill requirements
  • Implementing functionality as libraries vs. services
  • Selecting an appropriate API paradigm between REST, RPC, and GraphQL

Earlier in this book, we discussed functional partitioning as a scalability technique that partitions out specific functions from our backend to run on their own dedicated clusters. This chapter first discusses the API gateway, followed by the sidecar pattern (also called service mesh), which was a recent innovation. Next, we discuss centralization of common data into a ...

Get Acing the System Design Interview now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.