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.

Gaussian Function

https://en.wikipedia.org/wiki/Gaussian_function
1•tristenharr•44s ago•0 comments

Show HN: Neural Fit game -Adjust the network's weights and biases

https://neuralfit.ai201.site/
2•Gooblebrai•1m ago•0 comments

Trump Made $1B on Crypto Deals While His Fans Lost a Fortune

https://www.wsj.com/finance/currencies/trump-made-1-billion-on-crypto-deals-while-his-fans-lost-a...
4•doener•3m ago•0 comments

Borrowing the Night: Reclaiming Idle Inference GPUs for Research

https://runwayml.com/news/borrowing-the-night-reclaiming-idle-inference-gpus-for-research
2•nielka•4m ago•0 comments

Spiritual Bypass

https://en.wikipedia.org/wiki/Spiritual_bypass
2•wslh•6m ago•0 comments

Show HN: Visualizing Contrastive Language-Audio Pretraining (Clap)

https://adamsohn.com/clap/
2•dataviz1000•7m ago•0 comments

Code Search: How Agents Search Across Snap's Codebase

https://eng.snap.com/code_search
3•Kaedon•9m ago•0 comments

Gen Z is forgoing the institution of mariage

https://www.cnbc.com/2026/07/02/gen-z-marriage-rates-american-dream.html
3•cramer4next•9m ago•1 comments

BlastRadar – paste a Git diff, get a production risk score in 10 seconds

https://blastradar.vercel.app/
2•M_Carpenter•9m ago•0 comments

China Tells Telecom Carriers to Phase Out Foreign Chips by 2027 (2024)

https://www.wsj.com/tech/china-telecom-intel-amd-chips-99ae99a9
2•mgh2•12m ago•1 comments

Show HN: Material 3 Expressive Web Components

https://matraic.github.io/m3e/
2•matraic•13m ago•0 comments

The 'Father of the Internet' is finally retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
5•rmason•13m ago•1 comments

Burned out, how do I get out of the rut?

2•brandgefahr•17m ago•2 comments

NLRB Case of Denise Unterwurzacher and Atlassian

https://www.nlrb.gov/case/16-CA-324971
3•abeppu•17m ago•1 comments

Microsoft Frontier Company – Announcement

https://blogs.microsoft.com/blog/2026/07/02/microsoft-frontier-company-ai-engineering-that-amplif...
3•dzonga•18m ago•0 comments

Swift-Nio-QUIC

https://github.com/apple/swift-nio-quic
2•frizlab•19m ago•0 comments

What's new in Swift: June 2026 Edition

https://swift.org/blog/whats-new-in-swift-june-2026/
2•frizlab•19m ago•0 comments

'Separate in name and power': How America reinvented English

https://www.bbc.com/future/article/20260630-how-america-reinvented-english
4•1659447091•19m ago•1 comments

Fly Through Hogwarts

https://hogwarts-production.up.railway.app/
2•memalign•23m ago•0 comments

Running a Virtual Machine on a Cloud Box That Can't Run Virtual Machines

https://www.frankchiarulli.com/blog/nix-pvm/
2•fcjr•25m ago•0 comments

Virginia Bans Sale of Geolocation Data

https://www.hunton.com/privacy-and-cybersecurity-law-blog/virginia-bans-sale-of-geolocation-data
3•toomuchtodo•25m ago•1 comments

GitLab founder when facing terminal cancer attacks it like a startup problem

https://twitter.com/afshineemrani/status/2072363127552016501
2•rmason•26m ago•0 comments

The Music of Destruction

https://thebaffler.com/latest/the-music-of-destruction-fuelling
2•lermontov•27m ago•0 comments

WhatsApp to roll out username system, allowing users to hide phone numbers

3•PetaTech-News•29m ago•1 comments

Show HN: LaunchPact - Get upvotes for your Product Hunt launch

https://www.launchpact.io
1•launchpact_io•30m ago•2 comments

The Ramanujan Challenge for AI

https://www.ramanujanmachine.com/ramanujan-challenge/
1•robinhouston•30m ago•0 comments

Pacific West Real Estate Group

https://www.pacificwestre.ca/
1•PWREALESTATE•31m ago•1 comments

Fundamental Attribution Error

https://en.wikipedia.org/wiki/Fundamental_attribution_error
2•chistev•34m ago•0 comments

Hands-Free Lockpicking: Critical Vulns in Dormakaba's Access Control System

https://sec-consult.com/blog/detail/hands-free-lockpicking-critical-vulnerabilities-in-dormakabas...
1•denysvitali•34m ago•0 comments

Recommending Linux Distros Has Never Been This Fun [video]

https://www.youtube.com/watch?v=855QEhMlFXg
2•ashitlerferad•35m ago•0 comments