▲ | nchmy 2 days ago | |||||||
Thanks for the great writeup. Out of curiosity, has any benchmarking been done to compare Otter etc vs things like (localhost/Unix socket) Redis? | ||||||||
▲ | maypok86 2 days ago | parent [-] | |||||||
No, what do you want to verify? Any network calls make Redis significantly slower than an on-heap cache. I'd even argue these are tools for different purposes and don't compare well directly. A common pattern, for example, is using on-heap caches together with off-heap caches/dedicated cache servers (like Redis) in L1/L2/Lx model. Here, the on-heap cache serves as the service's first line of defense, protecting slower, larger caches/databases from excessive load. | ||||||||
|