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•4mo 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•4mo 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•4mo 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•4mo ago
If the consumers stall, doesn't the WAL have to grow in unbounded fashion? Does it place any backpressure on the writers?
WilcoKruijer•4mo 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 better future for JavaScript that won't happen

https://drewdevault.com/2025/09/17/2025-09-17-An-impossible-future-for-JS.html
1•warrenm•44s ago•0 comments

Introducing Replicate's new search API to find the best models

https://replicate.com/blog/new-search-api
1•johnsillings•45s ago•0 comments

Gen Z protestors chose Nepal's first woman prime minister on Discord

https://www.independent.co.uk/asia/south-asia/nepal-sushila-karki-new-prime-minister-discord-prot...
1•shrubby•52s ago•1 comments

1•shuweiwang•1m ago

Using consulting to build a successful product

https://www.nango.dev/blog/using-consulting-to-build-a-successful-product
1•bastienbeurier•1m ago•0 comments

Against Interpretation

https://en.wikipedia.org/wiki/Against_Interpretation
1•adityaathalye•1m ago•1 comments

Getting free access to Poke's AI agent

https://handyai.substack.com/p/getting-free-access-to-pokes-ai-agent
1•surprisetalk•1m ago•0 comments

Open source synthesis best FPGA vendor tools

https://www.zeroasic.com/blog
1•adapteva•1m ago•0 comments

How Well Do New Python Type Checkers Conform?

https://sinon.github.io/future-python-type-checkers/
1•rbanffy•3m ago•0 comments

UK National Charged in Cyber Attacks, Including on Critical Infrastructure

https://www.justice.gov/opa/pr/united-kingdom-national-charged-connection-multiple-cyber-attacks-...
1•impish9208•4m ago•0 comments

Nepal Gen-Z Revolution

https://www.theguardian.com/world/2025/sep/10/nepal-gen-z-protests-corruption
2•shrubby•5m ago•0 comments

iOS 26's Liquid Glass Design Draws Criticism from Users

https://www.macrumors.com/2025/09/17/ios-26-liquid-glass-critiques/
2•wslh•6m ago•1 comments

When Justice Holds a Knife: reflections on the death penalty's irreversible edge

https://www.clickworlddaily.com/2025/09/when-justice-holds-knife-reflections-on.html
1•jonalgarve•7m ago•1 comments

Cladh Hallan

https://en.wikipedia.org/wiki/Cladh_Hallan
1•bediger4000•7m ago•0 comments

First large health language model predicts >1000 diseases for a person and when

https://erictopol.substack.com/p/dawn-of-a-new-era-of-primary-prevention
1•ck2•7m ago•1 comments

Secrets of DeepSeek AI model revealed in landmark paper

https://www.nature.com/articles/d41586-025-03015-6
2•bookofjoe•8m ago•1 comments

Why 'false authenticity' is so unsettling

https://psyche.co/notes-to-self/why-walking-through-historic-wurzburg-is-so-unsettling
1•herbertl•8m ago•0 comments

Why Your AI Code Bias Is Making You a Worse Reviewer

https://revelry.co/insights/artificial-intelligence/your-ai-code-bias-makes-you-a-worse-reviewer/
2•sighren•8m ago•0 comments

Discovering new solutions to century-old problems in fluid dynamics

https://deepmind.google/discover/blog/discovering-new-solutions-to-century-old-problems-in-fluid-...
1•roboboffin•9m ago•0 comments

Unlock one-of-a-kind shows in unique spaces

https://www.sofarsounds.com/
1•fcpguru•9m ago•0 comments

Feature Flags in Depth

https://rtpg.co/2023/11/15/feature-flags-in-depth/
1•rbanffy•10m ago•0 comments

Show HN: I wrote an OS in 1000 lines of Zig

https://github.com/botirk38/OS-1000-lines-zig
1•botirk•14m ago•1 comments

The Worldcoin Scam Just Got Worse [video]

https://www.youtube.com/watch?v=lAaIRWjKAmw
2•askl•14m ago•0 comments

Apple's Audio Labs

https://www.techradar.com/audio/earbuds-airpods/apple-took-me-into-one-of-the-quietest-rooms-anyw...
2•coloneltcb•14m ago•0 comments

Ask HN: Parental control for a 13yo, on Linux (remote, web-based, extensible)

1•markun•15m ago•0 comments

KDE offers a cool Mobile UI, too

https://plasma-mobile.org
1•eloeffler•16m ago•0 comments

Elasticsearch Was Never a Database

https://www.paradedb.com/blog/elasticsearch-was-never-a-database
5•todsacerdoti•18m ago•1 comments

Reactive carbon runoff from logged forests undermines climate mitigation

https://phys.org/news/2025-09-soil-runoff-forests-reactive-carbon.html
2•PaulHoule•18m ago•0 comments

US-UK pact will create jobs

https://www.gov.uk/government/news/us-uk-pact-will-boost-advances-in-drug-discovery-create-tens-o...
2•monkeydust•19m ago•0 comments

Japan to investigate undersea-cable supply chains for China exposure Asia

https://asia.nikkei.com/business/telecommunication/japan-to-investigate-undersea-cable-supply-cha...
2•rbanffy•20m ago•0 comments