Tag

session-affinity

1 views collected around this technical thread.

macrozheng
macrozheng
Oct 31, 2023 · Backend Development

Mastering Nginx Session Affinity: How ip_hash Ensures Sticky Sessions

This article explains how Nginx's ip_hash directive implements session affinity by routing all requests from the same client IP to a single backend server, provides configuration examples, discusses practical pitfalls, and shares real‑world test results.

backendip hashload balancing
0 likes · 9 min read
Mastering Nginx Session Affinity: How ip_hash Ensures Sticky Sessions
Wukong Talks Architecture
Wukong Talks Architecture
Sep 26, 2023 · Backend Development

Implementing Session Affinity with Nginx ip_hash Directive

This article explains how to achieve session affinity using Nginx's ip_hash directive, covering the concept, configuration syntax, practical examples, common pitfalls, and test results for handling client IP‑based load balancing across backend servers.

ip hashload balancingsession-affinity
0 likes · 9 min read
Implementing Session Affinity with Nginx ip_hash Directive
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 17, 2018 · Backend Development

Session Sharing Solutions in Distributed Environments

This article explains the concept of web sessions, the consistency challenges that arise in distributed server clusters, and evaluates four common solutions—session replication, session affinity, cookie‑based sessions, and dedicated session servers—detailing their use cases, advantages, and drawbacks.

backenddistributed systemssession
0 likes · 6 min read
Session Sharing Solutions in Distributed Environments