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.

A Martian rock has lots of carbon on it, and it's not clear why

https://arstechnica.com/science/2026/07/a-martian-rock-has-lots-of-carbon-on-it-and-its-not-clear...
2•Brajeshwar•37s ago•0 comments

Warner bill would create federally vetted list for secure, trustworthy AI agents

https://cyberscoop.com/ai-agent-act-senate-draft-bill-mark-warner/
2•softwaredoug•39s ago•0 comments

One engine, many tools – Introducing Rubydex

https://railsatscale.com/2026-05-12-one-engine-many-tools/
1•frou_dh•4m ago•0 comments

Fake AI Agent Skill Slipped Past Every Scanner

https://www.csoonline.com/article/4188840/how-a-malicious-ai-agent-skill-passed-security-checks-a...
1•shivamthange•5m ago•0 comments

Thinking about buying a Prusa 3D printer?

https://bambu3design.com/prusa-summer-sale-2026-mk4s-gets-up-to-20-off-core-one-shipping-discount/
1•ehsanamel•5m ago•0 comments

Write Code, Not Specs

https://softwaredoug.com/blog/2026/07/04/write-code-not-specs
1•softwaredoug•6m ago•0 comments

BitTorrent's disastrous, legendary, and controversial story

https://www.theverge.com/tech/959848/bittorrent-story-25-years-piracy
1•blakesterz•8m ago•1 comments

Cultural effects of the Western African Ebola virus epidemic

https://en.wikipedia.org/wiki/Cultural_effects_of_the_Western_African_Ebola_virus_epidemic
1•YeGoblynQueenne•9m ago•0 comments

Show HN: Quick and dirty inter-agent collaboration

https://github.com/ovidiuiliescu/simpleagentchat
1•ovvyblabla•10m ago•0 comments

'clustered index penalty' on all non-clustered indexes

https://use-the-index-luke.com/blog/2014-01/unreasonable-defaults-primary-key-clustering-key
1•tosh•11m ago•0 comments

How the Biosphere 2 experiment changed our understanding of the Earth (2025)

https://www.bbc.com/future/article/20250703-how-the-biosphere-2-experiment-changed-our-understand...
2•taubek•11m ago•0 comments

Ask HN: What are you working on? (July 2026)

1•vinhnx•12m ago•0 comments

Cosmos DB

https://en.wikipedia.org/wiki/Cosmos_DB
1•tosh•16m ago•0 comments

Show HN: Language Learning Roguelike Game

https://language.aitida.com
1•howthisends•20m ago•0 comments

Fable5-world-demo: 3D world built by Claude Fable 5 using Three.js

https://github.com/Braffolk/fable5-world-demo
2•Garbage•22m ago•0 comments

Nearly a Million Investors Lost a Total of $3.8B on Trump Crypto Coin

https://www.nytimes.com/2026/07/04/us/politics/nearly-a-million-investors-lost-a-total-of-3-8-bil...
2•_tk_•23m ago•1 comments

The Purgatory Job Market of 2026

https://www.nytimes.com/2026/07/04/opinion/purgatory-job-market.html
1•littlexsparkee•23m ago•0 comments

Show HN: Mycelium – AI agent plugin guiding you from purpose to market

https://github.com/haabe/mycelium
1•haabe•25m ago•0 comments

Intelligence Agencies, a Fight over Building a Master List of Spies

https://www.nytimes.com/2026/06/29/us/trump-intelligence-agencies-spies-master-list.html
1•JumpCrisscross•31m ago•0 comments

Division Polynomials of Elliptic Curves in Python

https://leetarxiv.substack.com/p/division-polynomials-of-elliptic
1•thunderbong•31m ago•0 comments

AI-powered mass emails are warping local politics

https://www.msn.com/en-us/news/technology/ai-powered-mass-emails-are-warping-local-energy-climate...
3•rwmj•33m ago•0 comments

AI search could kill the web without new quality signals and revenue models

https://theguptalog.blogspot.com/2026/07/ai-search-could-kill-web-without-new.html
1•bhartipoddar•37m ago•0 comments

The Graduate-School Dropout Toppling a Country's Academic Stars

https://www.wsj.com/science/the-graduate-school-dropout-toppling-chinas-academic-stars-3c1e5d86
2•ilamont•38m ago•1 comments

Hyperia 0.15.20 released: Terminals for Agents and Humans

https://github.com/DeepBlueDynamics/hyperia/releases
1•kordlessagain•38m ago•1 comments

More than 425,000 children in ICE immigration courts are representing themselves

https://www.independent.co.uk/news/world/americas/us-politics/ice-immigration-court-children-lawy...
2•dataflow•39m ago•0 comments

Flexible Metaprogramming with Rhombus

https://lwn.net/Articles/1079001/
8•leephillips•40m ago•0 comments

AI code reviewer with senior-level judgment and strict rubric

https://github.com/aisona-lab/lazycoder
1•aisonalab•41m ago•0 comments

How to Read Postgres Explain: A Guide to Scan Types

https://www.crunchydata.com/blog/postgres-scan-types-in-explain-plans
1•winslett•43m ago•0 comments

The cancer Alzheimer's disease paradox

https://www.nature.com/articles/s41514-026-00442-1
3•bookofjoe•45m ago•0 comments

The Dark Forest Applied to AI

https://github.com/thansz137/asiyah-protocol/blob/main/essays/dark_forest_of_minds.md
2•thansz•47m ago•0 comments