frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Marmot – A distributed SQLite server with MySQL wire compatible interface

https://github.com/maxpert/marmot
40•zX41ZdbW•2h ago

Comments

geenat•1h ago
Oh man, tons of updates including DDL replication! V2 looks very impressive.

Now I'm curious how sharding/routing is handled- which seems like the final piece of the puzzle for scaling writes.

maxpert•53m ago
Right now I've started off with full replication of every database in cluster. On my roadmap I have:

- Ability to launch a replica on selected databases from main cluster.

- Ability for replica to only download and replicate changes of select databases (right now all or nothing).

- Ability for replica to proxy DML & DDL into write cluster transparently.

- Custom set of commands for replicas to download and attach/detach databases on the fly.

This will instantly solve 80% of the problems for most of consumption today. I will probably go after on demand page stream and other stuff once core features are done.

Not to mention this solves majority use-cases of lambdas. One can have a persistent main cluster, and then lambda's coming up or going down on demand transparently.

maxpert•1h ago
Author here! Every time I post my own stuff here it seems to sink, so hopefully this actually reaches some of you.

Marmot started as a sidecar project using triggers and polling to replicate changes over NATS. It worked, but I hit a wall pretty fast. Most people really want full ACID compliance and DDL replication across the cluster. I realized the only clean way to do that was to expose SQLite over a standard protocol.

While projects like rqlite use REST and others go the page-capture route, I decided to implement the MySQL protocol instead. It just makes the most sense for compatibility.

I’ve reached a point where it works with WordPress, which theoretically covers a huge chunk of the web. There are scripts in the repo to deploy a WP cluster running on top of Marmot. Any DB change replicates across the whole cluster, so you can finally scale WordPress out properly.

On the performance side, I’m seeing about 6K-7K inserts per second on my local machine with a 3-node quorum. It supports unix-sockets, and you can even have your processes read the SQLite DB file directly while routing writes through the MySQL interface. This gives you a lot of flexibility for read-heavy apps.

I know the "AI slop" label gets thrown around a lot lately, but I’ve been running this in production consistently. It’s taken a massive amount of manual hours to get the behavior exactly where it needs to be.

oblio•44m ago
Funny, I was just reading about this:

https://github.com/synopse/mORMot2

FreePascal ORM, so in an adjacent space (ORM, can work with both SQLite and MySQL).

I guess DB devs really love marmots? :-))

_a9•32m ago
I used this a while back while running a waybackmachine style site for a large social media platform. I wanted to keep it simple with sqlite but when it got popular it started to become a problem. Marmot was the only thing that I was able to get to work with the amount of data I was pulling in. It would sync the master db from the main archiver server to all the ha servers so the user would be able to access it immediately no matter what ha server they got. The dev team was nice to talk to when I had some issues in setting it up.

It was definitively a weird backend setup I had made but it just worked once set up so I didnt have to touch any of the frontend code.

naveed125•12m ago
That looks pretty cool

Happy Public Domain Day 2026

https://publicdomainreview.org/blog/2026/01/public-domain-day-2026/
135•apetresc•3h ago•14 comments

Why users cannot create Issues directly

https://github.com/ghostty-org/ghostty/issues/3558
101•xpe•3h ago•38 comments

A website to destroy all websites

https://henry.codes/writing/a-website-to-destroy-all-websites/
426•g0xA52A2A•8h ago•246 comments

James Moylan, engineer behind arrow signaling which side to refuel a car, dies

https://fordauthority.com/2025/12/ford-engineer-that-designed-gas-tank-indicator-passes-away/
22•NaOH•6d ago•4 comments

Marmot – A distributed SQLite server with MySQL wire compatible interface

https://github.com/maxpert/marmot
40•zX41ZdbW•2h ago•6 comments

Can Bundler be as fast as uv?

https://tenderlovemaking.com/2025/12/29/can-bundler-be-as-fast-as-uv/
198•ibobev•7h ago•64 comments

Cameras and Lenses (2020)

https://ciechanow.ski/cameras-and-lenses/
385•sebg•11h ago•46 comments

Extensibility: The "100% Lisp" Fallacy

https://kyo.iroiro.party/en/posts/100-percent-lisp/
27•todsacerdoti•3h ago•4 comments

Show HN: Enroll, a tool to reverse-engineer servers into Ansible config mgmt

https://enroll.sh
101•_mig5•1d ago•22 comments

Linux is good now

https://www.pcgamer.com/software/linux/im-brave-enough-to-say-it-linux-is-good-now-and-if-you-wan...
583•Vinnl•8h ago•508 comments

WebAssembly as a Python Extension Platform

https://nullprogram.com/blog/2026/01/01/
60•ArmageddonIt•6h ago•2 comments

Show HN: OpenWorkers – Self-hosted Cloudflare workers in Rust

https://openworkers.com/introducing-openworkers
396•max_lt•13h ago•118 comments

BYD Sells 4.6M Vehicles in 2025, Meets Revised Sales Goal

https://www.bloomberg.com/news/articles/2026-01-01/byd-sells-4-6-million-vehicles-in-2025-meets-r...
208•toomuchtodo•13h ago•323 comments

2025 Letter

https://danwang.co/2025-letter/
287•Amorymeltzer•14h ago•187 comments

Dell's version of the DGX Spark fixes pain points

https://www.jeffgeerling.com/blog/2025/dells-version-dgx-spark-fixes-pain-points
114•thomasjb•9h ago•60 comments

Python numbers every programmer should know

https://mkennedy.codes/posts/python-numbers-every-programmer-should-know/
308•WoodenChair•14h ago•137 comments

Bluetooth Headphone Jacking: A Key to Your Phone [video]

https://media.ccc.de/v/39c3-bluetooth-headphone-jacking-a-key-to-your-phone
447•AndrewDucker•17h ago•166 comments

Finland detains ship and its crew after critical undersea cable damaged

https://www.cnn.com/2025/12/31/europe/finland-estonia-undersea-cable-ship-detained-intl
358•wslh•10h ago•322 comments

50% of U.S. vinyl buyers don't own a record player

https://lightcapai.medium.com/the-great-return-from-digital-abundance-to-analog-meaning-cfda9e428752
149•ResisBey•13h ago•163 comments

Gaming on a Receipt Printer [video]

https://www.youtube.com/watch?v=oEqvYXYI56s
13•zdw•5d ago•1 comments

I was wrong about TypeScript part 1

https://chefama.blog/blog/posts/i-was-wrong-about-typescript-1
20•todsacerdoti•4d ago•4 comments

Quickemu: Quickly create and run optimised Windows, macOS and Linux VMs

https://github.com/quickemu-project/quickemu
131•teekert•2d ago•28 comments

I rebooted my social life

https://takes.jamesomalley.co.uk/p/this-might-be-oversharing
367•edent•17h ago•291 comments

Moving Images Related to the Apollo Missions, 1967–1969

https://catalog.archives.gov/id/133360601
41•handfuloflight•1w ago•5 comments

Straussian Memes

https://www.lesswrong.com/posts/CAwnnKoFdcQucq4hG/straussian-memes-a-lens-on-techniques-for-mass-...
30•kp1197•7h ago•34 comments

C-events, yet another event loop, simpler, smaller, faster, safer

https://zelang-dev.github.io/c-events/
66•thetechstech•6d ago•11 comments

If you care about security you might want to move the iPhone Camera app

https://blog.jgc.org/2025/12/if-you-care-about-security-you-might.html
171•jgrahamc•4d ago•81 comments

All my Deutschlandtickets gone: Fraud at an industrial scale [video]

https://media.ccc.de/v/39c3-all-my-deutschlandtickets-gone-fraud-at-an-industrial-scale
107•Kyro38•4d ago•49 comments

Why Prefer Textfiles? (2010)

http://textfiles.com/uploads/textfiles.txt
21•kmstout•5h ago•22 comments

Building an internal agent: Code-driven vs. LLM-driven workflows

https://lethain.com/agents-coordinators/
57•pavel_lishin•10h ago•26 comments