Shared Resources

Learn about shared resources, shared-nothing architecture, and session failures.

Shared resource effect

Another scaling effect that can jeopardize stability is the “shared resource” effect. Commonly seen in the guise of a service-oriented architecture or “common services” project, the shared resource is some facility that all members of a horizontally scalable layer need to use. With some application servers, the shared resource will be a cluster manager or a lock manager. When the shared resource gets overloaded, it’ll become a bottleneck limiting capacity. The following figure should give an idea of how the callers can put a hurting on the shared resource.

When the shared resource is redundant and nonexclusive, meaning it can service several of its consumers at once, then there’s no problem. If it saturates, we can add more and scale the bottleneck.

Shared-nothing architecture

The most ...