frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: ReJot – Database replication framework aimed at developers

https://github.com/rejot-dev/rejot
9•WilcoKruijer•1y ago
Hi Hacker News! We're Jan & Wilco from ReJot (https://rejot.dev). With ReJot we're building a framework that turns the write-ahead log of your database into an asynchronous communication channel for your services. ReJot enables application developers to define how the database tables they own should be replicated to other databases. Something we wish we had at in our previous job at a large fintech.

There is a gap between building internal (REST) APIs and Kafka (event streaming) to share data between services.

Internal APIs start to break down when you have more than a couple services communicating. Their synchronous nature makes them brittle in a distributed system: failures cascade and latency adds up. Companies operating internal APIs at scale often face challenges like managing implicit schemas and versioning. They also need to write significant amounts of code to implement features like circuit breakers and internal load balancing.

Event streaming addresses these issues by using asynchronous communication, but it also introduces significant drawbacks. Kafka is known for its operational complexity and high cost. Engineers must manage outbox tables, outbox processors, and consumers, which makes the system more difficult to understand and maintain.

ReJot is the middle ground solution that re-uses a database system's write-ahead log as an asynchronous communication channel. The WAL is well-suited to double as an outbox, this has been proven by CDC systems like Debezium. ReJot is a lightweight addition to existing infrastructure, and even re-uses existing (relational) database systems to store messages (temporarily) before sending them to the destination/sink databases.

We're developer focused, as opposed to being infrastructure focused. Much like how developers define the database table schemas they use, we enable developers to say how their data should be published to others in the distributed system. This is done through something we call "Public Schemas", they consist of a schema and a (SQL) query. When an item in the underlying table changes, the query is executed to produce an object conforming to the schema. This data is then forwarded through ReJot, ready to be consumed by a different service using a "Consumer Schema". This is again a simple (SQL) query that contains an INSERT statement. All of this is defined from within the codebase of the application, much like how ORMs or query builders work.

In short, ReJot re-uses your database in two ways: by consuming the WAL, and also by using queries to encapsulate and integrate data. This makes ReJot a good middle-ground between the brittleness of synchronous communication and the complexity of event streaming.

Excited to hear what you think!

Comments

raoulritter•1y ago
I'm thinking that now with all these agent to agent frameworks this could potentially work for that. If you send off one agent you want them to keep up to date and sync / talk to each-other. Could your solution work for something like A2A by google or similar to enhance the synchronization across the different agents doing their tasks and prevent them from landing in a loop or similar.
WilcoKruijer•1y ago
I'm not too familiar with how people store the state of AI agents, but I do think there's some opportunity to use ReJot for this use case. Hooking up an agent to ReJot and giving them access to all available Public Schemas could be an interesting way of letting an agent explore and use the data in a distributed system.
jasonthorsness•1y ago
If the consumers stall, doesn't the WAL have to grow in unbounded fashion? Does it place any backpressure on the writers?
WilcoKruijer•1y ago
You're right. Since we don't want to put too much pressure on the source database, we do save the (transformed) WAL items in an intermediary database (we call this the event store), so the source can clear its WAL.

This does mean the intermediary database can grow in an unbounded fashion. The use case really determines if this is fine or not. Since our focus right now is on (micro)service communication, we think this is fine in most cases, as the throughput usually is not gigantic.

Since the event store is just a Postgres database, it's easy to set up partitions to only retain data for a certain amount of time. On the near-term roadmap we also have back-fill support which will make it easier to work with shorter retention windows.

Studying AI in the Wild: Reflections from the AI Work Research Group (2025)

https://onlinelibrary.wiley.com/doi/10.1111/joms.70021
1•Tomte•1m ago•0 comments

Hiring game developers Triumph Arcade

https://www.triumphlabs.com/
1•elidenslow•2m ago•1 comments

Cross-Vendor Semantic Void Matrix: Zero-Byte Outputs in GPT/Claude/Gemini/Kimi

https://zenodo.org/records/21696066
1•rayanpal_•5m ago•0 comments

Building an S3 client with 20x more throughput and single core [video]

https://www.youtube.com/watch?v=-p-Xm7VEqSk
1•jorangreef•9m ago•0 comments

YKK Sells 10B Zippers a Year. How Did It Get So Big?

https://www.wsj.com/style/fashion/ykk-sells-10-billion-zippers-a-year-how-did-it-get-so-big-253a24a2
1•hbcondo714•9m ago•0 comments

Show HN: We quantized Qwen3.6-35B-A3B to 2-bit: 12.3 GB, 225 tok/s on a 4090

https://huggingface.co/EschaLabs/Qwen3.6-35B-A3B-Escha-W2
1•yzh•12m ago•1 comments

2.75-FUNdaMENTALs of Design(a.k.a. Precision Engineering Basics) by Alex Slocum [video]

https://www.youtube.com/watch?v=wgMq7yha9wU&list=PLksE8LDXGXl_MQHKr2DqhfDC64W7QHjxL
1•pillars•13m ago•0 comments

React's Programming Model, Compiled

https://octanejs.dev
1•acmnrs•14m ago•0 comments

New MCP Protocol: Bringing MCP 2026-07-28 to Claude

https://claude.com/blog/bringing-mcp-2026-07-28-to-claude
2•BearBest•15m ago•0 comments

The Strain in Your Brain

https://anirudh.fi/strain
1•signa11•16m ago•0 comments

Ask HN: Is Reddit trying to kill old Reddit?

3•lostaccount•21m ago•2 comments

Hollywood Stopped Making Movies in Hollywood

https://www.statsignificant.com/p/how-hollywood-stopped-making-movies
1•gmays•26m ago•0 comments

'Odyssey' translator Emily Wilson: Nolan shouldn't have written movie himself

https://www.npr.org/2026/07/29/nx-s1-5910645/odyssey-translator-emily-wilson-christopher-nolan
3•aanet•27m ago•1 comments

Show HN: Alarium – a live 3D flight tracker built on community ADS-B

https://www.alarium.tech
1•brandonponce•28m ago•0 comments

After rewriting SQLite in Rust, Turso turns its sights on Postgres

https://www.theregister.com/databases/2026/07/29/after-rewriting-sqlite-in-rust-turso-turns-its-s...
5•theanonymousone•31m ago•0 comments

Kirin XE90 and X90 Plus mark Huawei's first PC processors despite sanctions

https://www.notebookcheck.net/Kirin-XE90-and-X90-Plus-mark-Huawei-s-first-public-unveiling-of-PC-...
2•yogthos•33m ago•0 comments

Lose an engine at V1, Falcon 10x holds power on the good side [pdf]

https://www.dassault-aviation.com/wp-content/blogs.dir/1/files/2026/06/Falcon-10X-backgrounder-in...
1•r2sk5t•34m ago•1 comments

APFS is case-insensitive by default

https://swild.dev/dev/apfs-case-insensitive/
2•wslh•35m ago•1 comments

Show HN: a Rust coding agent that is compatible with Claude Code plugins/skills

https://github.com/KonghaYao/peri
2•sowild_fun•36m ago•1 comments

US Considers Creating Finra-Like Watchdog to Vet Top AI Models

https://www.bloomberg.com/news/articles/2026-07-17/us-considers-creating-finra-like-watchdog-to-v...
2•achow•37m ago•1 comments

Musk's X says Australia social media ban crackdown undermines international law

https://www.reuters.com/legal/government/musks-x-says-australia-social-media-ban-crackdown-underm...
2•1vuio0pswjnm7•39m ago•1 comments

Cocoa prices are easing. So why is chocolate still so expensive?

https://www.cnbc.com/2026/07/26/cocoa-prices-chocolate-lindt-barry-callebaut-nestle.html
2•walterbell•39m ago•1 comments

Closed models refuse to help researcher swat Linux bug

https://www.theregister.com/ai-and-ml/2026/07/29/closed-models-refuse-to-help-researcher-swat-lin...
1•justworks•40m ago•0 comments

NSF pilots 4-year PhDs with industry research placements

https://www.nsf.gov/news/nsf-partners-universities-industry-pilot-initiative-four
31•osnium123•42m ago•6 comments

AI Facebook Ads Creator: Create High-Converting Video Ads

https://textideo.com/use-cases/facebook-ad-video-generator
1•cloaud•43m ago•0 comments

Things You Never Hear

1•mr-pink•44m ago•0 comments

Show HN: Numbat – Agent Runtime Detection and Response

https://github.com/perplexityai/numbat
1•kpollls•45m ago•0 comments

Roundup of August 2026 Bootstrapper Events

https://bootstrappersbreakfast.com/2026/07/28/roundup-of-august-2026-bootstrapper-events/
1•skmurphy•53m ago•1 comments

Scientists find a simple way to stop cavities without drilling

https://www.sciencedaily.com/releases/2026/07/260729010719.htm
4•ninjahawk1•55m ago•0 comments

Kuna: Decompiler Development in the Age of Coding Agents

https://noelo.org/blog/kuna-release/
6•matt_d•56m ago•0 comments