redis session

Using Redis For Session Storage

╄→гoц情女王★ 提交于 2019-12-07 12:35:24
A few days back, I was just messing around with Redis and all of a sudden there was a necessity where I had to externalize the sessions from Apache Tomcat. Redis seemed to be a great option for this. It took a bit of tweaking, but by the end, things were as smooth as ever. I thought of designing the architecture to show how Redis can help us by being the ultimate session store with really low latency. The diagram below depicts the entire scenario with great precision. Here's my explanation for the diagram above: 1、Any request coming from the internet would be received by the web server first.