placeholder

Globally Distributed Postgres

Author Name Kurt Mackey Twitter @mrkurt Fly runs apps (and databases) close to users, by taking Docker images and transforming them into Firecracker micro-vms running on our hardware around the world. You should try deploying an app: it only takes a few minutes.This is a story about a cool hack we c...

Click to view the original at fly.io

Hasnain says:

This is some pretty cool distributed systems stuff.

“If you're scaling out Postgres instead of scaling it up, there's a good chance you're doing it because you want to scale your application geographically. That's why people use Fly.io; it's our whole premise. We do some lifting to make sure that running an app close to your users on Fly.io doesn't involve a lot of code changes. This strategy, of exploiting our proxy to steer database writes, is sort of in keeping with that idea.”

Posted on 2021-07-01T06:19:56+0000