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.

$183M vanishes from Bitget exchange wallet as users fear potential hack

https://decrypt.co/379275/bitget-hack-183-million-crypto-exchange-wallets
1•rvz•34s ago•0 comments

How Man City overhauled their squad from a 650k-strong database

https://www.bbc.com/sport/football/articles/cm1wx51gyly5o
1•rustoo•36s ago•0 comments

Show HN: Grev - Thinking Coreutils with Jev

https://github.com/aurorainfra/grev
1•devttyeu•1m ago•0 comments

The Visible Hand That Feeds

https://nickalexander.org/visible-hand.html
1•nick007•1m ago•0 comments

Woman Spent 86 Hours in Solitary After Flock Camera Linked Her SUV to Crash

https://www.gadgetreview.com/23-year-old-lindsey-isaacs-testifies-that-she-was-thrown-into-solita...
1•jimt1234•2m ago•0 comments

Compliance for Neobanks

https://hacken.io/discover/compliance-for-neobanks/
1•Dron_Rick•2m ago•0 comments

Notes on Io-Uring

https://without.boats/blog/io-uring/
1•Bluestein•4m ago•0 comments

New York lawsuit says Polymarket's prediction markets are illegal gambling

https://www.reuters.com/world/new-york-sues-polymarket-says-it-ran-illegal-gambling-operation-202...
1•embedding-shape•4m ago•0 comments

A perfect join algorithm? Answering queries in optimal time – Michael Arntzenius [video]

https://www.youtube.com/watch?v=ambisA2jegA
1•matt_d•6m ago•0 comments

Askholes and Low Effort AI Answers

https://dennisforbes.ca/blog/microblog/2026/09/askholes_and_low_effort_ai_answers/
1•llm_nerd•9m ago•0 comments

CrowdStrike: Frontier AI for Cybersecurity

https://strategyofsecurity.com/p/crowdstrike-frontier-ai-for-cybersecurity
1•mooreds•9m ago•0 comments

China reaches 5-minute EV charging

https://www.newsminimalist.com/articles/chinese-automakers-race-ahead-with-5-minute-ev-fast-charg...
3•russfink•10m ago•1 comments

Amazon Surprises by Actively Rehiring Former Employees

https://www.asiae.co.kr/en/article/2026092410112667195
1•mooreds•13m ago•0 comments

Show HN: Koi.rest – watch some fish and regain your balance

https://koi.rest
5•hxii•15m ago•0 comments

US Mobile CEO on Reddit: 1.1M customers, $1B+ on Warp, 5G SA, QCI 6, satellite

https://www.reddit.com/r/USMobile/comments/1w1kuvb/the_big_beautiful_update_11_million_customers_1b/
1•4d66ba06•15m ago•0 comments

Escaping Space: Part I

https://www.perplexity.ai/hub/blog/escaping-space-part-i
1•gmays•15m ago•0 comments

Vertical Farming: Reimagining Agriculture in an Urban Age

https://worldsensorium.com/vertical-farming-reimagining-agriculture-in-an-urban-age/
2•dnetesn•16m ago•1 comments

Remembering the Future: Blade Runner

https://blue-continuum.com/remembering-the-future-blade-runner
1•dnetesn•17m ago•0 comments

Dutch designer made DE9: Closer to the Edit into a playable web-based instrument

https://www.creativeboom.com/work/why-merijn-straathof-turned-a-landmark-techno-album-into-a-play...
1•ChrisArchitect•17m ago•1 comments

Becoming more than a meat proxy

https://codeplusconduct.substack.com/p/becoming-more-than-a-meat-proxy
2•mooreds•18m ago•0 comments

Meta's Muse page can't even pass basic privacy requirements

https://scanner.getprivisy.com/#/sales/96a75bdd-7033-4b66-9ad3-11041432abe2?token=eyJhbGciOiJIUzI...
2•patrickwdaly•20m ago•0 comments

New England Aquarium treating elderly penguin, 29, with acupuncture

https://www.neaq.org/about-us/press-room/press-releases/new-england-aquarium-treating-elderly-pen...
2•bookofjoe•21m ago•0 comments

Should we stop giving cyber threats fancy names?

https://www.techzine.eu/blogs/security/144469/should-we-stop-giving-cyber-threats-fancy-names/
1•VindtUMijTeLang•22m ago•0 comments

Why Buran Had Four Computers, Not Three

https://zatona.dev/blog/why-buran-had-four-computers
2•dzatona•25m ago•0 comments

Show HN: Public Browser MCP – +48% speed -33% token/session vs. AgentBrowser

https://github.com/Silbercue/public-browser/releases/tag/v3.0.0
1•silbercue•27m ago•0 comments

Education Consulting Industry Sucks

https://rivernova.vercel.app
2•roman9•28m ago•0 comments

Show HN: I rebuilt my company's old fire-station office as a Quake III map

https://sajarin.com/q3inc/
2•Sajarin•30m ago•0 comments

The New STOC Rules for the AI Era

https://blog.computationalcomplexity.org/2026/09/the-new-stoc-rules-for-ai-era.html
2•pcfwik•31m ago•0 comments

Show HN: Turn Your Voice into Art

https://reotoi.vercel.app
1•edimaudo•33m ago•0 comments

Empirical results fine-tuning π0.5 on a real manufacturing task

https://dream-machines.eu/blog/pi05-fine-tuning
1•mplappert•36m ago•0 comments