frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: ReJot – Database replication framework aimed at developers

https://github.com/rejot-dev/rejot
9•WilcoKruijer•4h 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•3h 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•3h 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•3h ago
If the consumers stall, doesn't the WAL have to grow in unbounded fashion? Does it place any backpressure on the writers?
WilcoKruijer•3h 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.

The Group Behind Project 2025 Has a Plan to Crush the Pro-Palestinian Movement

https://www.nytimes.com/2025/05/18/us/project-esther-heritage-foundation-palestine.html
1•whack•1m ago•0 comments

SQL Server 2025

https://www.microsoft.com/en-us/sql-server/blog/2025/05/19/announcing-sql-server-2025-preview-the-ai-ready-enterprise-database-from-ground-to-cloud/
1•vyrotek•2m ago•0 comments

The Making of Apple TV's Murderbot

https://arstechnica.com/culture/2025/05/the-making-of-apple-tvs-murderbot/
1•unsnap_biceps•2m ago•0 comments

Measuring Lunar North and South Polar Regions

https://iopscience.iop.org/article/10.3847/PSJ/adbc9d
1•bryanrasmussen•4m ago•1 comments

Residue Number Systems for GPU Computing. Can the GPU Be Replaced?

https://leetarxiv.substack.com/p/residue-number-systems-for-gpu-computing
1•muragekibicho•6m ago•0 comments

Nvidia builds a server to run x86 workloads alongside agentic AI

https://www.theregister.com/2025/05/19/nvidia_rtx_pro_servers/
2•rntn•9m ago•0 comments

I Think Lt Clint Lorance Is a Murderer (2021)

https://taskandpurpose.com/news/think-lt-clint-lorance-murderer/
1•Tomte•9m ago•0 comments

I Don't Love Gödel, Escher, Bach (2018)

https://journal.infinitenegativeutility.com/why-i-dont-love-godel-escher-bach
2•Tomte•10m ago•1 comments

A UV Meter for the Flipper Zero

https://hackaday.com/2025/05/19/a-uv-meter-for-the-flipper-zero/
1•nickthegreek•11m ago•0 comments

Ask HN: What has happened to Azimov's rules for robots in 2025?

1•eimrine•11m ago•1 comments

Ask HN: What are some "eureka" projects?

1•90s_dev•11m ago•1 comments

Sensemaking: Where Can I Find High-Density Information Discussions

https://www.youtube.com/watch?v=8Es_WTEgZHE
1•jonas_kgomo•12m ago•1 comments

The Future of Wikipedia

https://www.ljosmyndun.com/en/blog-posts/wiki-niet-weg-is-is-gezien
1•Ljosmyndun2•13m ago•0 comments

Lipschitz Pruning: Hierarchical Simplification of Primitive-Based SDFs

https://wbrbr.org/publications/LipschitzPruning/
2•ibobev•14m ago•0 comments

Temporal Super Resolution via Multisampling

http://filmicworlds.com/blog/temporal-super-resolution-via-multisampling/
2•ibobev•15m ago•0 comments

Capuchin monkeys develop 'fad' of abducting baby howlers, cameras reveal

https://phys.org/news/2025-05-capuchin-monkeys-bizarre-fad-abducting.html
1•arunc•15m ago•0 comments

Particle Life simulation in browser using WebGPU

https://lisyarus.github.io/blog/posts/particle-life-simulation-in-browser-using-webgpu.html
2•ibobev•18m ago•0 comments

Vibe coding is changing the indiehacker landscape

https://wonderful.dev/alan/post/thread_mfetqzf2srr06krwevaqe2xl
2•welder•19m ago•0 comments

Microsoft employee disrupts Satya Nadella's Build conference keynote

https://www.theverge.com/news/669362/microsoft-employee-protest-build-conference-satya-nadella
3•donsupreme•20m ago•1 comments

claude-code-action: Claude Code GitHub Action

https://github.com/anthropics/claude-code-action
1•afrnswrth•20m ago•0 comments

Show HN: A native Hacker News reader with integrated todo/done tracking

https://github.com/haojiang99/hacker_news_reader
1•coolwulf•21m ago•1 comments

Designing type inference for high quality type errors

https://blog.polybdenum.com/2025/02/14/designing-type-inference-for-high-quality-type-errors.html
1•PaulHoule•23m ago•0 comments

Nuxt Starter Kit

https://nuxtstarterkit.com/
1•mokkapps•23m ago•0 comments

JSPM 4.0, convention over configuration for a standards based front end workflow

https://jspm.org/jspm-4.0-release
2•Jarreddebeer•24m ago•0 comments

Show HN: GoStudio.ai – Personal Branding Photos in 10 mins

https://www.gostudio.ai/
1•kanikabhatt•24m ago•0 comments

Show HN: A platform to share and discuss hobby operating system projects

https://osgallery.mrunix.me/
1•mrunix•25m ago•0 comments

European Lisp Symposium 2025

https://european-lisp-symposium.org/2025/index.html
1•kagevf•26m ago•1 comments

A Python Frozenset Interpretation of Dependent Type Theory

https://www.philipzucker.com/frozenset_dtt/
2•philzook•26m ago•0 comments

The Definition of Standard ML [pdf]

https://smlfamily.github.io/sml97-defn.pdf
1•alabhyajindal•27m ago•0 comments

W.a.s.t.e. Not: John Scanlan looks for the future in the dustbins of history

https://thebaffler.com/latest/w-a-s-t-e-not-adams
1•Thevet•29m ago•0 comments