Kyle Mathews pfp
Kyle Mathews
@kam
Edge compute is great but what isn't great is compute with slow data reads. Sync is the solution I built a new demo with ElectricSQL and Cloudflare's DO SQLite showing how Electric can do a < 20ms incremental sync into sqlite on every call to a DO. Edge Compute 🤝 Synced Data
1 reply
4 recasts
5 reactions

Kyle Mathews pfp
Kyle Mathews
@kam
DO's SQLite will support up to 10 GBs — that's a lot! Almost any DO you can imagine could sync all relevant data it needs to do its job into SQLite. That's the future of edge computing — real-time synced data for lightning fast responses. The code for the demo is rough but the general idea of syncing into edge sqlite is one we're going to continue to explore and would love to work with y'all to wrap this into a bullet-proof library for broad usage.
1 reply
0 recast
0 reaction

Kyle Mathews pfp
Kyle Mathews
@kam
demo: https://github.com/KyleAMathews/electric-demo-cloudflare-sqlite Cloudflare's launch post: https://blog.cloudflare.com/sqlite-in-durable-objects/
0 reply
0 recast
0 reaction