Separate Redis Store in Laravel

Credit to

Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, and sorted sets.

In this article, I will show how to separate the Redis configuration for cache, session and queue. Why separate? For me, its :-

  • Easier in terms of application debugging
  • Less data losses



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hafiq Iqmal

Hafiq Iqmal

Tech Lead Back-End Developer | Software Engineer | Laravel Enthusiasts | CTF Newbie | Medium writer