frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: ReJot – Database replication framework aimed at developers

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

Anthropic fires dev who accidentally leaked Claude Code

https://twitter.com/KevinNaughtonJr/status/2039087166626656618
1•aurareturn•43s ago•0 comments

Marc Andreessen's Dangerously Unexamined Life

https://www.thenation.com/article/society/marc-andreessen-silicon-valley-military-tech/
1•cassidius•1m ago•0 comments

The Spec Layer

https://mattrickard.com/the-spec-layer
1•speckx•1m ago•0 comments

Samsung's Blood Pressure Monitoring Feature Now Available

https://news.samsung.com/us/samsung-blood-pressure-monitoring-feature-available
1•brandonb•2m ago•0 comments

EU AI Act Enforcement in August 2026. What That Means for Your LLM Pipeline

https://comply-tech.co.uk/blog/eu-ai-act-2026-llm-pipeline.html
1•ComplyTechAPI•3m ago•0 comments

American Heart Association dietary guidance counter to some MAHA guidelines

https://www.theguardian.com/us-news/2026/apr/01/american-heart-association-dietary-guidelines-maha
1•brandonb•4m ago•0 comments

Busting the AI Youth Unemployment Myth

https://www.apolloacademy.com/busting-the-ai-youth-unemployment-myth/
1•toomuchtodo•5m ago•0 comments

The Only Image and PDF Tools You'll Ever Need

https://apps.microsoft.com/detail/9mwwpf3l1wfg?hl=en-US&gl=US
1•riasatsk•6m ago•0 comments

AI Agents and WebMCP: Tools as Self-Loading Skills

https://bandarra.me/posts/webmcp-tools-as-skills
1•andreban•7m ago•0 comments

Gentoo GNU Hurd

https://www.gentoo.org/news/2026/04/01/gentoo-hurd.html
1•Lockal•8m ago•0 comments

Jentic Mini: open-source API execution layer built by OpenClaw for OpenClaws

https://github.com/jentic/jentic-mini/discussions/129
10•seanblanchfield•8m ago•0 comments

'Spin-flip' in metal complexes can help solar cells leap beyond limits

https://www.kyushu-u.ac.jp/en/researches/view/377/
2•hliyan•9m ago•0 comments

Self hosting as much of my online presence as practical

https://codon.org.uk/~mjg59/blog/p/self-hosting-as-much-of-my-online-presence-as-practical/
1•speckx•9m ago•0 comments

Smithing Words

https://www.managementcraft.co/blog/smithing-words
1•rafaelc•10m ago•0 comments

Google researchers just put a new expiration date on Bitcoin

https://mashable.com/article/google-research-bitcoin-cryptography-broken
1•0in•11m ago•0 comments

Vibe Maintainer

https://steve-yegge.medium.com/vibe-maintainer-a2273a841040
2•jbredeche•11m ago•0 comments

Show HN: I analyzed 100 viral YouTube videos – here are the patterns I found

https://www.cre8virals.com/blog/youtube-viral-patterns
1•lucasay•11m ago•0 comments

"No Way To Prevent This", says only industry where this regularly happens

https://qbix.com/blog/2026/04/01/no-way-to-prevent-this-says-only-industry-where-this-regularly-h...
1•EGreg•11m ago•1 comments

Sachin1801/Claude-Code – DeepWiki

https://deepwiki.com/Sachin1801/claude-code
1•JnBrymn•11m ago•0 comments

SpaceX Confidentially Files for IPO

https://www.bloomberg.com/news/articles/2026-04-01/spacex-is-said-to-file-confidentially-for-ipo-...
3•iamronaldo•12m ago•1 comments

Visual History of Western Philosophy

https://www.denizcemonduygu.com/philo/
1•eamag•12m ago•0 comments

Cameroonian rice farmers caught between national ambition and rural realities

https://globalvoices.org/2026/03/24/cameroonian-rice-farmers-caught-between-national-ambition-and...
2•PaulHoule•12m ago•0 comments

Founder of 'orgasmic meditation' co gets 9 yrs prison in forced labor conspiracy

https://apnews.com/article/onetaste-orgasmic-meditation-founder-daedone-sentenced-1fdbf1d4b230781...
2•randycupertino•12m ago•1 comments

Why Everyone Wants to Be "High Agency" Now

https://www.nytimes.com/2026/04/01/opinion/high-agency-silicon-valley.html
3•gkaemmer•13m ago•0 comments

The State of MicroVM Isolation in 2026 (Firecracker, Cloud Hypervisor, Rust-Vmm)

https://emirb.github.io/blog/microvm-2026/
2•emirb•13m ago•0 comments

AI Agent Achieves 2100 Turns Without Drift or Loss of Coherence [pdf]

https://github.com/Rychek4/Pattern_Project_Public/blob/main/docs/architecture/AI%20Agent%20Achiev...
2•Rychek4•14m ago•0 comments

Indonesian Mega-Farm Drives Surge in Deforestation

https://e360.yale.edu/digest/indonesia-mega-farm-deforestation-2025
2•Brajeshwar•16m ago•0 comments

I hate customer-service chatbots: Consumer-AI relationship off to rocky start

https://www.cnbc.com/2026/04/01/ai-chatbot-customer-service-complaints-refunds.html
1•strict9•16m ago•0 comments

Ask HN: What dev tools do you rely on that nobody talks about?

3•crcsmnky•20m ago•0 comments

Ask HN: Freelancer? Seeking freelancer? (April 2026)

2•jon_north•21m ago•1 comments