frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: ReJot – Database replication framework aimed at developers

https://github.com/rejot-dev/rejot
9•WilcoKruijer•11mo 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•11mo 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•11mo 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•11mo ago
If the consumers stall, doesn't the WAL have to grow in unbounded fashion? Does it place any backpressure on the writers?
WilcoKruijer•11mo 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.

Where Are the Customers' Bots?

https://www.thedrawingboard.net/where-are-the-customers-bots/
1•mooreds•1m ago•0 comments

Another Demo from Boston Dynamics

https://spectrum.ieee.org/boston-dynamics-spot-google-deepmind
1•marc__1•1m ago•0 comments

Germany's Black Forest faces a future of transformation

https://longreads.com/2026/03/12/into-the-darkness/
1•mooreds•2m ago•0 comments

Donut Lab's battery claims reportedly subject of whistleblower complaint

https://www.engadget.com/transportation/donut-labs-battery-claims-reportedly-subject-of-whistlebl...
1•WarmWash•2m ago•0 comments

Lil: A Scripting Language

https://beyondloom.com/decker/lil.html
1•tosh•2m ago•0 comments

Running Qwen 3.6 35B-A3B-4B on MacBook Pro M5 64GB with tools

https://www.youtube.com/watch?v=gJlVjR3G25c
1•elvean•3m ago•0 comments

A New Verdict Rewrites the Rules of Corporate Morality

https://www.nytimes.com/2026/04/17/opinion/lafarge-corporate-terrorism-syria-france.html
1•shrubby•4m ago•0 comments

Notes from the SF Peptide Scene

https://12gramsofcarbon.com/p/notes-from-the-sf-peptide-scene
1•theahura•6m ago•0 comments

Best: "Show HN: Synod–Python tool to use generic BLE wearables as PC macro decks

https://github.com/Abrish-Yir/synod
1•vexki•7m ago•1 comments

The neuroscience of visualization: why it works (but not how you think)

https://twitter.com/jaynitx/status/2045486658938888598
2•gmays•7m ago•0 comments

Generating random numbers using C++ standard library: the problems

https://codingnest.com/generating-random-numbers-using-c-standard-library-the-problems/
1•fanf2•7m ago•0 comments

Who will be the senior engineers of 2035?

https://theengineeringmanager.substack.com/p/who-will-be-the-senior-engineers
1•baranul•9m ago•0 comments

Is BQN Mathematics?

https://mlochbaum.github.io/BQN/commentary/math.html
2•tosh•9m ago•1 comments

Runners vs. robots at China half marathon

https://www.bbc.co.uk/news/videos/cz0e54yrppno
1•mmarian•13m ago•0 comments

Ask HN: How do you share so manny Photos after Trip?

1•gray_wolf_99•13m ago•0 comments

When the cost of verification exceeds the cost of trust

https://twitter.com/shanaka86/status/2045872866944848108
1•toss1•13m ago•0 comments

When moving fast, talking is the first thing to break

https://daverupert.com/2026/04/more-talk-less-grok/
2•Brajeshwar•15m ago•0 comments

Five-year review of BQN design

https://mlochbaum.github.io/BQN/commentary/fiveyears.html
1•tosh•18m ago•0 comments

You Can't Game Your Way to a Real Education

https://www.nytimes.com/2026/04/19/opinion/schools-edtech-laptops-games-learning.html
1•7402•18m ago•0 comments

Hyrum's Law: The hunt for a faster syscall trap (2004)

https://devblogs.microsoft.com/oldnewthing/20041215-00/?p=37003
1•signa11•19m ago•0 comments

Clearwing: Produce similar results as Anthropic Glasswing (Mythos)

https://github.com/Lazarus-AI/clearwing
1•ninjagoo•20m ago•1 comments

Knime will undergo enshittification in 2026

https://forum.knime.com/t/batch-execution-no-longer-supported/91773?page=3
1•nijuashi•21m ago•2 comments

In Telluride, regulations designed to help renters drive many out of town

https://coloradosun.com/2026/04/19/telluride-rent-regulations-renters-affordability-shandoka-sunn...
1•mooreds•23m ago•0 comments

How to Make a Lichtenberg Machine from Your Microwave: A Step-by-Step Guide

https://kitchenpearls.com/how-to-make-a-lichtenberg-machine-from-microwave/
1•thunderbong•24m ago•0 comments

Passkeys, Explained for a Developer

https://gist.github.com/david-crespo/0a4e5fcf8cd95d02e2673bcfff25cae4
2•mooreds•24m ago•1 comments

The Future of Petrochemicals Towards a more sustainable chemical industry (2018)

https://www.iea.org/reports/the-future-of-petrochemicals
1•wallflower•24m ago•1 comments

Matt Mullenweg Overrules Core Committers; Puts Akismet on WP 7's Connector List

https://www.therepository.email/matt-mullenweg-overrules-core-committers-to-put-akismet-on-wordpr...
2•mooreds•25m ago•0 comments

Why AI Needs a Sense of Smell

https://www.noemamag.com/why-ai-needs-a-sense-of-smell/
2•andrewl•28m ago•0 comments

Hello old new "Projects" directory

https://blog.tenstral.net/2026/04/hello-projects-directory.html
1•birdculture•29m ago•0 comments

Contracted ARR Considered Harmful

https://arnon.dk/contracted-arr-considered-harmful/
2•arnon•29m ago•0 comments