rocicorp/mono

99% of Queries in Zero Milliseconds

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on September 20th, 2026
Created on February 9th, 2023
Open Issues & Pull Requests: 232 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 163
Total Stargazers: 3,390 (+0)
Total Subscribers: 16 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

Rocicorp Mono is a monorepo containing the source code for Zero and Replicache, two client-server synchronization libraries for web applications.

Zero addresses the problem of slow database queries by implementing incremental view maintenance on the server side, paired with a client library that caches query results locally. The approach uses an IVM engine and custom query language to compute only the changes needed when data updates, enabling the system to serve cached results with minimal latency. Replicache, the underlying technology, handles bidirectional synchronization between client and server, allowing applications to work offline and sync changes when connectivity returns.

Zero suits applications that prioritize responsiveness and need to serve frequently-accessed queries with near-instant results, particularly those with complex data dependencies where incremental updates matter. Replicache is appropriate for any web application requiring robust offline support and conflict-free synchronization. The monorepo structure keeps both products together while maintaining separate documentation sites and package boundaries, allowing developers to adopt either tool independently or use them in combination.

The project maintains active development across multiple packages with clear separation of concerns: the Zero client library, server-side cache implementation, and the IVM query engine are all actively worked on. Documentation is prioritized as a separate concern, with Zero docs in a dedicated repository while Replicache docs remain in the main monorepo. The team includes a reference implementation in the form of a bug tracker application built with these tools, demonstrating real-world usage patterns.