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

I didn't realize my LG TV was spying on me until I turned off this setting

https://www.pocket-lint.com/lg-tv-turn-off-live-plus/
1•fcpguru•46s ago•0 comments

Polyglot-image: A disk image that boots on multiple architectures

https://github.com/blitz/polyglot-image
1•todsacerdoti•46s ago•0 comments

Separating AI "context" from models so teams can switch without losing state

https://www.anywr.ai/
1•ethanplusai•2m ago•1 comments

Ask HN: How to find summer internships at startups in SF?

1•cz_the_creator•2m ago•0 comments

Kick Assembler Manual

https://www.theweb.dk/KickAssembler/webhelp/content/cpt_Introduction.html
1•ibobev•3m ago•0 comments

China just carried out its second reusable launch attempt in three weeks

https://arstechnica.com/space/2025/12/china-just-carried-out-its-second-reusable-launch-attempt-i...
1•rbanffy•3m ago•0 comments

Can a Transformer "Learn" Economic Relationships? Revisiting the Lucas Critique

https://aleximas.substack.com/p/can-a-transformer-learn-economic
1•larsiusprime•4m ago•0 comments

Lsp-CLI: CLI language client for LSP language servers

https://github.com/valentjn/lsp-cli
1•handfuloflight•4m ago•0 comments

Researchers develop a camera that can focus on different distances at once

https://engineering.cmu.edu/news-events/news/2025/12/19-perfect-shot.html
1•gnabgib•5m ago•0 comments

Writing DataFrame-Agnostic Python Code with Narwhals – Real Python

https://realpython.com/narwhals-python/
1•rbanffy•6m ago•0 comments

Mostly Automated Proof Repair for Verified Libraries [pdf]

https://kirancodes.me/pdfs/sisyphus-pldi23.pdf
1•todsacerdoti•6m ago•0 comments

Why do students leave exams early?

https://www.njbrown.com/blog/76/
1•ntnbr•7m ago•0 comments

Video to ASCII React Component

https://github.com/elijah0528/video2ascii
1•elijah0528•7m ago•0 comments

AI-powered mock interviews with scoring, diagnostics, and targeted drills

https://www.coachframe.io/
1•oracleedgeapp•10m ago•1 comments

Conductor: Enforce a "Spec → Plan → Code" Workflow in the Gemini CLI

https://github.com/gemini-cli-extensions/conductor
1•gfortaine•10m ago•0 comments

Expertise and Automation: Effects on Wages and Jobs (NBER Working Paper)

https://www.nber.org/papers/w33941
1•imakwana•10m ago•0 comments

We removed 80% of our agent's tools

https://vercel.com/blog/we-removed-80-percent-of-our-agents-tools
1•gmays•11m ago•0 comments

Show HN: Oblique Strategies for Claude Code

https://github.com/jakedahn/oblique-skill
1•jakedahn•12m ago•0 comments

80.1 % on LoCoMo Long-Term Memory Benchmark with a pure open-source RAG pipeline

1•ViktorKuz•13m ago•0 comments

We asked four AI coding agents to rebuild Minesweeper–the results were explosive

https://arstechnica.com/ai/2025/12/the-ars-technica-ai-coding-agent-test-minesweeper-edition/
1•todsacerdoti•16m ago•0 comments

Apple Clings to Samsung as RAM Prices Soar

https://www.macrumors.com/2025/12/22/apple-clings-to-samsung-as-ram-prices-soar/
1•walterbell•20m ago•0 comments

The Geopolitics of Net Zero

https://substack.com/inbox/post/181235681
1•pjb88•20m ago•0 comments

Why Custom Evals Matter for Production LLMs

https://www.randalolson.com/2025/12/22/why-custom-evals-matter-for-production-llms/
1•turoczy•21m ago•0 comments

Inference Economics 101: Reserved Compute versus Inference APIs

https://www.datagravity.dev/p/inference-economics-101-reserved
1•gmays•21m ago•0 comments

US regulators approve Wegovy pill, first oral medication to treat obesity

https://www.theguardian.com/us-news/2025/dec/22/us-regulators-approve-wegovy-weight-loss-pill
2•LopRabbit•21m ago•0 comments

Patrick Roach Sues Verizon for Refusing to Unlock His Phone (and Wins)

https://www.techdirt.com/2025/12/23/kansas-resident-patrick-roach-successfully-sues-verizon-for-r...
1•speckx•23m ago•0 comments

Is Shenzhen the SF of China? Here are my takeaways

https://elliotlindberg.com/posts/is-shenzhen-the-sf-of-china
1•robiot•23m ago•0 comments

Uzbekistan's nationwide license plate surveillance system

https://techcrunch.com/2025/12/23/inside-uzbekistans-nationwide-license-plate-surveillance-system/
1•_____k•24m ago•0 comments

Waitrose – Unofficial CLI and API client for Waitrose grocery shopping

https://github.com/jonastemplestein/waitrose
2•montyanderson•25m ago•0 comments

Nebula Awards Yelled at Until They Ban Use of AI by Nominees

https://gizmodo.com/nebula-awards-yelled-at-until-they-completely-ban-use-of-ai-by-nominees-20007...
5•gnabgib•29m ago•1 comments