15
Scale to other countries (lemmy.dbzer0.com)
submitted 8 months ago* (last edited 8 months ago) by Mateleo@lemmy.dbzer0.com to c/selfhosted@lemmy.world

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 ๐ŸŽ„๐ŸŽ

you are viewing a single comment's thread
view the rest of the comments
[-] vsis@feddit.cl 4 points 8 months ago* (last edited 8 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.

[-] Mateleo@lemmy.dbzer0.com 1 points 8 months ago

I'll make a note of that, thanks!

this post was submitted on 23 Dec 2023
15 points (94.1% liked)

Selfhosted

39143 readers
264 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (donโ€™t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS