Comment on The PlanetScale serverless driver for JavaScriptComments−rsweeney214yHas anyone tested edge functions + planetscale (or similar) vs edge functions + a database read replica also located at the edge?It seems like you lose most of the benefit of your code running at the edge if your database is still in an AWS region.−athammer4yTo my knowledge you can use planetscale’s read replicas in different regions which the user is then routed to the closest one? I was going to use fly.io until I realized PlanetScale does this already - or do you mean writes as well?https://planetscale.com/docs/concepts/read-only-regions−mattrobenolt4y:see_no_evil: This is an obvious next step for us.
Comments
Has anyone tested edge functions + planetscale (or similar) vs edge functions + a database read replica also located at the edge?
It seems like you lose most of the benefit of your code running at the edge if your database is still in an AWS region.
To my knowledge you can use planetscale’s read replicas in different regions which the user is then routed to the closest one? I was going to use fly.io until I realized PlanetScale does this already - or do you mean writes as well?
https://planetscale.com/docs/concepts/read-only-regions
:see_no_evil: This is an obvious next step for us.