LulaEdge – An open-source sharding orchestrator for Cloudflare D1
LulaEdge is an open-source sharding orchestrator designed for Cloudflare D1 databases, allowing users to query multiple databases as a single relational system. It operates entirely within the user's Cloudflare account, ensuring data remains local while enabling global queries across distributed shards. The system is built for multi-tenant and AI workloads, providing a secure and efficient way to manage data queries.
- ▪LulaEdge orchestrates distributed SQL execution using Cloudflare Workers.
- ▪The engine generates signed execution plans, executing queries within the user's Cloudflare account.
- ▪Users can deploy LulaEdge by cloning the repository and configuring their Cloudflare credentials.
Opening excerpt (first ~120 words) tap to expand
LulaEdge Query hundreds of Cloudflare D1 databases as if they were a single relational system LulaEdge orchestrates distributed SQL execution entirely inside your Cloudflare account using Cloudflare Workers Why LulaEdge? Keep data geographically local Query globally across shards Avoid centralized Postgres infrastructure Built entirely on Cloudflare Workers Designed for multi-tenant and AI workloads How it works Engine The LulaEdge engine only generates signed execution plans. Data queries execute entirely inside your Cloudflare account. Your cluster (deployed by this script) --> Orchestrator + Executors live in your Cloudflare account. Only they talk to your D1 shards.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.