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.

Quantum Cyclic Cosmology with Sean Carroll [video]

https://www.youtube.com/watch?v=eZca3stQegc
1•binyu•1m ago•0 comments

Randomized query complexity can beat certificate complexity

https://arxiv.org/abs/2609.15063
1•porridgeraisin•1m ago•0 comments

Reality check. This is where we stand

https://devplace.net/posts/8d36a1390389-reality-check-this-is-where-we-stand
1•airhangerf15•3m ago•0 comments

Initial Thoughts on the Social Media Platforms (Ofcom Licensing) Bill

https://neilzone.co.uk/2026/09/initial-thoughts-on-the-social-media-platforms-ofcom-licensing-bill/
2•ColinWright•4m ago•0 comments

Khronos Group opens EU Entity to support European Projects with open standards

https://www.gamingonlinux.com/2026/09/khronos-group-opens-eu-entity-to-support-european-projects-...
1•rdmuser•4m ago•0 comments

Sugar Clear

https://sites.google.com/view/sugarclearreview/
1•haykjauz•7m ago•0 comments

Motivation of Vieta's Transformation (2015)

https://math.stackexchange.com/questions/1520458/motivation-of-vietas-transformation
1•vismit2000•8m ago•0 comments

Oblivious HTTP

https://en.wikipedia.org/wiki/Oblivious_HTTP
1•edward•11m ago•0 comments

YC batches got twice as likely to repeat an earlier YC company, from 18% to 47%

https://fundingwatcher.com/research/yc-batch-similarity/
1•jakobgreenfeld•12m ago•0 comments

Should AI friendliness be a priority for your projects?

1•rumatoest•12m ago•0 comments

A wrong turn become a nightmare

https://spectrumlocalnews.com/nys/central-ny/news/2026/09/14/upstate-medical-researcher-detained-...
1•pregreplace•14m ago•0 comments

ZTE B860H: Getting Armbian into It

https://pen.waltuh.cyou/yonle/zte-b860h-getting-armbian-into-it
1•airhangerf15•15m ago•0 comments

Waspinator

https://waspinator.dev
1•yoavm•15m ago•0 comments

I think roguelikes should steal Noita's philosophy

https://mattbusel.itch.io/chaos-rpg
1•Shmungus•17m ago•1 comments

A live board game where every lot is a billboard, forever

https://theestatewars.com/
1•heypetar•19m ago•0 comments

We all wanted to be Netflix, who do we want to be next?

https://www.architecture-weekly.com/p/we-all-wanted-to-be-netflix-who-do
1•theanonymousone•19m ago•0 comments

Issues with unsigned long int vs. unsigned long long int on Linux vs. 32-bit OS

https://submatrix.net/article/Projects/66bVJsDyXK
1•birdculture•20m ago•0 comments

Suspected sabotage causes major Netherlands rail disruption

https://www.bbc.com/news/articles/c8ly49w9g1edo
5•choult•21m ago•0 comments

Meta Kicks Muse Off Their Social Handles to Launch New AI Agent

https://stereogum.com/2510793/meta-kicks-muse-off-their-social-handles-to-launch-new-ai-agent/news
2•rdmuser•27m ago•0 comments

Show HN: 2D and 3D printable QR-code generator (.3MF / STL) with magnets and NFC

https://www.s0lve.it/tools/qrcode.html
1•Minimaator•28m ago•0 comments

V/H/S SCP: When fandom meets law and Creative Commons

https://www.technollama.co.uk/v-h-s-scp-when-fandom-meets-law-and-creative-commons
2•rdmuser•28m ago•0 comments

Measuring Gauss-Seidel loop-carried dependency and fixing it via loop unrolling

https://loiseaujc.github.io/posts/blog-title/make_gauss_seidel_great_again.html
1•loiseaujc•30m ago•0 comments

Amazon Bets on Hollow Core Fiber to Keep a Million Chips in Sync

https://en.sedaily.com/international/2026/09/12/amazon-bets-on-hollow-core-fiber-to-keep-a-millio...
1•giuliomagnifico•32m ago•0 comments

WebGPU Engine Bench: Three.js vs. PlayCanvas vs. Babylon.js

https://claude.ai/code/artifact/b2f3c482-3d9d-481e-ab0a-0d97620c09a2
2•ovenchips•34m ago•0 comments

Japan: Why Hasn't the Labor Shortage Pushed Up Real Wages?

https://richardkatz.substack.com/p/why-hasnt-the-labor-shortage-pushed
1•Pamar•37m ago•0 comments

Variational Quantum Circuits in Physics-Informed Neural Networks

https://meshapplied.com/posts/quantum-neural-solvers
4•matteohorvath•38m ago•0 comments

Einride and Lidl Launch First Autonomous Cab-Less Truck on German Public Road

https://www.einride.tech/press/einride-and-lidl-launch-first-autonomous-cab-less-truck-on-german-...
1•ZacnyLos•41m ago•0 comments

NJ data center leak spills 5k gallons of diesel fuel into river

https://www.nbcnewyork.com/new-jersey/data-center-leak-spills-diesel-fuel-secaucus/6547622/
1•geox•41m ago•0 comments

AI hypervigilance is now an omnipresent cognitive load for your users

https://productpicnic.beehiiv.com/p/ai-hypervigilance-is-now-an-omnipresent-cognitive-load-for-yo...
1•latexr•41m ago•0 comments

Making of Windows 10 Wallpaper [video]

https://www.youtube.com/watch?v=ewmXizBqjl0
1•vladde•43m ago•0 comments