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.

Ask HN: What's the biologic equivalent of allowing any two cells to communicate?

1•datas•1m ago•0 comments

Lost Builds – unreleased game archive

https://lost-builds.byartem.com/
1•dublor•3m ago•0 comments

I trained a 360M model to pretend to be a terminal

https://simedw.com/2026/10/21/world-model-terminal/
2•alphax314•4m ago•0 comments

Claude Now Works with Google Docs, Sheets, and Slides

https://claude.com/resources/articles/claude-now-works-in-google-docs-sheets-and-slides
2•gmays•5m ago•0 comments

OpenVAF – Open-source Verilog-A compiler in Rust

https://github.com/pascalkuthe/OpenVAF
2•peter_d_sherman•5m ago•0 comments

LLM Agents Play Pokemon Showdown

https://olivergrabner.com/research/pokemon/
3•grabnero•9m ago•0 comments

Built Once, Serves Many: How We Rebuilt Experiment Analysis Platform at Roku

https://engineering.roku.com/built-once-serves-many-how-we-rebuilt-experiment-analysis-platform-a...
1•newadays•12m ago•0 comments

Exploring the Use of WebAssembly in HPC (2023)

https://dl.acm.org/doi/abs/10.1145/3572848.3577436
1•measurablefunc•15m ago•0 comments

Ask HN: Is OpenAI down? Nonstop 429s on pro subscription

1•srcreigh•17m ago•1 comments

Show HN: Find duplicates in 5 lines of Python (offline, lightweight, fast, Rust)

https://github.com/leopoldch/univo
1•jweaz•18m ago•0 comments

See Inside Cells Like Never Before in These Vivid Microscopic Images

https://www.quantamagazine.org/see-inside-cells-like-never-before-in-these-vivid-microscopic-imag...
2•randomImmigrant•19m ago•1 comments

The World Question Center, 1998 What Questions Are You Asking Yourself?

https://www.edge.org/conversation/james_lee_byars-the-world-question-center-1998
2•andsoitis•19m ago•0 comments

Can AI generate reliable product demos directly from source code?

1•demovexa•19m ago•0 comments

Claude Security now scans continuously and tracks fixes

https://claude.com/resources/articles/claude-security-now-scans-continuously-and-tracks-fixes
1•arbayi•21m ago•0 comments

AI Overlay that Lives on your Desktop

https://www.lumenoverlay.com
1•ayviatefn•21m ago•0 comments

Physicist Christopher Stubbs Joins Anthropic's Long-Term Benefit Trust

https://www.anthropic.com/news/christopher-stubbs-joins-long-term-benefit-trust
1•arbayi•24m ago•0 comments

Milwaukee Brewers renege on golden tickets sold in 2016

https://twitter.com/emilymaeheller/status/2112719895519514992
2•lando2319•27m ago•0 comments

Widespread PHP Flaw May Cause Many Site Outages Today

https://krebsonsecurity.com/2026/10/widespread-php-flaw-may-cause-many-site-outages-today/
1•MadrasThorn•28m ago•0 comments

DNA Genealogy IDs Victim from 1997 Florida Cold Case

https://www.forensicmag.com/3594-All-News/628824-Othram-Helps-ID-Victim-from-1997-Florida-Cold-Case/
1•WaitWaitWha•30m ago•0 comments

Epic vs. Apple AU:Court Orders Alt App Stores,Sideloading and 3rd Party Payments

https://www.judgments.fedcourt.gov.au/judgments/Judgments/fca/single/2026/2026fca1552
2•Mayzie•31m ago•0 comments

HN: Kerf – if Burp, Wireshark, and Dependabot had a kid

https://kerf.software
1•openpost•43m ago•0 comments

Amazon warns new cyber flaws detected using AI are being 'broadly exploited'

https://www.ft.com/content/245778d9-597b-492d-b5b6-a2967c77e853
1•nprateem•44m ago•0 comments

LCOS 0.9.5 Has Landed

https://lunduke.substack.com/p/lcos-095-has-landed
1•onemoresoop•44m ago•0 comments

New World screwworm cases confirmed in wildlife in Texas, beef cow in New Mexico

https://www.reuters.com/business/healthcare-pharmaceuticals/us-agriculture-dept-confirms-first-de...
2•bushwart•46m ago•0 comments

Personal Agent Protocol

https://sierra.ai/blog/introducing-personal-agent-protocol
3•gmays•48m ago•0 comments

Record κ=1.788⋅10^−3 for Fourier Transform

https://github.com/bigospeedrun/verifier/blob/607121a796548005a238a6e63589de866c9ab6f6/submission...
1•aleph_minus_one•50m ago•1 comments

Show HN: HarnessHive – collaborative wiring harness design platform in browser

https://harnesshive.com
1•danielkopelke•50m ago•0 comments

Show HN: GitPushups, block your code if you don't do pushups during your workday

https://gitpushups.com
2•higgins•54m ago•0 comments

Zac-OS-9: The classic Platinum desktop, reborn for modern PCs

https://sourceforge.net/projects/zac-os-9/
3•felixding•54m ago•0 comments

Creative success will not fill the hole in your heart

https://herbertlui.net/creative-success-will-not-fill-the-hole-in-your-heart/
2•herbertl•55m ago•0 comments