title: Avoiding breaks when using replication - Redis
body: <p>We have 1 master with Redis. And 2 slaves of that master. Slaves also used as WebServer. We are using Redis for PHP sessions. We are load balancing using Round Robin DNS. So it means request hits at "random" server.</p>
  
  <p>How I should configure thing like PHP session to not break user experience. For example I have replication period for redis each 10 seconds. User logins and session created. After some seconds user requests new page and hits at other server. But in that server Redis is not replicated yet.</p>
  
  <p>What to do in this case when data is critical in this matter? We have also non critical data in redis, so we dont want to set replication period to very small period and make load to master.</p>
  
  <p>Actually this is not applicable only for Redis. I don't know yet, maybe we will have same problem with MySQL.</p>