All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Marmot v2: A Distributed SQLite Replication System with MySQL Wire Compatibility

By

zX41ZdbW

5mo ago· 17 min readenCode

Summary

Marmot v2 is a leaderless, distributed SQLite replication system that uses a gossip-based protocol with distributed transactions and eventual consistency. It provides a MySQL wire-compatible interface, making it easier to deploy than traditional MySQL active-active replication setups. The system is designed for read-heavy edge scenarios where traditional database replication is too complex, addressing issues like manual failover intervention, split-brain scenarios, and scalability challenges in edge deployments.

Key quotes

· 4 pulled
Marmot v2 is a leaderless, distributed SQLite replication system built on a gossip-based protocol with distributed transactions and eventual consistency.
MySQL active-active requires careful setup of replication, conflict avoidance, and monitoring. Failover needs manual intervention. Split-brain scenarios demand operational expertise.
Marmot excels at read-heavy edge scenarios.
The Problem with Traditional Replication: This complexity doesn't scale to edge deployments.
Snippet from the RSS feed
A distributed SQLite server with MySQL wire compatible interface - maxpert/marmot

You might also wanna read