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.

Looking Ahead to Postgres 19

https://www.snowflake.com/en/blog/engineering/postgresql-19-features-beta/
1•craigkerstiens•3m ago•0 comments

A Missing Piece in Climate Models: Nature's Own Emissions

https://e360.yale.edu/features/warming-induced-ecosystem-emissions
1•Brajeshwar•3m ago•0 comments

Eot-bench: Open benchmark suite for end-of-turn detection in voice AI

https://github.com/livekit/eot-bench
1•codestackr•3m ago•0 comments

GPT-5 writing a Singularity scenario (2025)

https://www.lesswrong.com/posts/dT3StLjeJG7ordQGm/gpt-5-writing-a-singularity-scenario
1•Gooblebrai•6m ago•0 comments

iOS 27 Adds Four New Features to Notes App, Including Markdown Copy-and-Paste

https://www.macrumors.com/2026/06/17/ios-27-apple-notes-app-new-features/
2•Tomte•6m ago•0 comments

Infection found in wildlife evolved to spread between humans

https://www.dailymail.com/health/article-15911213/virus-dermatophilosis-human-transmission-europe...
2•Bender•8m ago•0 comments

PyQt6 now ships the Designer plugin on conda-forge, fixing a 6-year gap

https://github.com/conda-forge/pyqt-feedstock/pull/184
2•ludmilaklenova•8m ago•0 comments

Migrating from GNU Stow to Chezmoi

https://rednafi.com/misc/chezmoi/
2•speckx•8m ago•0 comments

Problems I'm having with Opus and regression

1•dleech•8m ago•1 comments

The Download: a new hunt for dark matter and Kenya's case for going solar

https://www.technologyreview.com/2026/06/18/1139261/the-download-dark-matter-hunt-kenya-solar-power/
1•joozio•9m ago•0 comments

Show HN: Prompt Foundry-tasks with focused context & instructions = sharper AI

https://marketplace.visualstudio.com/items?itemName=sdevries.prompt-foundry
1•espresso_dev•9m ago•0 comments

Why Deleted Mac Apps Leave Files Behind

https://crufti.app/blog/why-deleted-mac-apps-leave-files-behind
1•gbourne•9m ago•0 comments

Performance Has Layers

https://oxide.computer/blog/performance-has-layers
1•robin_reala•9m ago•0 comments

A PostgreSQL Database for Every Agent: In-Database RAG, Graph, and Multitenancy

https://www.yugabyte.com/blog/a-postgresql-database-for-every-agent/
2•bug2man•12m ago•0 comments

Death by 1k Compromises: How to Tap into Founder Mode

https://tim.blog/2026/06/18/mark-pincus/
1•Michelangelo11•12m ago•0 comments

Where do migrants live, and where were they born?

https://ourworldindata.org/where-do-migrants-live-and-where-were-they-born
1•TMWNN•14m ago•1 comments

Making budget models punch above their weight with a smart Rust harness

https://yogthos.net/posts/2026-06-08-dirge-code.html
1•theanonymousone•16m ago•0 comments

Show HN: A small, crazy fast hybrid search engine written in Rust

https://github.com/deepbluedynamics/lume
1•kordlessagain•16m ago•1 comments

Why AI Is Incorrigibly Didactic

https://www.theatlantic.com/ideas/2026/06/ai-writing-style-literature/687536/
4•Michelangelo11•17m ago•0 comments

Third time's the charm for a row of faint galaxies without dark matter

https://news.yale.edu/2026/06/16/third-times-charm-row-faint-galaxies-without-dark-matter
1•gmays•17m ago•0 comments

Wiki Spy

https://neal.fun/wiki-spy/
4•irs•17m ago•0 comments

Pnpm temp paths broke lifecycle sockets

https://github.com/pnpm/pnpm/pull/12327
1•scarabsystems•18m ago•0 comments

Developers React to AI-Scented Blog Posts

https://writethatblog.substack.com/p/dev-reaction-to-ai-blog-posts
1•birdculture•18m ago•0 comments

Show HN: SDK for embedding zot coding agent in your Node.js applications

https://github.com/patriceckhart/zot-sdk-javascript
4•patriceckhart•20m ago•0 comments

Commodore Unveils Linux Powered Flip Phone

https://hackaday.com/2026/06/18/commodore-unveils-linux-powered-flip-phone/
1•kristianpaul•20m ago•0 comments

Apple's A12 and A13 Chips Facing New Unpatchable Exploit

https://www.macrumors.com/2026/06/18/a12-and-a13-chips-facing-exploit/
1•latexr•20m ago•0 comments

Is it time for a new Embedded Linux build system?

https://yoebuild.org/blog/time-for-a-new-build-system/
1•cbrake•20m ago•0 comments

Europe Scales Down AI Ambitions with Smaller Data Center Tender

https://www.bloomberg.com/news/articles/2026-06-18/europe-scales-down-ai-ambitions-with-smaller-d...
1•alecco•21m ago•2 comments

Show HN: Foglamp – Open-source o11y for AI SDK

https://www.foglamp.dev/
1•gustavofior•22m ago•0 comments

The founder of Craigslist has given away half a billion dollars

https://www.independent.co.uk/us/money/craigslist-multimillionaire-craig-newmark-b2980681.html
3•Tomte•22m ago•0 comments