3 ms·
In Django it's literally a matter of adding 5 lines of code to enable the redis cache. The complexity is in actually setting up the Redis server, but this can a
by l33tman 7y ago
In Django it's literally a matter of adding 5 lines of code to enable the redis cache. The complexity is in actually setting up the Redis server, but this can also be trivial in many cases.
- dsr_ 7y agoSorry, no. The complexity is that you are now relying on another server which can break in new ways, requires startup and shutdown and configuration and possibly load-balancing; management of all the above... updates, security reviews, and documentation. Will you need new server types with an emphasis on RAM? How many and when? How are you monitoring it for errors and performance? That's the difference between thinking about it as a solution to a problem and thinking about it as part of your infrastructure.
- volkk 7y agoTrue, but a lot of that can be solved with PaaS/DBaaS products like compose or something
- threeseed 7y agoShame you got downvoted because it's a valid point. These days most databases are available as a managed service and Redis in particular is a standard feature on AWS, Azure and Google Cloud.