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
32•zX41ZdbW•2h ago

Comments

geenat•39m 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•21m 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•34m 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•12m 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? :-))

'College dropout' has become the most coveted startup founder credential

https://techcrunch.com/2025/12/31/college-dropout-has-become-the-most-coveted-startup-founder-cre...
1•wahvinci•19s ago•0 comments

Show HN: Chimera Studio – A browser-based AI asset pipeline

https://chimera.qq-pwn.com/
1•qq-niklas•49s ago•0 comments

How to use AI to augment learning without losing critical thinking skills?

2•mintsuku•9m ago•0 comments

A rare cancer-fighting plant compound has been decoded

https://www.sciencedaily.com/releases/2025/12/251227082728.htm
1•ashishgupta2209•9m ago•0 comments

OpenAI faces a make-or-break year in 2026

https://www.economist.com/business/2025/12/29/openai-faces-a-make-or-break-year-in-2026
1•Austin_Conlon•10m ago•0 comments

AB316: No AI Scapegoating Allowed

https://shub.club/writings/2026/january/ab316/
1•forthwall•10m ago•0 comments

Proteus: The AI-native editor for multimodal creation

https://github.com/gezilinll/Proteus
1•gezilinll•14m ago•1 comments

Scientists Found a 'Yellow Brick Road' at the Bottom of the Ocean

https://www.sciencealert.com/scientists-found-a-yellow-brick-road-at-the-bottom-of-the-ocean
1•ranit•16m ago•0 comments

Xleak: Rust utility brings Excel spreadsheets to your command line

https://github.com/bgreenwell/xleak
1•quantummagic•20m ago•0 comments

My one-liner Linux Dropbox client

https://lpan.io/one-liner-dropbox-client/
1•keepamovin•21m ago•1 comments

Agloe, New York

https://en.wikipedia.org/wiki/Agloe,_New_York
1•thunderbong•24m ago•0 comments

Show HN: LeaveNote – A privacy-focused instant messaging QR code application

https://www.leavenote.me/
1•noteable•26m ago•0 comments

Coco: A simple stackless, single-threaded, and header-only C++20 coroutine lib

http://luajit.io:80/posts/coco-cpp20-coroutine/
1•kingluo•30m ago•0 comments

DHH is immortal, and costs $200M

https://danieltenner.com/dhh-is-immortal-and-costs-200-m/
4•walterbell•33m ago•1 comments

You Have Only X Years to Escape Permanent Moon Ownership

https://www.astralcodexten.com/p/you-have-only-x-years-to-escape-permanent
2•chhxdjsj•34m ago•0 comments

Threat of California Billionaire Tax Draws Criticism from Ultrawealthy

https://www.wsj.com/us-news/law/bill-ackman-billionaire-wealth-tax-66fd6130
2•monero-xmr•37m ago•0 comments

Col. Jacques Baud (ret) explains being sanctioned by the EU

https://www.youtube.com/watch?v=VwNH3FLeZLA
2•SanjayMehta•41m ago•0 comments

China taxes condoms, contraceptive drugs in bid to spur birth rate

https://www.reuters.com/business/healthcare-pharmaceuticals/china-taxes-condoms-contraceptive-dru...
5•DustinEchoes•42m ago•0 comments

Gas Town – Multi Agent Workspace Manager

https://github.com/steveyegge/gastown
2•sawirricardo•44m ago•1 comments

Show HN: Mini Apps Builder – a no-code way to build Telegram mini apps

https://miniappsbuilder.com/
3•Anton_Ingachev•51m ago•2 comments

Is Next Year 2027?

https://www.google.com/search?q=Is+next+year+2027%3F&sca_esv=5ee91fe61c00ad93&sxsrf=AE3TifPUb5DSj...
3•CodeCrusader•52m ago•0 comments

Australia Enforces Age ID Checks for Search Engine Users

https://reclaimthenet.org/australia-enforces-age-id-checks-for-search-engine-users
8•turrini•52m ago•2 comments

Open Source JavaScript Choplifter / Defender

https://raould.github.io/sheepgate/
2•cypherpunk666•52m ago•1 comments

What Is Plus Times Plus? (Lambda Calculus Visually) [video]

https://www.youtube.com/watch?v=RcVA8Nj6HEo
4•rramadass•1h ago•0 comments

The US's 2k-year-old mystery mounds

https://www.bbc.com/travel/article/20221204-the-us-2000-year-old-mystery-mounds
2•1659447091•1h ago•0 comments

The Monty Hall Problem, a side-by-side simulation

https://www.pcloadletter.dev/blog/monty/
4•ronbenton•1h ago•1 comments

The State of Agentic iOS Engineering in 2026

https://dimillian.medium.com/the-state-of-agentic-ios-engineering-in-2026-c5f0cbaa7b34
2•Anon84•1h ago•2 comments

On biological & artificial consciousness: A case for biological computationalism

https://www.sciencedirect.com/science/article/pii/S0149763425005251
6•bookofjoe•1h ago•0 comments

Show HN: Sentinel Shield – Pure C DMZ for AI Security (23K LOC, <1ms latency)

3•Chgdz•1h ago•1 comments

Ask HN: Favorite Articles in the ACM Digital Library

3•lioeters•1h ago•2 comments