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

25th Amendment – A Viral Politics Game

https://games-by-will.com/25th-amendment/
1•wjuseck•3m ago•0 comments

True Queue – Task queue extension for Pi coding agent

https://github.com/Krystofee/true-queue
1•krystofee•5m ago•1 comments

Show HN: Compare Codex and Claude Code reviews side by side

https://twitter.com/plannotator/status/2041264274228781520
1•ramoz•6m ago•0 comments

Derek Lowe on "Peptides"

https://www.science.org/content/blog-post/ah-peptides-where-begin
1•A_D_E_P_T•7m ago•1 comments

View Transitions Toolkit

https://chrome.dev/view-transitions-toolkit/
1•aragonite•11m ago•0 comments

Gemma 4 clocking 12 tokens / SEC on Pixel 7A

https://twitter.com/1littlecoder/status/2040830792306425981
1•amrrs•11m ago•0 comments

Rust CLI Toy

https://github.com/smbcloudXYZ/smbcloud-cli
1•kampak212•11m ago•0 comments

AI Is Not Draining the Colorado River

https://www.outsideonline.com/outdoor-adventure/environment/ai-water-use-colorado-river-footprint/
2•greenie_beans•12m ago•0 comments

Artist Alexis Rockman Traces the Unsettling Evolution of a Climate in Crisis

https://www.thisiscolossal.com/2025/12/alexis-rockman-feedback-loop-climate-paintings/
2•akkartik•12m ago•0 comments

Klore – I compiled 3 Alex Hormozi books into an interconnected wiki using LLMs

https://github.com/vbarsoum1/llm-wiki-compiler
1•vbarsoum•13m ago•0 comments

LLM on a 1998 iMac G3 (32 MB RAM)

https://github.com/maddiedreese/imac-llm
1•Philpax•14m ago•0 comments

The App Store Is Flooded with AI Slop, Legitimate Developers Are Paying for It

https://www.forbes.com/sites/josipamajic/2026/03/24/the-apple-app-store-is-flooded-with-ai-slop-a...
4•halcdev•15m ago•0 comments

Relation between Layoffs and AI tools subscriptions

https://www.reddit.com/r/Layoffs/s/QlUYUyjWuP
2•the_arun•17m ago•0 comments

Can AI answer tax questions reliably?

https://accountsdraft.com/resources/can-chatgpt-answer-uk-tax-questions-reliably
1•Rob_Benson-May•18m ago•0 comments

DRAM Prices Rise Again as Samsung Adds 30% Increase

https://www.eteknix.com/dram-prices-rise-again-as-samsung-adds-30-increase/
1•elorant•21m ago•1 comments

Talat's AI meeting notes stay on your machine, not in the cloud

https://techcrunch.com/2026/03/24/talats-ai-meeting-notes-stay-on-your-machine-not-in-the-cloud/
1•PaulHoule•23m ago•1 comments

Reasons Dumbphones Work

https://josebriones.substack.com/p/3-reasons-dumbphones-work
1•toomuchtodo•25m ago•1 comments

Block secrets before they enter LLM's Context with Agentmask

https://github.com/adithyan-ak/agentmask
1•akoffsec•25m ago•0 comments

Show HN: We unionized Maxwell's Demon– A paper on labor rights in thermodynamics

https://zenodo.org/records/19442828
1•Serena_Zayn•28m ago•0 comments

Thick Steps and Thin Steps in the AI Era

https://aparnacd.substack.com/p/thick-steps-and-thin-steps-in-the
1•nowflux•28m ago•0 comments

OpenClaw CVE Tracker

https://days-since-openclaw-cve.com
1•cdrnsf•29m ago•0 comments

Show HN: I built a site that turns your Steam gaming hours into a RL skill tree

https://alternatelife.xyz/
3•naorz•29m ago•0 comments

Show HN: Jbofs – explicit file placement across independent disks

https://github.com/aozgaa/jbofs
2•aozgaa•29m ago•3 comments

Legal Is Next

https://www.harvey.ai/blog/autonomous-agents-legal-is-next
1•nowflux•32m ago•0 comments

AI vs. Human Intelligence: Comparing Strengths and Limits

https://www.intuit.com/blog/innovative-thinking/ai-vs-human-intelligence/
1•salkahfi•32m ago•0 comments

Nutella product placement on Artemis II [video]

https://www.youtube.com/watch?v=lr0T1QCTl-M
1•reconnecting•34m ago•0 comments

Tim Cook Is an Embarrassing Coward

https://karlbode.com/tim-cook-is-an-embarrassing-coward/
5•cdrnsf•35m ago•1 comments

Subagent Invocation: Why Your Chatbot Needs a Team

https://wpp.opero.so
1•juancruzguillen•35m ago•0 comments

$2000 Bug Bounty to Whoever Fixes the Lenovo Legion Pro 7's Speakers on Linux

https://github.com/nadimkobeissi/16iax10h-linux-sound-saga/blob/main/PLEDGE.md
2•nickswalker•39m ago•0 comments

Orientale basin photographed by Artemis II

https://www.nasa.gov/image-detail/amf-art002e009212/
2•ajd555•42m ago•1 comments