Hello everyone !
I have a node app and a PostgreSQL DB in VPS using Docker, with Coolify as a CI/CD, nothing too fancy, you might say.
My question is the following.
I have a lot of read/write on my DB and even the lowest increase in DB latency can have an impact on my users’ experience. As my VPS is in France, what could be the best/easiest (selfhosted?) option to solve this problem in other regions (North America, Asia…) ?
Thks in advance 🎄🎁
lemmyvore@feddit.nl 10 months ago
Caching and/or DB hosted in a region closer to your users, or perhaps even in their browsers (if the data is not sensitive).
Is hitting a real RDBMS absolutely necessary? Consider producing precomputed data sets which can be cached as JSON or with other non-dynamic, storage-only methods. A distributed CDN can be much cheaper than a VPS.
Mateleo@lemmy.dbzer0.com 10 months ago
I’ll check it out, I’ll learn more about CouchDB. Thks ;)