Redis: Difference between revisions

From Rixort Wiki
Jump to navigation Jump to search
Created page with "Service to store short-lived data - caches, sessions etc."
 
No edit summary
 
Line 1: Line 1:
Service to store short-lived data - caches, sessions etc.
Service to store short-lived data - caches, sessions etc.
Having a single Redis store for PHP sessions can be one way to allow multiple servers with load balancing without the problems of users hitting the server which doesn't contain the session (alternative is to use 'sticky' sessions, but that partly defeats load balancing).

Latest revision as of 13:55, 15 May 2023

Service to store short-lived data - caches, sessions etc.

Having a single Redis store for PHP sessions can be one way to allow multiple servers with load balancing without the problems of users hitting the server which doesn't contain the session (alternative is to use 'sticky' sessions, but that partly defeats load balancing).