by nirimda · 4y ago · 0 comments
One solution to this problem that Fly provides app-level support for is to allow you to have a fast local read-only copy of your database on/near each server, so that only inserts/updates need to run remotely. Your regional copies basically fail whenever there's an update, and Fly's platform re-runs the request on the leading webserver (which replicates the update to the regional database servers).
How well does it work? Never used it. But it would save you the trouble of having to notice the problem, come up with a solution and then implement it.
No comments yet.