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

"AI16Z" class action alleges founders misled investors in $2.6B crypto scheme

https://www.claimdepot.com/cases/ai16z-class-action-alleges-founders-faked-ai-agent-misled-invest...
2•willyg123•58s ago•0 comments

Disney's ASL Re-Animated Songs from 'Encanto,' 'Frozen 2,' 'Moana 2'

https://www.cartoonbrew.com/music-videos/disney-animations-songs-in-sign-language-bts-260152.html
1•archagon•1m ago•0 comments

Core Automation – the worlds most automated lab

https://www.coreauto.com/
1•averylamp•1m ago•0 comments

Gnome country for old men (song) [video]

https://www.youtube.com/watch?v=WW-8WMiQszk
1•marysminefnuf•2m ago•0 comments

America Doesn't Have the Stomach for Growth

https://aakash.substack.com/p/america-doesnt-have-the-stomach-for
1•logicx24•4m ago•0 comments

Wall Street's Crypto Ambitions Dealt a Setback by Latest Hack

https://www.bloomberg.com/news/articles/2026-04-21/wall-street-s-crypto-ambitions-dealt-a-setback...
1•petethomas•5m ago•0 comments

A Tale of Two Irrigated Agricultures in the Middle Rio Grande Basin

https://www.mdpi.com/2071-1050/18/7/3191
1•PaulHoule•7m ago•0 comments

OpenTrafficMap

https://opentrafficmap.org/
1•Eduard•7m ago•1 comments

Section a of the Voynich Manuscript as Archaic Middle Welsh

https://zenodo.org/records/19675941
1•caryptis•7m ago•0 comments

Claude Code is not making your product better

https://ethanding.substack.com/p/claude-code-is-not-making-your-product
2•jeromechoo•7m ago•0 comments

Arch Linux now has a bit-for-bit reproducible Docker image

https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/44PW52T547MA...
1•speckx•8m ago•0 comments

Ask HN: What would be the impact of a LLM output injection attack?

2•subw00f•8m ago•0 comments

Google Launches Design.md

https://stitch.withgoogle.com/docs/design-md/overview
1•nigelgutzmann•9m ago•0 comments

TypeScript 7.0 Beta

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0-beta/
3•DanRosenwasser•9m ago•0 comments

Enshittification

https://en.wikipedia.org/wiki/Enshittification
2•chistev•9m ago•0 comments

Memory Machines: Can LLMs create lasting flashcards from readers' highlights?

https://memory-machines.com/
1•andymatuschak•10m ago•0 comments

OpenAI's Codex grew 33% in the last 2 weeks (active users 3M –> 4M)

https://xcancel.com/thsottiaux/status/2046602907077038501
1•alecco•10m ago•0 comments

Explorer 1 Overview – first US satellite

https://www.nasa.gov/history/explorer-1-overview/
1•stmw•10m ago•0 comments

Design Is a Generous Gift

https://metedata.substack.com/p/008-design-is-a-generous-gift
1•young_mete•12m ago•0 comments

Ventoux AI – Technical Proposal Advisor – Short-Term Contract – Remote

https://www.ventoux.ai/
1•ventoux-ai•12m ago•0 comments

Dilbert Principle

https://en.wikipedia.org/wiki/Dilbert_principle
1•begueradj•14m ago•0 comments

Israeli operation "Generative AI for Good" creates AI "victims"

https://twitter.com/infolibnews/status/2046618147055173858
3•cramsession•14m ago•1 comments

Challenge over Met Police's use of live facial recognition lost

https://www.bbc.co.uk/news/articles/cq59x4vv954o
1•Cider9986•17m ago•0 comments

Why higher pay hasn't made young adults feel richer

https://www.ft.com/content/b61f60a3-d4d7-46d9-aa6f-dd78dffe71f5
1•paulpauper•19m ago•1 comments

Show HN: Paper Lantern – improving Autoresearch with research knowledge

https://www.paperlantern.ai/code
2•paperlantern•20m ago•1 comments

CrabTrap: An LLM-as-a-judge HTTP proxy to secure agents in production

https://twitter.com/pedroh96/status/2046604993982009825
2•yakkomajuri•21m ago•0 comments

Framework 13 Pro Announced

https://spooling.frame.work/?c=framework&e=nextgen2026&ver=javascript-4.4.4&cver=18&man=Productio...
6•dorjoy•21m ago•2 comments

A Year After Usa.i.d.'S Death, Fired Workers Find Few Jobs and Much Loss

https://www.nytimes.com/2026/04/21/us/politics/usaid-former-employees.html
2•paulpauper•21m ago•0 comments

Desmond Morris, 98, Dies; Zoologist Saw Links Between Humans and Apes

https://www.nytimes.com/2026/04/20/science/desmond-morris-dead.html
1•paulpauper•22m ago•0 comments

Claude Code has full shell access. Your CASB doesn't see it

https://www.getunbound.ai/blog/governing-claude-across-surfaces
2•awesbecher•22m ago•0 comments