I'm working with my application in high availability, and for that I configured Redis as a session manager.
Redis is installed on its own server on the same network, but I noticed that when there is more than one AJAX request to the PHP application, it takes much longer. About 11 requests take about 10s in total to complete.
If I use PHP with the native session, the 11 requests are completed in less than 400ms. Thinking that the problem was Redis, I decided to configure Memcached as a session manager, again on its own server, but again the same problem occurs.
How can I fix this issue and get faster session management?