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.

Atlassian "Data Contribution"

1•yells_jovially•24s ago•0 comments

Claude Code v2.1.172: Sub-Agents Can Now Spawn Sub-Agents

https://byteiota.com/claude-code-v2-1-172-sub-agents-can-now-spawn-sub-agents/
1•sscaryterry•4m ago•0 comments

Show HN: ScreenMind – grep for your visual memory, 100% on-device

https://github.com/ayushh0110/ScreenMind
4•skye0110•8m ago•0 comments

What Every Productivity App Trades Away [video]

https://www.youtube.com/watch?v=OuEKdD_1F8s
1•zdw•9m ago•0 comments

The Economics Behind the Spurs

https://bycig.substack.com/p/the-economics-behind-the-spurs
1•paulpauper•13m ago•0 comments

Has AI Killed How-To Nonfiction?

https://tim.blog/2026/06/12/has-ai-already-killed-nonfiction/
1•paulpauper•14m ago•0 comments

Sometimes it is hard to solve for the equilibrium

https://marginalrevolution.com/marginalrevolution/2026/06/sometimes-it-is-hard-to-solve-for-the-e...
1•paulpauper•14m ago•0 comments

'The traveler' book review: An enlightening voyage

https://www.wsj.com/arts-culture/books/the-traveler-review-an-enlightening-voyage-e9754ecb
1•hhs•16m ago•0 comments

Coronavirus and Credibility (2020)

https://paulgraham.com/cred.html
1•downbad_•16m ago•0 comments

White House's export limits on Anthropic linked to concerns about Chinese access

https://www.semafor.com/article/06/13/2026/white-house-move-to-limit-anthropic-linked-to-concerns...
3•shscs911•22m ago•0 comments

Getting Creative with Perlin Noise Fields

https://sighack.com/post/getting-creative-with-perlin-noise-fields
2•0x000xca0xfe•26m ago•0 comments

Ancient genome duplications laid the foundations of complex brains

https://www.ox.ac.uk/news/2026-06-09-ancient-genome-duplications-laid-the-foundations-of-complex-...
1•hhs•27m ago•0 comments

The 27 Platform Releases – June 2026

https://developer.apple.com/documentation/Updates
1•Austin_Conlon•27m ago•0 comments

Four by Three

https://www.hankgreen.com/fourbythree
1•_tk_•31m ago•0 comments

New research reveals how brains update their predictions

https://source.washu.edu/2026/06/new-research-reveals-how-brains-update-their-predictions/
1•hhs•32m ago•0 comments

LazyOwn RedTeam Framework

https://github.com/grisuno/LazyOwn
1•grisun0•35m ago•1 comments

Derbyshire Police officer accused of using AI to 'create evidence'

https://www.bbc.com/news/articles/cy8wppwdxl6o
12•healsdata•38m ago•1 comments

Hans Schulz – The father of the VEF Minox lens?

https://moments-of-now.com/hans-schulz-the-father-of-the-vef-minox-riga-lens/
1•throwaway81523•38m ago•0 comments

Wirth's Law

https://en.wikipedia.org/wiki/Wirth%27s_law
1•RinTohsaka•46m ago•0 comments

Designing Software for Software Factories

https://blog.sshh.io/p/designing-software-for-software-factories
1•sshh12•47m ago•0 comments

The Ruby JRuby Was Built to Run

https://intertwingly.net/blog/2026/06/11/The-Ruby-JRuby-Was-Built-to-Run.html
1•mooreds•50m ago•0 comments

Rails: The Sharp Parts. Lock Is Not a Mutex

https://baweaver.com/writing/2026/06/05/rails-sharp-parts-lock-is-not-a-mutex/
1•mooreds•50m ago•0 comments

Timeline of HN

https://news.ycombinator.com/threads?id=ChrisArchitect
5•razor-thin•51m ago•0 comments

LLM Token Price Index

https://tokenpriceindex.com
2•zurtri•53m ago•1 comments

Building a Functional Lego Typewriter [video]

https://www.youtube.com/watch?v=ZIWTSkCVxjk
1•vinnyglennon•53m ago•0 comments

Battery recycling boom exposes schoolchildren to lead

https://www.ft.com/content/19beeed4-8c99-4de3-a163-9301210634ad
1•petethomas•55m ago•0 comments

VTubeMe

https://vtubeme.com
1•alekcac•57m ago•1 comments

Show HN: Pebble, an open-source alternative to Minecraft: Java Edition

https://github.com/thebriangao/pebble
1•briangao•59m ago•1 comments

Is the Twenty-First Century a Creative Void?

https://yalereview.org/article/audrey-wollen-david-marx-blank-space
1•tintinnabula•1h ago•0 comments

Show HN: How to prevent spam and disposable signups

https://emailverify.se/
1•the_plug•1h ago•1 comments