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.

The PostgreSQL C Dialect

https://wiki.postgresql.org/wiki/The_PostgreSQL_C_Dialect
1•plaur782•1m ago•0 comments

Trump signs executive orders to drive development of quantum computer by 2028

https://finance.yahoo.com/markets/article/trump-signs-executive-orders-to-drive-development-of-co...
1•wslh•1m ago•0 comments

Server Survival

https://github.com/pshenok/server-survival
1•skogstokig•7m ago•0 comments

Ask HN: How do you make AI writing usable?

1•david_shi•7m ago•0 comments

People around the world see a winner on AI – and it's not the US

https://www.politico.com/news/2026/06/15/people-around-the-world-see-a-winner-on-ai-and-its-not-t...
1•yogthos•7m ago•1 comments

The Value of Standards-Compliant Authentication

https://fusionauth.io/articles/oauth/value-standards-compliant-authentication
1•mooreds•11m ago•0 comments

ContextMaestro – Curated Engineering Feed

https://www.contextmaestro.com/
1•jazzboss•14m ago•0 comments

Knowledge Catalog – universal context engine for agents

https://github.com/GoogleCloudPlatform/knowledge-catalog
1•modinfo•17m ago•0 comments

Google Investing in 'Backrooms' Studio A24 in AI research partnership

https://www.wsj.com/tech/ai/google-investing-in-backrooms-studio-a24-e7585ebe
1•jaredwiener•20m ago•0 comments

Citroën Ami Is an Ultra Affordable EV (2020)

https://insideevs.com/news/401218/citroen-ami-deliveries-june/
1•rawgabbit•22m ago•0 comments

AI's PR Problem

https://blog.dshr.org/2026/05/ais-pr-problem.html
4•linsomniac•24m ago•0 comments

Frozen Reformer

https://arunc.dev/essays/frozen-reformer/
1•arunc•24m ago•0 comments

Ask HN: How do you make the LLM generate good code?

1•bjourne•27m ago•0 comments

Why AI Is a Bubble

https://federicozebele.substack.com/p/this-is-why-ai-is-a-bubble-and-what
4•stanislavb•27m ago•1 comments

Europe must choose between AI and climate goals, data center lobby says

https://www.politico.eu/article/europe-choose-ai-climate-goals-data-center-chief-warns/
3•cdrnsf•29m ago•1 comments

AI Is Not a Tool

https://theconvivialsociety.substack.com/p/your-ai-is-not-a-tool
3•longdefeat•29m ago•0 comments

Robots will replace 700k delivery workers 'sooner or later' warns JD.com boss

https://www.ft.com/content/465635e2-633b-4311-afe5-9b3bff8c9240
3•momentmaker•32m ago•1 comments

The AI shift in cyber risk: why leaders must act now

https://www.cyber.gov.au/about-us/view-all-content/news/five-eyes-cyber-security-agencies-statement
2•Khaine•32m ago•0 comments

Kya is hiring an AI/ML Engineer

https://www.kyahq.com/careers/software-engineer-ai-ml
1•Johnall_n•32m ago•1 comments

Bipartite Matching Is in NC

https://scottaaronson.blog/?p=9851
2•amichail•35m ago•0 comments

Q.js: modern front-end framework for 2026. No build scripts unlike React et al.

https://www.npmjs.com/package/@qbix/q.js
1•EGreg•35m ago•1 comments

Hyperbolic Discounting

https://en.wikipedia.org/wiki/Hyperbolic_discounting
2•rzk•36m ago•0 comments

Report: Kennedy Space Center not ready for era of super heavy rockets

https://arstechnica.com/space/2026/06/report-kennedy-space-center-not-ready-for-era-of-super-heav...
1•voxadam•37m ago•0 comments

Show HN: FastAPI Cloud is in public beta, deploy apps with FastAPI deploy

https://fastapicloud.com/
1•tiangolo•37m ago•1 comments

Payoff Progress of an Amortizated Loan

https://push.cx/payoff-progress
1•pavel_lishin•40m ago•0 comments

Daybreak

https://openai.com/daybreak/
1•Recursing•43m ago•0 comments

Mod Logs: Save every change, thank yourself later

https://unstack.io/mod-logs-save-every-change-thank-yourself-later
2•ScottWRobinson•43m ago•0 comments

Knowledge Agents: Beat Frontier Models with Better Structure

https://weightythoughts.com/p/knowledge-agents-beat-frontier-models
1•lklinger•43m ago•0 comments

Show HN: Who's in the weights? – which people 13 language models know

https://whos-in-the-weights.vercel.app/
1•heterodoxjedi•44m ago•0 comments

PsychAdapter: Personality in LLM output via trait-language patterns, not prompts

https://github.com/humanlab/psychadapter
1•indynz•46m ago•0 comments