Skip to content

Comment on The PlanetScale serverless driver for JavaScript

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.