Chapter 8. Accessing apps: Services, routing, and service discovery

This chapter covers

  • Single services representing multiple app instances
  • Server-side load balancing
  • Client-side load balancing
  • Dynamic routing to service instances
  • Service discovery

I’ve already been going on a bit about apps being deployed as multiple instances but needing to behave as a single logical entity. You learned that you must keep your apps stateless so that one request to an app isn’t dependent on previous requests having hit the same instance. You saw how configurations need to be carefully managed across all instances so as to ensure the same outcome regardless of which instance ends up serving a particular request, even during application lifecycle events. At ...

Get Cloud Native Patterns 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.