Zero Sync
UnclaimedBuild absurdly fast web applications with instant queries and reactive UI by default.
Visit WebsiteFreemiumVisit Website
TL;DR - Zero Sync
- Enables instant UI for web applications through client-side data syncing.
- Works with existing Postgres databases and provides reactive data updates.
- Offers both self-hosting and managed service options, including a free tier.
Pricing: Free plan available
Best for: Growing teams
Pros & Cons
Pros
- Significantly improves web application performance and user experience.
- Simplifies data synchronization and state management for developers.
- Provides full control over business logic and permissions on the server.
- Open-source and self-hostable for flexibility.
- Compatible with existing Postgres setups.
Cons
- Requires a Postgres database.
- Managed service pricing can increase with additional storage and vCPUs.
- Limited privileges for Rocicorp in BYOC model.
Preview
Key Features
Instant Reads (client-first queries)Instant Writes (client-first mutations with automatic revert handling)Automatic Reactivity (updates when server data changes, even from non-Zero clients)Fast Startup (query-driven sync for precise data loading)Server Authority (all reads/writes flow through your server for control)Easy Integration (works with normal Postgres databases, schemas, APIs)ZQL streaming query engine
Pricing Plans
Open-source
Free
- Fully self-hostable
Hobby
$30/mo
- 10 GB storage
- 3 shared vCPU
- Support via public Discord
- Additional storage: $0.20/GB
- Dedicated vCPU: $50 each
Professional
$300/mo
- 100 GB storage
- 6 dedicated vCPU
- Shared Slack channel
- Additional storage: $0.20/GB
- Additional vCPU: $50
BYOC
$1000/mo + AWS
- Runs in your AWS account
- Data stays in your AWS account
- Rocicorp has limited privileges
- AWS infra billed to your account
- Shared Slack channel
- Includes 10 vCPU
- Additional vCPU: $20
What is Zero Sync?
Zero is a software solution designed to enable developers to build web applications with instant user interfaces by leveraging a sync-based architecture. It addresses the challenges of traditional sync engines, which struggle with large datasets and complex permissions, by providing a general solution for syncing only the necessary data.
The product consists of two main components: zero-client and zero-cache. Zero-cache maintains a read-only replica of your Postgres database in the cloud, while zero-client creates a local store of recently used rows within your application. Queries are first executed against this client-side store for instant results, and then asynchronously sent to the server for authoritative data. Server results are subsequently cached client-side, ensuring future queries are also instant. This approach, powered by a new streaming query engine called ZQL, allows for precise control over data syncing, leading to fast startup times and highly reactive user experiences. It's ideal for developers looking to create highly performant web applications that feel instantaneous to the end-user, without the complexities of manual state management or real-time infrastructure.
Reviews
Be the first to review Zero Sync
Your take helps the next buyer. Verified LinkedIn reviewers get a badge.
Write a reviewExplore More
Zero Sync FAQ
How does Zero achieve instant query responses and writes?
Zero achieves instant responses by running queries against a client-side store of recently used rows first, returning matching local data immediately. For writes, mutations are also client-first, instantly updating all open queries, with edge cases like reverts handled automatically.
What is the role of ZQL in Zero's architecture?
ZQL is a new streaming query engine specifically built for Zero. It enables the efficient incremental execution of complex queries, allowing Zero to sync precisely the data needed, when it's needed, for instant UI without preloading all data.
How does Zero handle data synchronization and reactivity when changes occur on the server?
Zero automatically updates affected queries when data changes on the server, even if those changes originate from non-Zero clients. This ensures all queries are reactive and reflect the most current server data.
What are the deployment options for Zero, beyond self-hosting the open-source version?
Beyond being open-source and self-hostable, Zero offers a fully-managed service. This service can run either on Rocicorp's servers (Traditional SaaS) or within your own AWS account (Bring Your Own Cloud).
Can Zero integrate with existing Postgres databases and schemas?
Yes, Zero is designed for easy integration. It works seamlessly with normal Postgres databases, utilizing standard Postgres schemas, and is compatible with existing APIs and libraries.
What is the 'Gigabugs' demo and what does it showcase about Zero's performance?
The 'Gigabugs' demo is a 1.2 million row bug tracker that demonstrates Zero's performance capabilities. It showcases instant interactions and loads in less than 2 seconds, despite the large dataset.
Source: zero.rocicorp.dev