News for hackers. Stuff that matters.
Re:The PlanetScale serverless driver for JavaScript by rsweeney21 on Thursday August 18, 2022 @03:31PM (#32513882)
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.

Re:The PlanetScale serverless driver for JavaScript by athammer on Thursday August 18, 2022 @04:58PM (#32514795)
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

Re:The PlanetScale serverless driver for JavaScript by mattrobenolt on Thursday August 18, 2022 @03:45PM (#32514030)
:see_no_evil: This is an obvious next step for us.