Head in the Zed Cloud
12 days ago
- #Backend Development
- #Rust
- #Cloudflare Workers
- Zed is rebuilding its cloud infrastructure, named Zed Cloud, to support future growth.
- Zed Cloud is built in Rust and runs on Cloudflare Workers, compiled to WebAssembly (Wasm).
- Cloudflare Workers were chosen for scalability and reduced operational overhead.
- Key Cloudflare services used include Hyperdrive for Postgres, Workers KV for storage, and Cloudflare Queues for async jobs.
- A platform-agnostic framework was developed for easy testing, featuring a `Platform` trait.
- Two implementations of the `Platform` trait exist: `CloudflarePlatform` for production and `SimulatedPlatform` for testing.
- The `SimulatedPlatform` allows full end-to-end testing, including client-server interactions.
- Zed Cloud is foundational for future collaborative coding with DeltaDB.
- Zed is hiring engineers with Rust and web API experience to work on Zed Cloud.
- The current codebase consists of 70k lines of Rust and 5.7k lines of TypeScript.