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.

IT Inflation Is Rising. It's Time for the C-Suite to Act

https://www.hellersearch.com/blog/it-inflation-is-rising.-its-time-for-the-c-suite-to-act
1•petethomas•29s ago•0 comments

A new crop of treasure-seekers are betting it all on the Calif. desert

https://www.sfgate.com/california/article/california-gold-mining-22335840.php
1•gmays•1m ago•0 comments

EU's Google fine risks triggering Trump as he gears up for more tariffs

https://www.politico.eu/article/eu-google-fine-donald-trump-tariffs/
1•oriettaxx•2m ago•0 comments

Poison Song Teaser (2025)

https://www.tamriel-rebuilt.org/content/poison-song-teaser
1•kqr•3m ago•0 comments

Puffling spotted at colony in 'danger of extinction'

https://www.bbc.com/news/articles/cx2rv02dky2o
1•paulpauper•3m ago•0 comments

Claude Opus 5

https://artificialanalysis.ai/models/claude-opus-5
1•pranshuchittora•5m ago•0 comments

FDA panel votes to place popular peptide BPC-157 on compounding list

https://www.reuters.com/business/healthcare-pharmaceuticals/fda-panel-votes-place-popular-peptide...
1•brandonb•5m ago•0 comments

Clay Garden

https://claygarden.jp
1•mortenjorck•7m ago•0 comments

Ukraine May Have Manipulated Russian Air Defenses into Downing Their Own Su-57

https://united24media.com/world/ukraine-may-have-manipulated-russian-air-defenses-into-downing-th...
1•DemiGuru•8m ago•0 comments

A Tournament Nobody Can Buy

https://kaylamity.com/essays/a-tournament-nobody-can-buy/
1•crunchbang123•8m ago•0 comments

Flet: Build cross-platform apps in Python

https://flet.dev/
1•theanonymousone•8m ago•0 comments

Clickit best free tool for agentic workspace for founders

https://github.com/rohankc69/clickit
1•rohankc_01•10m ago•1 comments

Sony's decision to ditch discs was practically inevitable, data shows

https://arstechnica.com/gaming/2026/07/the-playstation-game-disc-was-dying-long-before-sony-pulle...
2•bpierre•10m ago•1 comments

Ukraine may be winning World War III for an oblivious West

https://thehill.com/opinion/national-security/5983182-ukraine-wins-wwiii/
3•MilnerRoute•10m ago•1 comments

Raspberry Pi Touch Display 2 10-Inch Model Launches

https://www.phoronix.com/news/10-inch-Raspberry-Pi-Touch-2
1•DemiGuru•13m ago•0 comments

The MoQ Alliance: Organization Dedicated to Making Media over QUIC Successful

https://moqalliance.org/
1•mondainx•14m ago•0 comments

Notion Code: Build and update Notion programmatically in bulk

https://app.notion.com/p/notionambassadors/How-to-use-Notion-as-Code-3973139dbfef802eb77cfbe7cf08...
1•dibujaleojos•17m ago•0 comments

You can now use a selfie video to log into your Google Account

https://twitter.com/Google/status/2080284006512201760
1•nullpt_rs•17m ago•1 comments

Accidental data loss in Claude Code and OpenAI Codex: when AI deletes user files

https://firasd.substack.com/p/accidental-data-loss-in-claude-code-openai-codex-ai-agent-harness-f...
2•firasd•17m ago•1 comments

OpenAI API Is Down

3•whyage•19m ago•1 comments

Fail-closed enforcement for AI agents: deny what you cannot verify

https://github.com/Fame510/SHACKLE
1•SHACKLE-PRO-•20m ago•0 comments

Show HN: PGP Manager – a modern, user-friendly alternative to Kleopatra

https://github.com/developaaah/pgp-manager
1•developaaah•21m ago•0 comments

MAI-Image-2.5-Pro and MAI-Voice-2-Flash

https://microsoft.ai/news/introducing-mai-image-2-5-pro-and-mai-voice-2-flash/
2•ai2027•21m ago•0 comments

AMD's Instinct MI455X: Aiming for the Sun

https://chipsandcheese.com/p/amds-instinct-mi455x-aiming-for-the
1•pixelpoet•23m ago•0 comments

Godot: Command Line Tutorial

https://docs.godotengine.org/en/stable/tutorials/editor/command_line_tutorial.html
1•evolve2k•23m ago•0 comments

We self-host DeepSeek V4 Flash on AWS spot instances

https://twitter.com/Vercantez/status/2080326597757087859
1•skeptrune•23m ago•0 comments

Industrial Society and Its Future (Text of Unabomber Manifesto)

https://archive.nytimes.com/www.nytimes.com/library/national/unabom-manifesto-1.html
2•pcfwik•23m ago•0 comments

Qwen 3.8-Max: Interviewing the AI About Itself

https://manish.sh/writings/models/inside-qwen-3-8-max-preview-reverse-engineering-an-ai-assistant...
2•ms7892•26m ago•0 comments

Augmental MouthPad is a tongue-controlled touchpad/trackpad

https://www.cnx-software.com/2026/07/23/augmental-mouthpad-tongue-controlled-touchpad-trackpad/
2•jandeboevrie•27m ago•1 comments

You don't need an LLM to cluster LLM traces

https://seldon-ai.com/blog/you-dont-need-an-llm-to-cluster-llm-traces
1•nlpnerd•27m ago•0 comments