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.

Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt

1•pera•1m ago•0 comments

Trump Media's new paid data service goes live, faster access to Trump's posts

https://www.cnbc.com/2026/08/01/trump-medias-new-data-service-gives-faster-access-to-trumps-posts...
1•srameshc•2m ago•0 comments

Static Devirtualization of Tencent VM

https://back.engineering/blog/31/07/2026/
1•not_a9•4m ago•0 comments

The Swiss Spaghetti Harvest

https://hoaxes.org/archive/permalink/the_swiss_spaghetti_harvest
1•EndXA•5m ago•0 comments

Signal Structure of the Starlink Ku-Band Downlink (2023) [pdf]

https://radionavlab.ae.utexas.edu/wp-content/uploads/starlink_structure.pdf
1•peter_d_sherman•6m ago•0 comments

A Tech Founder Wanted to Start a New Country. An Actual Country Got in the Way

https://www.wsj.com/tech/a-tech-founder-wanted-to-start-a-new-country-an-actual-country-got-in-th...
1•impish9208•7m ago•1 comments

Chess Engine Dev Community Openly Hostile to AI Assisted Development

https://github.com/adamtwiss/coda/issues/15
1•chesspeoplercra•8m ago•0 comments

What's Up with the Weird Mouths of These Finch Chicks?

https://www.audubon.org/news/whats-weird-mouths-these-finch-chicks
1•thunderbong•9m ago•0 comments

Expanded Genetic Code

https://en.wikipedia.org/wiki/Expanded_genetic_code
1•frozenseven•10m ago•0 comments

Google cancels AI Studio app after 800k preorders

https://twitter.com/GoogleAIStudio/status/2083274575769473092
1•BlueBerry2001•10m ago•0 comments

Show HN: BugDetect AI – AI-powered code debugging assistant

https://bugdetectai.com
1•laxmansubedi•14m ago•0 comments

CISA Alert: Water Sector PLC Targeting

https://censys.com/blog/cisa-alert-water-tower-plc-targeting/
1•speckx•15m ago•0 comments

Toward a Framework for Openness in Foundation Models

https://cacm.acm.org/research/unpacking-open-source-artificial-intelligence-toward-a-framework-fo...
1•visha1v•18m ago•0 comments

Sigstore Cosign signature verifier in 150 lines of C

https://github.com/kern-werk/cosign-verify
2•pdubouilh•18m ago•0 comments

Show HN: Cross-platform AirDrop replacement but over internet using Iroh

https://github.com/chad/iroh-drop
1•chadfowler•19m ago•0 comments

TextGrad: Automatic "Differentiation" via Text

https://github.com/zou-group/textgrad
1•rzk•20m ago•0 comments

Show HN: Bribes.fyi - Update on Know before you go feature

https://bribes.fyi/know-before-you-go
2•neverenderr•25m ago•0 comments

Earth, Love and Internet

https://epic.projector.earth/?extension=love
1•blueturn•29m ago•0 comments

Charges Dropped in Reflecting Pool Case as Prosecutors Say Work Was 'Botched'

https://www.nytimes.com/2026/07/31/us/politics/david-hearn-reflecting-pool-vandalism-charges.html
2•whack•32m ago•0 comments

The Busy Person's Guide to Thinking (2015)

https://fs.blog/how-to-think/
1•mrngm•33m ago•0 comments

Uringscope: Portable, Low-Overhead Observability for Io_uring

https://arxiv.org/abs/2606.15137
2•Jimmc414•33m ago•1 comments

Postmortem for Kernel Soundness Bug #14576

https://leodemoura.github.io/blog/2026-8-1-postmortem-for-kernel-soundness-bug-14576/
11•juhopitk•33m ago•1 comments

Model extraction of SynthID Watermark Detector and exploring adversarial attacks

https://fyx.me/articles/attempting-model-extraction-of-google-deepmind-synthid-image-watermark-de...
1•Retr0id•33m ago•0 comments

Show HN: OpenLongevity – Longevity × AI – open, verifiable, for everyone

https://github.com/edison7009/OpenLongevity
1•edison7009•33m ago•0 comments

How to Build a Modern Distributed SaaS from Scratch with AI Agents

https://www.aulinq.com/en/blog/build-distributed-saas-from-scratch-with-ai-agents
1•amadmike•34m ago•0 comments

House Committees Investigate DoorDash's Use of Chinese AI

https://chinaselectcommittee.house.gov/media/press-releases/house-committees-investigate-doordash...
2•Jimmc414•35m ago•0 comments

Lawsuit accuses four major publishers of extorting article processing charges

https://retractionwatch.com/2026/07/31/federal-lawsuit-major-publishers-article-processing-charge...
2•Jimmc414•37m ago•0 comments

FBI investigates as MI joins MN in reporting cyberattacks on its water systems

https://apnews.com/article/cyberattack-minnesota-water-systems-77d52a1d7356e608500a1ddb0ec373a6
1•pudgywalsh•37m ago•0 comments

Oil companies report sky-high profits thanks to wartime crude prices

https://www.npr.org/2026/07/31/nx-s1-5910660/big-oil-earnings-q2-2026
11•speckx•37m ago•3 comments

I Stop LLMs Drifting in Production Codebases

https://scottspence.com/posts/how-i-stop-llms-drifting-in-production-codebases
3•mainsong•40m ago•0 comments