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.

Stackoverflow 2026 Developer Survey

https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/
1•marciob•2m ago•0 comments

Show HN: SynoRing – An input ring for smart glasses and everything

https://www.synoring.ai
1•CLCKKKKK•6m ago•0 comments

Spotify Partners With Bookshop.org for physical book sales

https://newsroom.spotify.com/2026-02-05/bookshop-partnership-page-match-announcement/
1•kristianp•14m ago•0 comments

Does Fast Mode Do Anything?

https://doesfastdoanything.com/
2•luu•16m ago•0 comments

Max severity SonicWall SMA1000 flaw now exploited in attacks

https://www.bleepingcomputer.com/news/security/max-severity-sonicwall-sma1000-flaw-now-exploited-...
1•wondersky•17m ago•0 comments

Resident Evil 1995-08-04 Prototype: Full Disk and ASM Disassembly Analysis [video]

https://www.youtube.com/watch?v=NFodrCsNJaI
1•stein1946•19m ago•0 comments

Ukraine hits second major tech site, expanding range of targets inside Russia

https://www.reuters.com/world/europe/russias-yandex-says-second-data-centre-hit-by-drone-attack-2...
2•JumpCrisscross•21m ago•0 comments

Every lawsuit against an AI company

https://ailawsuittracker.com/
2•marciob•22m ago•0 comments

District Six

https://en.wikipedia.org/wiki/District_Six
1•thunderbong•25m ago•0 comments

How to Pronounce English Like a Native

https://youglish.com/
1•Tomte•30m ago•0 comments

The Awesome Power of Constraint Solvers

https://btmc.substack.com/p/the-awesome-power-of-constraint-solvers
1•zdw•31m ago•0 comments

Show HN: Localci, run your GitHub Actions jobs locally before you push

https://github.com/peters/localci
1•petersunde•36m ago•0 comments

Electric two-wheelers offer mobility to some women

https://www.pakistantoday.com.pk/2026/06/17/electric-two-wheelers-offer-mobility-to-some-women-bu...
1•doener•41m ago•0 comments

Gemini API RLS notes: 3.7-flash now routed to 3.8-flash, 3.5->3.6

https://ai.google.dev/gemini-api/docs/changelog
2•cagey•1h ago•1 comments

CortextAI – A private, offline AI workspace for email, notes, tasks, and files

https://cortextai.saposs.com
1•jimmy_lee•1h ago•0 comments

6 Months of Bubbles

https://www.gordonmclean.co.uk/2026/10/09/6-months-of-bubbles/
2•rdmuser•1h ago•0 comments

Optimization is the root of all evil

https://12gramsofcarbon.com/p/the-optimization-theory-of-everything
2•theahura•1h ago•0 comments

RAOP playback to HomePod 2 stopped working after HomePod OS 27 update

https://gitlab.freedesktop.org/pipewire/pipewire/-/work_items/5516
1•chazeon•1h ago•0 comments

Trump approves tiny 'cars of the near future'

https://thehill.com/policy/energy-environment/5635349-donald-trump-approves-tiny-cars/
3•harambae•1h ago•0 comments

SpaceX Raised $111B – It Needs More [video]

https://www.youtube.com/watch?v=9SAgLMahZm4
3•koolhead17•1h ago•0 comments

Assorted things I've been mulling over regarding agents in the economy

https://twitter.com/patrickc/status/2108706907859116280
1•MrBuddyCasino•1h ago•0 comments

Terence Tao on "Math 2.0" [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
1•atdt•1h ago•2 comments

Understanding why you'd use Effect TS

https://cm.xyz/blog/understanding-why-youd-use-effect-ts
3•nilsbunger•1h ago•0 comments

The story of utopias by Lewis Mumford

https://www.gutenberg.org/ebooks/75654
2•doener•1h ago•0 comments

Vegetables are half as nutritious as they were in the 1960s

https://www.telegraph.co.uk/business/2026/10/07/vegetable-nutrition-halved-since-60s/
14•WarOnPrivacy•1h ago•12 comments

A persistent accuracy ceiling in automated verbal deception detection

https://arxiv.org/abs/2610.12118
1•sbulaev•1h ago•1 comments

wBlock 3.2 – The next-generation ad blocker for Safari

https://github.com/0xCUB3/wBlock/releases/tag/3.2.0
1•nntwozz•1h ago•0 comments

Ongoing lawsuits allege GLP-1s can cause serious harm; we don't know how often

https://text.npr.org/nx-s1-5996652
1•1659447091•1h ago•0 comments

A Programmable Readout Pixel Image Sensor

http://image-sensors-world.blogspot.com/2026/10/programmable-readout-pixel.html
1•giuliomagnifico•1h ago•0 comments

The Unreasonable Effectiveness of Linear Prediction as a Perceptual Metric

https://arxiv.org/abs/2310.05986
1•E-Reverance•1h ago•0 comments