Founded in 2021, Liveblocks enables software developers to easily add pre-built collaborative features to their apps. Developers can quickly incorporate commenting, multi-person editing, notifications, AI copiloting, live cursors, and other customizable features into their software.
App users today increasingly expect those collaborative capabilities. Whether they are designing a new website or attending a livestream event, users want to contribute their feedback and interact with others in real time, no matter where everyone is located.
Liveblocks enables software engineering teams to meet those user expectations and avoid the time-consuming work of creating collaborative app features themselves. To further streamline development, Liveblocks provides a fully hosted, scalable WebSocket infrastructure for building and running collaborative capabilities.
In constructing the collaborative experience, the Liveblocks team initially used AWS EC2 containers with a MongoDB database. But it was difficult to scale WebSocket servers and database storage with the containers. “We needed a more scalable approach to support real-time collaboration,” says Olivier Foucherot, senior software developer at Liveblocks.
Just when the Liveblocks team began searching for an alternative approach, a new solution appeared. “Cloudflare released Durable Objects at just the right time for us,” says Foucherot. “It is the perfect solution for supporting real-time collaborative use cases.”
Cloudflare Durable Objects are Cloudflare Workers that combine compute with durable storage, streamlining how organizations build and run stateful serverless apps. By allowing teams to avoid a piecemeal approach, Durable Objects fundamentally changes how modern, full-stack applications are developed. Objects are automatically provisioned close to users to minimize latency, and organizations can provision millions of them around the world.