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.

Are Kalshi MLB Game Winner Prices Accurate?

https://www.zhinit.dev/blog/mlb_game_winners_analysis
1•zhinit•27s ago•0 comments

The 10x Engineer Fallacy

1•shuntz•31s ago•0 comments

ACR, a local-first AI orchestration runtime (memory, skills, agents

https://github.com/hbkdad/arc
1•hbkcustoms•50s ago•0 comments

AI writes code that breaks main half as often

https://mergify.com/reports/state-of-merge-queues-2026
1•guerby•1m ago•0 comments

J-Lens for video models: uncovering steerable physical dynamics

https://blocket-league.vercel.app/
1•_jayhack_•1m ago•0 comments

A detailed air alert map of Ukraine and Russia, built on Cloudflare's free tier

https://uavradar.live/
1•uavattacks•2m ago•0 comments

Cesium DevCon 2026 talks are up, including a keynote from SQLite's creator

https://cesium.com/events/cesium-developer-conference/2026/
2•jasteinerman•3m ago•0 comments

Why is ripgrep is soooooo much slower on macOS than Linux these days?

https://twitter.com/burntsushi5/status/2082472421542547803
1•tosh•3m ago•0 comments

Irish singer-songwriter Glen Hansard has died

https://www.nytimes.com/2026/07/29/obituaries/glen-hansard-dead.html
1•gbourne1•4m ago•1 comments

Yemen's Houthis considering fees for ships sailing through Red Sea

https://www.reuters.com/world/middle-east/yemens-houthis-considering-fees-ships-sailing-through-r...
3•JumpCrisscross•6m ago•0 comments

Can Grafana Labs' web testing agents beat Wordle? [video]

https://www.youtube.com/watch?v=b9pyngw64DE
3•matryer•6m ago•0 comments

Show HN: Save HN comments for later, annotate and tag them

https://github.com/overflowy/hn-comment-saver
1•overflowy•6m ago•0 comments

Papers with open peer-review reports are less likely to be retracted

https://www.nature.com/articles/d41586-026-02282-1
1•Brajeshwar•8m ago•0 comments

A Wildfire GIS Blog

https://the-lookout.org/
1•silver92bullet•8m ago•1 comments

Show HN: I built an MCP server for working with SEO and Search Console data

https://seomcp.co
1•criexe•9m ago•0 comments

Belkin killed my smart switch. I got it working again without their app

3•gaborme•11m ago•0 comments

Show HN: Open-source engine running Gemma 4 26B in 2 GB RAM on any M-series Mac

https://github.com/drumih/turbo-fieldfare
7•gitpusher42•11m ago•0 comments

Ask HN: Do you think Opus 5 will improve?

3•logicallee•12m ago•0 comments

Comprehensive Python Cheatsheet [pdf]

https://github.com/user-attachments/files/30510226/Comprehensive.Python.Cheatsheet.optimized.for....
2•zombiemama•13m ago•0 comments

Rust and Boll

https://asteriskmag.com/issues/15/rust-and-boll
2•surprisetalk•14m ago•0 comments

Hugging Face: Anatomy of a frontier-lab agent intrusion

https://huggingface-anatomy-of-frontier-lab-model-intrusion.static.hf.space/index.html
3•dn2k•15m ago•0 comments

Iran to get Chinese shoulder-launched missile systems in weeks

https://www.reuters.com/world/china/iran-get-chinese-shoulder-launched-missile-systems-weeks-sour...
9•johnbarron•15m ago•0 comments

The age of token efficiency, the age of libraries

https://golemui.com/blog/the-age-of-token-efficiency/
2•franciscop•15m ago•0 comments

The Art of PostgreSQL

https://theartofpostgresql.com
2•lemonberry•15m ago•0 comments

Ask HN: Im 18 building AI proposal SaaS for agency what are best ways to market

2•sahil423•15m ago•0 comments

Pangram 4

https://www.pangram.com/blog/introducing-pangram-4
3•nsagent•16m ago•0 comments

How Standup Is Similar to Gothic Architecture

https://psychotechnology.substack.com/p/how-standup-is-similar-to-gothic
2•eatitraw•16m ago•0 comments

Sparse Attention with Persistent State Machines – High‑Sparsity LLM Accelerator

https://zenodo.org/records/21679919
2•yusuke_esaka•18m ago•0 comments

PostgreSQL's MVCC is bad. So is everyone else's

https://boringsql.com/posts/mvcc-bad-bad/
3•masklinn•18m ago•0 comments

Know Your Feedback Loop

https://unstack.io/know-your-feedback-loop
2•ScottWRobinson•19m ago•0 comments