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.

Carl is a lightweight BitTorrent client with first-class Tor anonymity

https://vincenzopalazzo.github.io/carl/
1•janandonly•14s ago•0 comments

LLMs as a Last Resort

https://www.stonehedgelabs.com/blog/llms-as-a-last-resort
1•ra0x3•32s ago•0 comments

PorTAL: Portable Task Adapters for LLMs

https://twitter.com/ramplabs/status/2072381992285647280
1•talhof8•1m ago•0 comments

RePost – API Tester

https://chromewebstore.google.com/detail/repost-api-tester/eipmeckflplenlbnlhbpmjojahephhkp
1•info-chirila•3m ago•0 comments

Brain activity under anesthesia challenges what we know about consciousness

https://www.sciencedaily.com/releases/2026/06/260624025514.htm
2•howard941•4m ago•0 comments

Meta building cloud business to sell excess AI capacity

https://www.reuters.com/business/meta-sell-excess-ai-computing-capacity-via-cloud-business-bloomb...
1•yiyingzhang•4m ago•0 comments

The Spacesuits – Engineering Archive

https://www.thespacesuits.com/
1•rbanffy•4m ago•0 comments

Bitrise Remote Dev Environments

https://bitrise.io/blog/post/bitrise-remote-dev-environments-beta-launch
1•balazsczap•5m ago•0 comments

On Vibe Forks

https://rahulpandita.me/blog/2026-06-29-vibe-forks/
1•azhenley•6m ago•0 comments

Armcade, remote control robot arms to play chess

https://www.armcade.tv
1•softservo•7m ago•0 comments

Agentic design patterns, read through a healthcare AI lens

https://jenniferjiangkells.com/thoughts/agentic-patterns-healthcare-lens/
1•adjks•7m ago•0 comments

Under the Trump crypto playbook, the family always wins

https://www.reuters.com/investigations/under-trump-crypto-playbook-family-always-wins-investors-d...
2•layer8•7m ago•0 comments

After culling his flock, US poultry farmer now fears bird flu

https://www.theguardian.com/environment/2026/jul/01/bird-flu-farms-us
1•howard941•9m ago•0 comments

Jlook – a pipeable way to turn efficient API JSON into readable code

https://github.com/SyntaxError2505/jlook/tree/main
2•SyntaxError2505•9m ago•0 comments

How Artist Corporations Became Law

https://www.artistcorporations.com/updates/how-artist-corporations-became-law
1•throwoutway•10m ago•0 comments

OpenLieroX has a new version after several years

https://github.com/openlierox/openlierox
1•openlierox2026•10m ago•0 comments

In AI-exposed jobs, only the youngest workers are losing ground

https://www.randalolson.com/2026/06/22/ai-jobs-hit-youngest-workers/
1•littlexsparkee•13m ago•0 comments

Ask HN: Who is this Steve T.?

2•jacobreddy•15m ago•0 comments

DHS confirms hackers breached HSIN info-sharing platform

https://www.bleepingcomputer.com/news/security/dhs-confirms-hackers-breached-hsin-info-sharing-pl...
1•dr_kiszonka•20m ago•0 comments

Commission plans to end "as low as reasonably achievable" radiation guidance

https://www.nytimes.com/2026/07/01/climate/nrc-radiation-regulation-nuclear-overhaul.html
1•donohoe•20m ago•0 comments

Virginia county asks schools to conserve power due to AI electricity price hikes

https://www.tomshardware.com/tech-industry/data-centers/virginia-county-asks-all-employees-includ...
1•vrganj•20m ago•0 comments

Reading a PDF and want to get to its home page?

https://discourse.hookproductivity.com/t/hookmark-7-2-is-now-available/9814
1•LucCogZest•21m ago•0 comments

X.com link only works if you aren't logged in

https://twitter.com/coinbureau/status/2071330294452666695/mediaviewer
1•argee•22m ago•0 comments

Tell HN: I'm not excited for Fable and am disappointed in Karpathy

4•behnamoh•23m ago•1 comments

Black Soup

https://en.wikipedia.org/wiki/Black_soup
2•petethomas•27m ago•0 comments

Backstage access: an unauthenticated SQL injection in Front Gate Tickets

https://ian.sh/frontgate
2•iancarroll•28m ago•0 comments

Michael Burry Cites 'Beginning of the End' with New AI Short Bets

https://www.wsj.com/finance/stocks/michael-burry-cites-beginning-of-the-end-with-new-ai-short-bet...
2•thm•29m ago•0 comments

Near Miss: The Solar Superstorm of July 2012

https://science.nasa.gov/science-research/planetary-science/23jul_superstorm/
1•simonebrunozzi•30m ago•0 comments

Xbox testing disc-to-digital feature that digitizes a physical game collection

https://www.theverge.com/report/960173/microsoft-xbox-disc-to-digital-feature-physical-game-colle...
2•HelloUsername•31m ago•0 comments

Biriyani Osawa: The Philosophy of Biryani or Die

https://osawa.biriyani.co.jp/en/
2•bitlad•31m ago•0 comments