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.

Iftest: One Line = One Test

https://github.com/JavierGonzalez/iftest
1•gonzojgg•50s ago•0 comments

Telling an agent to be honest isn't enough

https://www.habchy.dev/writing/telling-an-agent-to-be-honest-isnt-enough
1•yveshabchy•3m ago•0 comments

QLIC – Competitive with JXL -e 9 at 9x the encode speed

https://github.com/OzzyMitchell/QLIC
1•ozzymitchell•4m ago•1 comments

Age v1.3.2 Is Out

https://github.com/FiloSottile/age/tree/v1.3.2
1•Sami_Lehtinen•4m ago•0 comments

A False Alarm on a Clear Day

https://medium.com/@majid.fekri/a-false-alarm-on-a-clear-day-a3bb9f9f5d23
1•supportm•4m ago•1 comments

Steve Jobs' 8th Grade Science Project Sells for $34,375

https://www.macrumors.com/2026/08/28/steve-jobs-science-project-auction/
1•Brajeshwar•5m ago•0 comments

Franco Fontana

https://francofontanaphotographer.com/home
1•handfuloflight•5m ago•0 comments

Back-to-the-landers, homesteader influencers, and myself

https://salesforcechild.substack.com/p/on-back-to-the-landers-homesteader
1•tosh•6m ago•0 comments

Show HN: Ubimage an iPhone app that draws your geotagged photos on the horizon

https://ubimage.app/
1•sathio•10m ago•0 comments

How I turned Granola action items into to-do list

https://runnrr.io
1•dvitjazevs•10m ago•1 comments

Mobbin MCP

https://mobbin.com/mcp
1•handfuloflight•13m ago•0 comments

Creepy Crawlies

https://people.kernel.org/monsieuricon/creepy-crawlies
2•zdw•14m ago•1 comments

Optimal transport is art: images to collection of optimally placed particles

https://blog.wolfram.com/2016/05/06/computational-stippling-can-machines-do-as-well-as-humans/
1•adec314•16m ago•1 comments

Show HN: Flint – A minimal C/C++ package manager and build tool written in C

https://github.com/mainak55512/flint
2•mbhatt99•19m ago•0 comments

Ask HN: How to break Claude Code addiction?

4•isomorph•20m ago•2 comments

Nike, Inc. Announces Fourth Quarter Fiscal 2026 Earnings and Conference Call

https://www.businesswire.com/news/home/20260528240663/en/NIKE-Inc.-Announces-Fourth-Quarter-Fisca...
2•vhtyaaz•22m ago•0 comments

Sextides

https://sextides.store
2•tjcrowley•23m ago•1 comments

Spain pays up to €15k to digital nomads how it works and what is open in 2026

https://www.foxapply.com/blog/en/spain-pays-digital-nomads-extremadura
1•josanjohnata•24m ago•0 comments

AI Revives a Dead Sleep Company

https://www.josephspurrier.com/ai-revives-a-dead-sleep-company
1•speckx•24m ago•0 comments

Calibrate Before You Accelerate: Bias Toward Action in a New Role

https://tucker.wales/writing/bias-towards-action/
1•tuckerwales•24m ago•0 comments

Turn Any iMac into an HDMI Monitor

https://medium.com/@chris.ahrweiler/turn-any-imac-into-an-hdmi-monitor-da2211a69ec9
1•docjojo•24m ago•0 comments

Regional Resilience and Vulnerability to Global Catastrophic Risk

https://onlinelibrary.wiley.com/doi/10.1002/gch2.70146
1•bookofjoe•25m ago•0 comments

Hugh Howey's distraction-free word processor

https://github.com/hughhowey/neo
1•tomcam•26m ago•0 comments

Show HN: Free LIFETIME pro giveaway to my pitchbook alternative

https://startupwiki.tech/giveaway
1•skiski•26m ago•0 comments

Show HN: Iatethis, A meal tracker where you just type what you ate

https://iatethis.today
1•prateekpunetha•27m ago•0 comments

AI Models – Political Compass

https://aipolcom.net/
1•voisin•29m ago•0 comments

Rabbiting on and on about Superstitions (2005)

https://www.gazetteherald.co.uk/news/6669718.rabbiting-on-and-on-about-superstitions/
1•joebig•31m ago•0 comments

A local scrubber for text you're about to send to an LLM

https://github.com/Sushmey/Redact/tree/main
2•sushmeywork•34m ago•0 comments

Music publishers sue Anthropic, allege "blantant theft" of copyrighted music

https://www.axios.com/2026/08/29/anthropic-sony-warner-music-copyright
6•giuliomagnifico•34m ago•0 comments

Snow Algae

https://en.wikipedia.org/wiki/Snow_algae
1•gurjeet•35m ago•0 comments