The idea behind edge computing is to provide faster response times by running logic close to the end user, reducing data travel distance. However, when you involve a database, this advantage starts to fade away. In fact, things can even get worse because the amount of data moving between the edge and the database is often more than what's exchanged between the edge and the user.
To tackle this, companies have started appearing at the edge too. Companies like turso.tech, Cloudflare (D1), and Fly.io let us deploy databases at various edge locations worldwide. But even with this approach, we're only solving part of the problem (!)
Now we face new challenges: figuring out which data should be moved to the edge, finding efficient ways to transfer data from centralized data centers to the edge, and keeping everything in sync.
Are there any companies working on this? Or am I missing something? I'd love to hear your thoughts and insights.