To summarize, I am building a laravel application which is likely to have a heavy database usage. I wanted to use caching for my database resultsets wherever possible and was considering using redis as cache provider. I am completely new to redis, i have been using mysql query caching or file caching as caches prior to this project.
I was reading about setting up redis and came across two options - either compile from source code (which will install latest stable version 4.0) or use redis-server package (which installs 3.0 version). However i am not completely sure which way to go.
Can anyone please guide me what is the best and what additional features does 4.0 give me over 3.0 which i will need from my laravel application perspective. My initial bias is towards using apt install given it simplicity to execute and reliability as it is an official package. But i am wondering if installing an old version will deprive me of any major improvements in the 4.0 release of redis.
To conclude, i am not sure this belongs to a programming question category, but i am looking for answers from a programmer's perspective hence decided to post it here.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire