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.

Be the first human to review your own code

https://abhinavr.me/posts/be-the-first-human-to-review-your-own-code/
1•avr5500•41s ago•0 comments

Reddit co-founder says tech industry has been 'tone deaf' in explaining AI

https://www.cnbc.com/2026/09/16/reddit-ai-risk-humanity-warning-tech.html
1•cramer4next•1m ago•0 comments

An LLM from First Principles

https://twitter.com/ryanvogel/status/2100218045549412499
1•ryanvogel•1m ago•0 comments

Arch-Based Omarchy 4.0.4 Makes Its Custom Linux Kernel the Default

https://linuxiac.com/omarchy-4-0-4-makes-its-custom-linux-kernel-the-default/
1•fork-bomber•2m ago•0 comments

Is There Alien Debris on the Moon? Some Scientists Plan to Find Out.

https://www.nytimes.com/2026/09/05/science/space/is-there-alien-debris-on-the-moon-some-scientist...
1•bookofjoe•2m ago•1 comments

How BBC Operations dealt with 9/11

https://support.bbc.co.uk/cgi-bin/tickets/showticket
2•betandr•3m ago•2 comments

Why shared-database multi-tenancy isn't the compromise it looks like

https://medium.com/@walexy85/how-i-isolate-tenant-data-in-a-multi-tenant-saas-2fd045122508
1•joshuaajayi•3m ago•0 comments

AI Agent Vercel Eve Web Interface = Amazing

https://medium.com/@daniel-payne-keldan-systems/why-i-think-vercel-eve-web-interface-is-so-much-b...
1•daniel-payne•3m ago•0 comments

Replacing Pull Requests with Delta

https://zed.dev/blog/delta-public-beta
1•vquemener•5m ago•0 comments

Garda whistleblower unit members allege reforms undermined

https://www.rte.ie/news/investigations-unit/2026/0916/1591704-garda-whistleblower-unit-members-bl...
1•firefax•6m ago•0 comments

Completing the banking stack: stablecoins, card issuing, multicurrency

https://column.com/launch/
2•_praf•7m ago•0 comments

SpartanX Solar lousy customer service

1•leoscanlon•7m ago•0 comments

Beltdown: Escaping the Claude Code Sandbox

https://accomplish.ai/blog/beltdown-escaping-the-claude-code-sandbox/
1•snikolaev•8m ago•0 comments

How an AI moratorium can save AI bosses

https://pluralistic.net/2026/09/16/beggar-thy-neighbor/
2•hn_acker•9m ago•0 comments

Apple Hong Kong's credit card fraud problem

https://larrysalibra.com/apple-hong-kongs-credit-card-fraud-problem/
1•DanielVZ•11m ago•0 comments

Should We Accept Degrowth as a Serious Academic Concept?

https://newsletter.humanprogress.org/p/should-we-accept-degrowth-as-a-serious
1•surprisetalk•11m ago•0 comments

Tell the CA Governor to Protect Net Neutrality, Affordability, and Public Safety

https://www.eff.org/deeplinks/2026/09/california-tell-governor-stand-net-neutrality-affordability...
1•hn_acker•13m ago•1 comments

Mainsprings, watermarks, answer boxes and other bad words for good ideas

https://www.arjunkirtipatel.com/blog/mainsprings-watermarks-answer-boxes-and-other-bad-words-for-...
1•arjunkpatel•15m ago•0 comments

Apple May Return to Server Market with Nvidia Technology

https://www.macrumors.com/2026/09/16/apple-may-return-to-server-market/
4•tosh•16m ago•1 comments

Show HN: A Stateful LLM API that works across providers

https://twigg.ai
1•mdebeer•17m ago•0 comments

Show HN: Plant watering system with Arduino Nano

https://sam-burns.com/posts/automatic-plant-watering-system/
2•sam-bee•18m ago•1 comments

Problem Notation and Testing

https://ciju.in/writings/on-problem-notation-and-testing
1•ciju•18m ago•0 comments

Bamzooki

https://en.wikipedia.org/wiki/Bamzooki
1•talkinghead•19m ago•0 comments

OpenAI Expands ChatGPT Ads with Sponsored Agents

https://openai.com/index/reimagining-advertising-with-ai/
4•vertigoruntime•20m ago•0 comments

/pyor:review – Claude skill for human code review

https://github.com/pyor-review/pyor-cli
1•othmanosx•23m ago•0 comments

Valve plans to get Steam games working on compatibility-challenged ARM PCs

https://www.rockpapershotgun.com/were-trying-to-make-it-easier-valve-confirm-the-steam-frame-is-j...
3•HelloUsername•24m ago•0 comments

We're catalyzing megaton-scale climate impact in Brazil

https://blog.google/company-news/outreach-and-initiatives/sustainability/terradot-superpollutants...
1•geox•26m ago•0 comments

AI research institute founded by Yoshua Bengio vandalized in Montreal

https://www.cbc.ca/news/canada/montreal/mila-vandalism-montreal-ai-summit-9.7345851
2•sm001•26m ago•2 comments

DeepMind Paper: Dream-RSI: Recursive Self-Improvement Through Evolving Worlds

https://arxiv.org/abs/2609.14858
4•bananaflag•27m ago•1 comments

I caught an LLM-powered recruiter with a prompt injection on LinkedIn

https://khancyr.github.io/blog/2026/03/15/how-i-caught-an-llm-powered-recruiter-with-a-prompt-inj...
1•bucket2015•29m ago•0 comments