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

China Did Not Build Its Math Machine from Scratch. It Rewired the Soviet One

https://valeman.medium.com/china-did-not-build-its-math-machine-from-scratch-it-rewired-the-sovie...
1•ibobev•1m ago•0 comments

HyperZHub Browser

https://github.com/hyperzteam456/hyperzhub/
1•HyperZTeam•3m ago•1 comments

SpaceX Said to Agree to Buy Cursor for More Than $50B

https://www.nytimes.com/2026/04/21/business/spacex-cursor-deal.html
17•markthethomas•8m ago•3 comments

Navy Fires Drone-Frying LOCUST Laser from Supercarrier USS George H.W. Bush

https://www.twz.com/news-features/navy-fires-dronefrying-locust-laser-from-supercarrier-uss-georg...
1•breve•9m ago•0 comments

I built a client-side PDF tool (no uploads, runs in browser)

https://yutools.qzz.io/tools
1•zhiliao000•12m ago•0 comments

Mozilla: Anthropic's Mythos found 271 security vulnerabilities in Firefox 150

https://arstechnica.com/ai/2026/04/mozilla-anthropics-mythos-found-271-zero-day-vulnerabilities-i...
2•ndr42•13m ago•0 comments

Escom AG

https://en.wikipedia.org/wiki/Escom_AG
1•doener•13m ago•0 comments

Flu vaccine no longer mandated for US troops

https://apnews.com/article/hegseth-pentagon-flu-vaccine-mandate-us-military-ce6069bf42de217092f9c...
2•petethomas•15m ago•0 comments

I Put a Full JVM Inside a Browser Tab. It "Works". Technically. Eventually

https://bmarti44.substack.com/p/i-put-a-full-jvm-inside-a-browser
1•SerCe•15m ago•0 comments

Access to knowledge is no longer the limitation

https://idiallo.com/blog/access-to-knowledge-is-no-longer-a-limitation
1•ibudiallo•17m ago•0 comments

What I Learned About Billionaires at Jeff Bezos's Private Retreat

https://www.theatlantic.com/magazine/2026/05/billionaire-consequence-free-reality/686588/
3•mykowebhn•18m ago•1 comments

Show HN: Should – Expressive Assertions for Go

1•andrey-1201•19m ago•0 comments

Making the illustrations for "Founding is a Snowball"

https://blog.bawolf.com/p/making-the-illustrations-for-founding
1•bryantwolf•21m ago•0 comments

SpaceX and Cursor partnership. Right to acquire Cursor later this year

https://twitter.com/spacex/status/2046713419978453374
16•dmarcos•22m ago•2 comments

Weev, the Neo-Nazi Who Helped Build Peter Thiel's Online Influence Empire

https://bylinetimes.com/2026/04/14/the-neo-nazi-enforcer-who-helped-build-peter-thiels-online-inf...
7•tastyface•23m ago•0 comments

Show HN: Almanac MCP, turn Claude Code into a Deep Research agent

https://www.openalmanac.org/
2•rohans0509•23m ago•0 comments

Blue Origin's New Glenn rocket is grounded after failed satellite launch

https://apnews.com/article/blue-origin-new-glenn-rocket-launch-9498c077799420170960680a04e52f84
1•mpweiher•26m ago•0 comments

The levels of Mong Kok: one of Hong Kong's labyrinthine camera malls

https://www.dpreview.com/articles/7475558634/inside-hong-kongs-labyrinthine-camera-malls
2•PaulHoule•27m ago•0 comments

LLM Position Bias Benchmark: Swapped-Order Pairwise Judging

https://github.com/lechmazur/position_bias
1•zone411•27m ago•0 comments

Indeed paid plans notify employers when an employee applies to different jobs

https://old.reddit.com/r/antiwork/comments/1sru8d6/til_indeed_can_be_paid_to_notify_employers_when/
2•thisislife2•27m ago•2 comments

AI as a Fascist Artifact

https://tante.cc/2026/04/21/ai-as-a-fascist-artifact/
4•vladyslavfox•28m ago•0 comments

New cancer cluster feared in N.J. neighborhood

https://www.nj.com/news/2026/04/new-cancer-cluster-feared-in-nj-neighborhood.html
1•johntfella•28m ago•0 comments

FBI: Catching a Cuban Spy

https://www.fbi.gov/news/podcasts/inside-the-fbi-podcast-catching-a-cuban-spy
1•737min•28m ago•0 comments

Approaches to Tenancy in Postgres

https://planetscale.com/blog/approaches-to-tenancy-in-postgres
2•0xKelsey•29m ago•0 comments

Mesh3d Experiments

https://mesh3d.gallery/experiments
1•memalign•29m ago•0 comments

Impacts of updates in open-source databases

https://www.percona.com/blog/impacts-of-updates-in-open-source-databases/
1•0xKelsey•30m ago•0 comments

Content Scraping Issue: Risks and Dangers of Artificial Intelligence

https://sites.google.com/view/amenintare-gemini/
1•marinescu•34m ago•0 comments

Anthropic's Mythos Model Is Being Accessed by Unauthorized Users

https://www.bloomberg.com/news/articles/2026-04-21/anthropic-s-mythos-model-is-being-accessed-by-...
6•mfiguiere•38m ago•1 comments

The Birth Certificate for AI Agents

https://dnsid.ai
1•cdrnsf•40m ago•0 comments

Yojam: A macOS default-browser shim that routes URLs through a rule engine

https://github.com/fluffypony/yojam
2•birdculture•44m ago•0 comments