3 ms·
IF you want to use it for caching, THEN you would use it to cache stuff for your controller. But, Redis is much more than caching. It supports all kinda of fun
by hrdwdmrbl 6y ago
IF you want to use it for caching, THEN you would use it to cache stuff for your controller.
But, Redis is much more than caching. It supports all kinda of fun data-structures like sorted lists, timeouts, sets, pub-sub and more! You can almost think of it like memory that is held by another process. In that way, there are SO many uses cases.
- penagwin 6y agoI think a good example of this is session storage - just store the session with a ttl and now redis will automatically "expire the session" when the time is over.