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.

Xiaomi MiMo-v2.6 Breaks Cover: A 1T-Class Chinese Lab Trains in Public

https://forkast.news/xiaomi-mimo-v2-6-breaks-cover-a-1t-class-chinese-lab-trains-in-public/
1•frozenseven•17s ago•0 comments

Show HN: CRT – a local code review tool for agentic development

https://github.com/imron/crt
1•imron•3m ago•0 comments

How Google is drafting AI chatbot laws around the country

https://www.npr.org/2026/09/18/nx-s1-5968878/ai-chatbots-safety-regulation-google
1•healsdata•5m ago•0 comments

macOS Golden Gate – What's New (Roundup)

https://www.macrumors.com/roundup/macos-27/
1•rdslw•5m ago•0 comments

Faster JSON parsing with SVE2 on ARM processors

https://lemire.me/blog/2026/09/18/faster-json-parsing-with-sve2-on-arm-processors/
1•ibobev•7m ago•0 comments

(sixteenth RacketCon) tickets on sale now

https://www.eventbrite.com/e/racketcon-2026-tickets-1997181002140
1•spdegabrielle•7m ago•3 comments

Enhance Page Elements with Custom Glow Effects and Masks

https://blog.master.dev/custom-glow-rings-inside-of-elements/
1•ibobev•8m ago•0 comments

Realtime Raytracing in Bevy 0.20 (Solari)

https://jms55.github.io/posts/2026-09-18-solari-bevy-0-20/
1•ibobev•8m ago•0 comments

How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip

https://spectrum.ieee.org/llms-for-chip-design
2•maxall4•8m ago•0 comments

Brown bullhead catfish melanoma represents a novel transmissible cancer

https://www.nature.com/articles/s41586-026-10828-6
1•AFF87•9m ago•0 comments

OpenAI expects to burn through almost $280B by 2030, FT reports

https://www.reuters.com/technology/openai-expects-burn-through-almost-280-billion-by-2030-ft-repo...
2•vertigoruntime•13m ago•0 comments

In the Age of AI, Some in China Wonder If Learning English Is Worth the Trouble

https://www.nytimes.com/2026/09/16/world/asia/china-english-language-education.html
1•bookofjoe•14m ago•1 comments

A related skill that is recommended as a CS student

1•jassembk•18m ago•1 comments

How Randomness Builds the Universe: A Cosmic Puzzle (2025)

https://medium.com/@kosmologi.indonesia/how-randomness-builds-the-universe-a-cosmic-puzzle-74905c...
1•1659447091•21m ago•0 comments

Integrate Architecture with Topography: Strategies to Build on Hills and Slopes

https://www.archdaily.com/1136327/integrating-architecture-with-topography-strategies-for-buildin...
1•bryanrasmussen•21m ago•0 comments

Parallel vector graphics rasterization on CPU

https://gasiulis.name/parallel-rasterization-on-cpu/
3•coffeeaddict1•25m ago•0 comments

Recursively Scaling Auto-Research Loops for Efficient Agent Harness

https://academy.dair.ai/papers/sol-pi-recursively-scaling-auto-research-loops-for-efficient-agent...
1•omarsar•32m ago•0 comments

A Stop Sign for $1k

https://maxmautner.com/2026/09/17/stop-sign.html
1•mslate•36m ago•0 comments

US troop deaths during Iran war exceed Pentagon count by at least four

https://www.reuters.com/world/middle-east/us-troop-deaths-iran-war-exceed-pentagon-count-by-least...
51•wslh•37m ago•18 comments

Bill Joy – Why the future doesn't need us (2000)

https://www.wired.com/2000/04/joy-2/
2•foma-roje•38m ago•1 comments

OpenAI hacked by small team of white hat security researchers

https://venturebeat.com/security/openai-hacked-by-small-team-of-white-hat-security-researchers-us...
2•s3p•40m ago•0 comments

Trump announces 'forever' deal to defend Greenland, Denmark says sign next week

https://www.washingtonpost.com/politics/2026/09/18/trump-announces-deal-over-greenland-that-stops...
7•rmason•41m ago•2 comments

Al-Khwarizmi – Father of Algebra (c.780-850)

https://www.storyofmathematics.com/islamic_alkhwarizmi.html/
3•ahmedhossamdev•43m ago•0 comments

Hex turns complex analysis into visual reports with GPT-6 Astra

https://openai.com/index/hex-gpt-6-astra
1•vertigoruntime•43m ago•0 comments

The US 'Kill Chain' That Destroyed an Iranian School

https://www.bloomberg.com/graphics/2026-iran-school-attack
11•forthwall•43m ago•0 comments

What Software Teams Can Learn from the Factory Transition to Electricity

https://www.ito.ai/blog/electrification-of-factories-software-teams
1•jevanish•43m ago•0 comments

'Ask for what you want' is a key skill for the 21st century

https://www.robinsloan.com/lab/ask-for-what-you-want/
3•arbesman•47m ago•0 comments

Energy-Based Models

https://energy-based-model.github.io/
2•sharma-arjun•49m ago•0 comments

Gemini Hacked Three Companies in First Known Breakout by Google's AI

https://www.wsj.com/tech/ai/gemini-hacked-three-companies-in-first-known-breakout-by-googles-ai-5...
10•berkeleyjunk•55m ago•4 comments

Hacker News Firehose for iOS

https://blog.harrison.page/hacker-news-firehose-ios/
1•harrisonpage•56m ago•1 comments