4 ms·
> Do you typically run Redis on the same host as your web server? Yes, at least initially. > Treating it as "in-memory" can have interesting side effects as y
by theli0nheart 9y ago
> Do you typically run Redis on the same host as your web server?
Yes, at least initially.
> Treating it as "in-memory" can have interesting side effects as you centralize it and introduce network delays.
I'd love to hear more about this!
- dmarlow 9y agoSorry, totally missed this because there is no notification system here... Let's say you have a large, tight loop in which Redis is used. If it's local, great, no problem. Now when it's centralized, you introduced a network delay you hadn't planned for. This "gotcha" comes up when you mess around with cache locality and didn't account for the delay changes in all areas of code.