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.

US-Canada border library gets new Quebec-only entrance

https://www.bbc.com/news/videos/clyrvrde160o
1•NalNezumi•22s ago•0 comments

There are too many JavaScript schema libraries, so support only one

https://www.inngest.com/blog/too-many-javascript-schema-libraries-support-only-one
1•goodoldneon•22s ago•0 comments

Show HN: Flightdeck – self-hosted observability and control for AI agents

https://github.com/flightdeckhq/flightdeck
1•pykul•1m ago•0 comments

Humans vs. Bots – Who Does the Em Dash Better?

https://www.nytimes.com/2026/06/10/books/review/em-dash-chatbot-human-language.html
1•cainxinth•1m ago•0 comments

Trump T1 Phone Is a facelifted 2024 HTC U24 Pro

https://www.ifixit.com/News/117789/teardown-confirms-the-trump-phone-is-a-gold-painted-htc-u24-pro
1•rickdeckard•1m ago•0 comments

SpaceX soon-to-be millionaires spend big on luxury homes, watches, private jets

https://www.cnbc.com/2026/06/11/spacex-millionaires-wealth-spending.html
1•1vuio0pswjnm7•2m ago•0 comments

iOS 27 System Prompts

https://gist.github.com/samhenrigold/4d107eddf2c0a9d0afb428922adcc2c3
2•LaSombra•2m ago•0 comments

Dads Rock: The Evidence

https://aibm.org/research/dads-rock-the-evidence/
1•gmays•3m ago•0 comments

Chrome extensions with 10M+ devices are actively vulnerable to UXSS and UXSG

https://rebora.io/blog/spyder-and-maxss-chrome-extension-vulnerabilities-put-millions-at-risk/
3•galwm•4m ago•0 comments

DuckDB WASM

https://github.com/duckdb/duckdb-wasm
2•tosh•4m ago•0 comments

Show HN: Fabrika, from babysitting agents to software factories

https://fabrika-ai.com/
1•berkaycubuk•6m ago•0 comments

New York City Leaders Propose Building More Homes on Top of Libraries

https://www.nytimes.com/2026/06/11/nyregion/nyc-libraries-affordable-housing-menin.html
1•mistersquid•6m ago•0 comments

From garbage can to compost heap

https://mikegallagher.org/posts/from-garbage-can-to-compost-heap/
1•speckx•6m ago•0 comments

I started blogging, here is everything I did not write about

https://torge.rdahl.de/blog/the-things/
1•torgeros•7m ago•0 comments

Show HN: Lumen–free Real-time LLM token and cost monitor

https://github.com/DataGrout/lumen
1•Datagrout•9m ago•0 comments

Oracle's AI spending blows past estimates, raising worries over growing debt

https://www.reuters.com/technology/oracle-beats-fourth-quarter-revenue-estimates-2026-06-10/
2•1vuio0pswjnm7•10m ago•0 comments

ZenNotes – Open-source local Markdown app with system-wide Vim motions

https://github.com/ZenNotes/zennotes
1•daesorin•11m ago•0 comments

Hacker Tube – Timeless tech videos (popular on Hacker News)

https://www.orangecrumbs.com/v
3•oyster143•12m ago•0 comments

Why Thermodynamics Rules Future Orbital Data Centers

https://spectrum.ieee.org/orbital-data-centers-heat
3•rbanffy•13m ago•0 comments

Google DeepMind is worried about when agents start to interact

https://www.technologyreview.com/2026/06/11/1138794/google-deepmind-is-worried-about-what-happens...
2•leopoldj•13m ago•0 comments

Show HN: 5dive – Run a Team of Claude Code Agents from Telegram

https://github.com/5dive-com/5dive
3•lodar•14m ago•0 comments

Show HN: GeoLeadScraper – Open-source Google Maps scraper (Chrome extension)

https://github.com/ozhehkovski/geoleadscraper
2•bizdata•15m ago•0 comments

DSF 2026 Fundraising Goals

https://www.djangoproject.com/weblog/2026/jun/10/dsf-2026-fundraising-goals/
2•petr25102018•15m ago•0 comments

Too-ly.eu – browser-based dev tools with no tracking, no login, EU-hosted

https://www.too-ly.eu/
2•quintoncarroll•15m ago•0 comments

Workers are spending over 6 hours a week botsitting AI, fueling job frustration

https://www.businessinsider.com/botsitting-ai-hidden-human-labor-at-work-2026-6
9•ZeidJ•16m ago•1 comments

Show HN: Editxr – open-source WYSIWYG Markdown editor for the terminal

https://github.com/pixdeo/editxr
4•mromanuk•17m ago•2 comments

Hawkish GOP lawmaker Don Bacon says he was hacked by Russia

https://www.politico.com/live-updates/2026/06/10/congress/hawkish-gop-lawmaker-don-bacon-says-he-...
2•campuscodi•17m ago•0 comments

25.3% of Bitcoin sits at addresses with an exposed public key

https://chainquery.com/reports/quantum-exposure
5•granya•17m ago•2 comments

Homebrew 6.0.0

https://brew.sh/2026/06/11/homebrew-6.0.0/
10•mikemcquaid•18m ago•1 comments

Why adorable bees are emerging from this cemetery

https://grist.org/cities/why-millions-of-adorable-bees-are-emerging-from-this-cemetery/
3•speckx•18m ago•0 comments