r/SQLOptimization • u/Sollimann • Dec 24 '24
Any good solutions for disk-based caching?
We currently operate both an in-mem cache and a distributed cache for a particular service. RAM is expensive and distributed cache is slow and expensive. Are there any good disk-caching options and what are the best time complexity I can expect for read and write operations?
1
Upvotes
View all comments
Show parent comment
1
u/Sollimann Dec 24 '24
«slow» in relative terms compared to disk i/o because its physical proximity to the service runtime. I/O calls to distributed cache would best case be on the same data center