Skip to content

Distributed Caching

mayank jaglan edited this page Feb 10, 2017 · 22 revisions
Mayank Jaglan (mjaglan)

Problem Statement:

We need a way to provide single logical view (and state) for session and security management using caching for the web applications.

Possible Solutions:

In order to maintain single state of app data and web session data the approach of utilizing distributed cache system is preferred. It is an extension of the traditional concept of cache used on a single machine. A distributed cache system may span multiple servers.

For enabling this feature for Laravel web app framework, there are two out of the box solutions available, and there is also facility for adding your own custom cache driver -

Feature Options
Distributed Cache Memcached, Redis, Custom Cache Drivers
[//]: # (Database Cache MySQL Cache Driver)

Solution Evaluations:

Memcached

Redis

Custom Cache Drivers

Conclusion:

Associated Github issues

Associated Discussions

Developer Mailing List: UI Portal - Load Balancing & High availability

References

Clone this wiki locally