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

Teaching Llama 3.1 to generate 3D objects

https://www.llm3d.space/
1•mukhayy•2m ago•1 comments

History of abridged 'It's a Wonderful Life' that cuts pivotal scene

https://www.cnn.com/2025/12/26/media/its-a-wonderful-life-abridged-version
1•qingcharles•5m ago•1 comments

Stop benchmarking LLMs. Make them fight

https://github.com/AGI-Eval-Official/CATArena
2•jinqueeny•8m ago•0 comments

XMPlay 4.1

https://support.xmplay.com/files_view.php?file_id=755
1•XzetaU8•9m ago•0 comments

Taking more asymmetric bets, and reflections on 2025

https://techne98.com/blog/taking-more-asymmetric-bets/
1•fixedprog•11m ago•0 comments

I scraped startups for sale on Trust MRR to find SaaS opportunities

https://bigideasdb.com/saas-sellers-report
1•OmPatel555•15m ago•1 comments

How Meta tries to win back teens for Instagram

https://www.washingtonpost.com/technology/2025/12/26/meta-instagram-teen-strategy/
1•mmarvin•16m ago•1 comments

Behind the scramble to engineer the Pop-Tarts Bowl trophy

https://www.espn.com/college-football/story/_/id/47407119/pop-tarts-bowl-trophy-engineer-viral
1•1659447091•25m ago•0 comments

What Technologies Are Running Across 5.5M Websites (Nov 2025)

https://versiondb.io
1•_chse_•25m ago•0 comments

2026 resolution: if Mozilla tampers with "uBlock Origin", I'm giving it up

2•fl4tul4•31m ago•0 comments

Show HN: RustX – Help me test/architect this new Rust-based scripting language

https://github.com/GrandpaEJx/RustX
1•ZOROX•33m ago•0 comments

More Dynamic Cronjobs

https://george.mand.is/2025/09/more-dynamic-cronjobs/
2•0928374082•40m ago•0 comments

The nightmares were horrific: Dads open up about crippling post-natal depression

https://www.bbc.com/news/articles/cy8v8xe24gzo
1•1659447091•46m ago•0 comments

GenAI experts replace 'Halo: Evolved' staff to impact Xbox game development

https://www.notebookcheck.net/Generative-AI-experts-replace-Halo-Campaign-Evolved-staff-to-impact...
1•MilnerRoute•56m ago•0 comments

Netflix automated its DVD operations

https://maxmautner.com/2019/12/06/netflix-dvd-automation.html
2•mslate•57m ago•1 comments

AI, Tariffs and Box Office – 14 Charts That Explain 2025

https://www.nytimes.com/2025/12/20/business/dealbook/charts-2025-economy.html
1•Mehuleo•1h ago•1 comments

Pay Remote Workers a Premium

https://maxmautner.com/2020/03/31/remote-work.html
2•mslate•1h ago•0 comments

The Compiler Is Your Best Friend, Stop Lying to It

https://blog.daniel-beskin.com/2025-12-22-the-compiler-is-your-best-friend-stop-lying-to-it
1•sothatsit•1h ago•0 comments

Learn Your Way – Re-imagining textbooks for every learner

https://learnyourway.withgoogle.com/
1•the-mitr•1h ago•0 comments

Rust GUI Dev on an Ancient Laptop with Zed and Waypipe

https://www.pedaldrivenprogramming.com/2025/12/zed-and-waypipe-for-remote-gui-development/
2•WD-42•1h ago•0 comments

Her daughter was unraveling, and she didn't know why. Then she found the AI chat

https://www.washingtonpost.com/lifestyle/2025/12/23/children-teens-ai-chatbot-companion/
5•impish9208•1h ago•1 comments

Can Apple's AirPod Translation Get You Through Tokyo? We Tested It.

https://www.nytimes.com/2025/12/26/travel/airpods-live-translation-japan.html
3•mitchbob•1h ago•1 comments

The Economy Avoided a Recession in 2025

https://www.nytimes.com/2025/12/22/business/economy-unemployment-wages-affordability.html
1•Mehuleo•1h ago•1 comments

Just Fucking Use Markdown

https://justfuckingusemarkdown.com/
4•Charmunk•1h ago•0 comments

Ask HN: What was the hardest bug you tracked down in 2025?

2•varshith17•1h ago•2 comments

Encore: TypeScript Infrastructure Framework

https://encore.dev/
1•handfuloflight•1h ago•0 comments

HUML – YAML Without Ambiguity

https://huml.io/specifications/v0-1-0/
1•itsfarseen-1•1h ago•0 comments

Move Over, Genghis Khan. Many Other Men Left Genetic Legacies

https://www.smithsonianmag.com/smart-news/move-over-genghis-khan-many-other-men-left-huge-genetic...
1•thunderbong•1h ago•0 comments

Before This Physicist Studied the Stars, He Was One

https://www.nytimes.com/2025/12/27/world/europe/brian-cox-astronomy-profile.html
2•quapster•1h ago•0 comments

Building Team. One 26MB Primitive. Air-Gapped. Deterministic. Runs Anywhere

https://www.getarbiter.dev/
2•getarbiter•1h ago•1 comments