Replacing a cache service with a database
1–10 of 69 posts
Re: Replacing a cache service with a database
#2Re: Replacing a cache service with a database
#3The difference is in persistence and scaling and read/write permissions
Re: Replacing a cache service with a database
#4Re: Replacing a cache service with a database
#5Having caching by default (like in Convex) is a really neat simplification to app development.
Re: Replacing a cache service with a database
#6The more software development experience I gain the more I agree with him on that!
Re: Replacing a cache service with a database
#7Re: Replacing a cache service with a database
#8A friend of mine once argued that adding a cache to a system is almost always an indication that you have an architectural problem further down the stack, and you should try to address that instead. The more software development experience I gain the more I agree with him on that!
(It’s not really my architecture problem. My architecture problem is that we store pages as grains of sand in a db instead of in a bucket, and that we allow user defined schemas)
Re: Replacing a cache service with a database
#9A friend of mine once argued that adding a cache to a system is almost always an indication that you have an architectural problem further down the stack, and you should try to address that instead. The more software development experience I gain the more I agree with him on that!
Caches have perfectly valid uses, but they are so often used in fundamentally poor ways, especially with databases.
Re: Replacing a cache service with a database
#10A friend of mine once argued that adding a cache to a system is almost always an indication that you have an architectural problem further down the stack, and you should try to address that instead. The more software development experience I gain the more I agree with him on that!