From the course: Microservices: Design Patterns

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

Edge pattern

Edge pattern

- The final integration pattern that we will talk about in this course is another ingress pattern called the edge pattern. Much like the aggregator was a subset of the gateway pattern, the edge pattern is also a subset of the gateway pattern. The basic problem that we need to solve with the edge pattern comes into flavors. The most common is that using a gateway becomes a scalability concern as one client type, say, mobile, contributes to request volume significantly more than other clients. As such, scaling the gateway becomes wasteful. The other flavor is similar to the aggregation in that the client doesn't just need a single touchpoint, it needs special business logic as well that only applies to this client. Edge services really become very much client-specific gateways, and I prefer them as an overall pattern. They provide the benefits of aggregation, consolidation, and complexity isolation while doing so based on the sole needs of a single client. These edge services focus on a…

Contents