Tagged articles
4 articles
Page 1 of 1
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.

IP Hashbackendload balancing
0 likes · 9 min read
Mastering Nginx Session Affinity: How ip_hash Ensures Sticky Sessions
Architect
Architect
Sep 30, 2023 · Backend Development

Mastering Nginx ip_hash for Session Affinity and Its Common Pitfalls

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, demonstrates configuration examples, analyzes behavior when servers go down, and discusses the method's limitations such as load imbalance and dynamic IP issues.

IP HashPerformancebackend
0 likes · 11 min read
Mastering Nginx ip_hash for Session Affinity and Its Common Pitfalls
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 Hashbackendload-balancing
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.

Distributed SystemsSessionsession replication
0 likes · 6 min read
Session Sharing Solutions in Distributed Environments