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 🎄🎁

  • vsis
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    11 months ago

    You may have one psql server per region and then use Bucardo to synchronize them.

    I’ve never done this in production, so take my advice with a grain of salt.