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.

Convergence Is Not Enough

https://www.inkandswitch.com/livelymerge/notebook/lm-02/
1•zdw•55s ago•0 comments

Show HN: Bike ride planning tool with weather

https://theinstant.cc/ride
1•Gshaheen•1m ago•0 comments

We used to be able to buy things in this country

https://dannykatch.substack.com/p/we-used-to-be-able-to-buy-things
1•sudobash1•2m ago•0 comments

Netflix employee fired for sharing personal details in retreat trust exercise

https://www.inc.com/amaya-nichole/netflix-company-retreat-sparked-lawsuit-experts-say-real-damage...
1•softwaredoug•2m ago•0 comments

RTL meaning: What is Register Transfer Level and how to use it?

https://digilent.com/blog/rtl-meaning-what-is-register-transfer-level-and-how-to-use-it/
1•teleforce•2m ago•0 comments

Astronauts describe persistent 'observer' sensation after 6 month missions

https://spacedaily.com/sd-v-astronauts-returning-from-six-month-missions-describe-a-persistent-ob...
1•zdw•4m ago•0 comments

Bonfire for communities: groups and tools to organise together

https://bonfirenetworks.org/posts/bonfire-for-communities/
2•rguiscard•7m ago•0 comments

Functional CQRS with .NET

https://onurgumus.github.io/FCQRS/tutorial/index.html
2•reverseblade2•7m ago•0 comments

DConf 2026 in London

https://dconf.org/2026/index.html
5•teleforce•9m ago•0 comments

Quick and Easy Parser Combinators

https://www.cyan.sh/blog/posts/tutorial-quick-easy-parser-combinators.html
2•birdculture•10m ago•0 comments

PiEEG XR looking tester for new device – transfer emotions and mimics to VR

https://twitter.com/pieeg_official/status/2081512367838380346
2•Christiangmer•11m ago•1 comments

Should We Make Daylight Saving Time Permanent?

https://www.nytimes.com/2026/07/27/science/daylight-saving-time-health-safety.html
6•0in•13m ago•1 comments

Show HN: Call Me, your AI agents ring you with no extra carrier costs

https://github.com/radres/call-me
2•radres•14m ago•0 comments

C/C++ projects packaged for Zig

https://github.com/allyourcodebase
3•jcbhmr•14m ago•0 comments

Kimi is Claude

https://imgur.com/a/vek7fVQ
6•fny•18m ago•2 comments

America has become an entrepreneur's paradise

https://www.economist.com/business/2026/07/27/america-has-become-an-entrepreneurs-paradise
5•bookofjoe•19m ago•1 comments

Lost in Context: Addressing Context Anxiety in Large Language Models

https://arxiv.org/abs/2607.21616
2•StatsAreFun•21m ago•0 comments

China begins mass production of homegrown DUV chipmaking tools

https://www.tomshardware.com/tech-industry/semiconductors/china-begins-mass-production-of-domesti...
4•yogthos•22m ago•0 comments

Cisco launches super affordable security language model called Antares

https://www.neowin.net/news/cisco-launches-super-affordable-security-language-model-called-antares/
2•willmarch•22m ago•0 comments

Show HN: Ami – A local, open-source agent that does your busywork across apps

https://github.com/NanoNets/ami
2•vitaelabitur•28m ago•0 comments

Memories of a Checkstand Lifestyle (2021)

https://tagn.wordpress.com/2021/05/09/memories-of-a-checkstand-lifestyle/
2•LastTrain•35m ago•0 comments

TanStack Markdown and TanStack Highlight

https://tanstack.com/blog/introducing-tanstack-markdown-and-highlight
3•MehrdadKhnzd•37m ago•0 comments

Kimi K3 Now Available via Telnyx Inference API

https://telnyx.com/release-notes/kimi-k3-telnyx-inference
3•fionaattelnyx•37m ago•3 comments

A Discord Alternative – Echoed

https://echoed.gg/
8•acley•38m ago•1 comments

John's colleague told him he didn't belong. It was just what he needed to hear

https://text.npr.org/nx-s1-5906734
5•mooreds•38m ago•0 comments

Arizona State launches influencer degree where students must gain real followers

https://www.dexerto.com/entertainment/arizona-state-launches-influencer-degree-where-students-mus...
3•TMWNN•38m ago•0 comments

Show HN: Heddle- ATC for Your Subagents

https://github.com/zyads/heddle
2•aether-zyads•41m ago•0 comments

60 Years Ago, a Submerged Submarine Circled the Globe for the First Time (2020)

https://www.popularmechanics.com/military/weapons/a32009109/operation-sandblast-sumbarine-circumn...
2•baud147258•41m ago•1 comments

AI labs don't know how to make you trust them

https://www.semiodept.com/p/ai-labs-dont-know-how-to-make-you
2•pressentiment•43m ago•0 comments

David Sacks: "Now the gaslighting begins"

https://twitter.com/DavidSacks/status/2081470576653406328
5•anon373839•43m ago•0 comments