logoalt Hacker News

hparadizlast Tuesday at 6:27 AM1 replyview on HN

Modern rdbms databases already have an in-memory cache. For 99% of projects there's no actual difference. The round trip will end up around 12-22 ms in all best possible cases.


Replies

nchmylast Tuesday at 8:45 AM

If you're getting 12-22ms latency for your cache reads, the network is your bottleneck. If stored locally, you would get many orders of magnitude faster than that.

show 1 reply