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.

Linux 7.3-Rc7 Released with Linux 7.3 Hopefully Out Next Weekend

https://www.phoronix.com/news/Linux-7.3-rc7-Released
1•Bender•2m ago•0 comments

Cristiano Ronaldo's Road to 1,000 Goals

https://theroadto1000goals.com/
1•Betelbuddy•3m ago•0 comments

3D Fan Remake of Z

https://github.com/playopenz/OpenZ
1•fenio•5m ago•0 comments

Teaching a Door to Say No

https://2389.ai/research/writing/door-agent/
1•rafaelc•6m ago•1 comments

Claim-Offence Theory by Sk Wasim

https://archive.org/details/claim-offence-theory-sk-wasim
1•skwasimin•6m ago•1 comments

Time Till Open Source Alternative is now zero

https://staltz.com/time-till-open-source-alternative-is-zero
1•j_maffe•9m ago•0 comments

Show HN: Vibecheck – merge gate that checks you understand your AI-written code

https://github.com/bhurghundii/vibecheck.dev
1•sailorganymede•9m ago•0 comments

General Magic: Oral History of the Influential Tech Company (2018)

https://nymag.com/intelligencer/2018/08/general-magic-oral-history-of-the-influential-tech-compan...
1•mpweiher•9m ago•0 comments

Who Is Vfmaddrnd231pd?

https://purplesyringa.moe/blog/who-is-vfmaddrnd231pd/
1•pngmangi•10m ago•0 comments

The Throw from Eden: How Myth and Gödel Prove the Same Limit

https://felixschaller.substack.com/p/the-throw-from-eden-how-myth-and
1•freshNfunky•11m ago•0 comments

Googlebook Linux Terminal Preview: VM-Backed Environment for AI and Development

https://android-developers.googleblog.com/2026/10/googlebook-linux-terminal-preview-vm.html
1•ingve•12m ago•0 comments

Ask HN: What is your usecase for ONNX model format?

1•maxchisto•12m ago•0 comments

Kcgi – minimal CGI and FastCGI library for C/C++

https://kristaps.bsd.lv/kcgi/
1•Bluestein•14m ago•0 comments

My coding agent said "all tests pass." They were never run

https://coldtake.dev/blog/bondsmith-hard-bonds-for-soft-claims
2•AlarQ•17m ago•0 comments

EXT4 Introducing IOmap Buffered I/O Path with Some Performance Gains

https://www.phoronix.com/news/EXT4-iomap-Buffered-IO
2•khalidkhair•17m ago•0 comments

RJ Mitte Dead by Suicide: 'Breaking Bad' Actor Was 34

https://deadline.com/2026/10/rj-mitte-dead-breaking-bad-actor-1237155037/
1•bigwheels•17m ago•0 comments

Show HN: Brickbrag – A multiplayer brick-building world in the browser

https://brickbrag.com/
2•neuling•19m ago•0 comments

Picothermal – WebUSB Thermal Camera Using RP2040 and Flir Lepton

https://www.cezarchirila.com/blog/2026/10/picothermal/
1•icamaster•20m ago•0 comments

Did Ente Locker copy my code without attribution?

https://fairscan.org/blog/did-ente-locker-copy-my-code-without-attribution/
1•superwayne•21m ago•0 comments

How many cookies did you eat today?

https://sheets.works/data-viz/how-many-cookies
2•redbell•22m ago•0 comments

Show HN: Ever – A High-Level Language for Low-Level Purposes

https://github.com/evrlang/ever
1•pouya1dev•22m ago•0 comments

Show HN: E-reader app for iPhone, quote reels generator

https://bookidoro.app/
1•nikope•25m ago•0 comments

How did someone setup an elaborate data phisher at a PNC wawa ATM?

https://www.reddit.com/r/scammers/s/d93xO8dnWT
1•Steaglsz•29m ago•0 comments

Digital Habits Focus app: block the feed from social media sites

https://digitalhabits.org/tools/focus
1•tomduncalf•29m ago•0 comments

China's Five-Year Plan Mandates AI Agents Across the Economy: What It Means

https://openclawai.io/blog/china-ai-agents-five-year-plan
5•sarmike31•29m ago•0 comments

Farewell NASA ADS

https://www.nature.com/articles/s41550-026-03009-y
1•JohnHammersley•30m ago•0 comments

In Praise of John Cale, the Superior Velvet

https://thequietus.com/subscriber-area/low-culture-essay/john-cale-low-culture/
1•sebmellen•30m ago•0 comments

Army Announces First Ever 'Manufacturing Rodeo'

https://www.army.mil/article/296069/army_announces_first_ever_manufacturing_rodeo
3•lasermatts•31m ago•0 comments

Influencer MAII:)

https://www.instagram.com/maii_health
1•nevenp•32m ago•0 comments

From chat window to my desk: An AI-designed split keyboard

https://imrishabh18.github.io/blog/ai-corne-keyboard/
1•imrishabh18•34m ago•0 comments