frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: SirixDB 1.0 Beta – Git-Like Versioning, Diffs, Time-Travel Queries

https://github.com/sirixdb/sirix
2•lichtenberger•1h ago
Hi HN! I've posted SirixDB here before, back in 2019 and again in 2023.

The core idea behind SirixDB is, that history is a first-class citizen. Every commit stores a lightweight, queryable revision. You can query any point in time, even individual nodes (for instance JSON values), diff arbitrary revisions, and efficiently track how data evolved without replaying events.

Unlike traditional event stores, historical states do not need to be reconstructed by replaying events nor do we have to think about projections. Revisions are directly queryable.

A simple example:

Jan 1: Record "Price = $100, valid from Jan 1". Stored on Jan 1 (transaction time).

Jan 20: Discover price was actually $95 on Jan 1. Commit correction.

After correction, you can ask across both axes:

- "What did we THINK the price was on Jan 16?" -> $100 (Transaction time)

- "What WAS the price on Jan 1?" -> $95 (Valid time)

I've worked on this in my spare time since 2013, following its academic precursor (Idefix/Treetank) at the University of Konstanz. The architecture relies on an append-only physical log and a persistent copy-on-write page trie.

A high level view of the architecture:

Physical Log (append-only, sequential writes)

  ┌────────────────────────────────────────────────────────────────────────┐
  │ [R1:Root] [R1:P1] [R1:P2] [R2:Root] [R2:P1'] [R3:Root] [R3:P2'] ...    │
  └────────────────────────────────────────────────────────────────────────┘
       t=0      t=1     t=2      t=3      t=4       t=5       t=6    → time
Each revision is indexed, and unchanged pages are shared:

  [Rev 1]          [Rev 2]          [Rev 3]
     │                │                │
     ▼                ▼                ▼
  [Root₁]          [Root₂]          [Root₃]
   │   │            │   │            │   │
   │   └─────────┐  │   └────────┐   │   └─────────┐
   ▼             ▼  ▼            ▼   ▼             ▼
┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ │ P1 │ │ P2 │ │ P1' │ │ P2' │ └──────┘ └──────┘ └──────┘ └──────┘ Rev 1 Rev 1+2 Rev 2+3 Rev 3 (shared) (shared)

Beneath the root pages sit node and secondary indexes, using a novel sliding-snapshot algorithm to balance read/write performance. Everything is queryable using JSONiq via the Brackit compiler.

Back in 2019, and even in 2023, SirixDB was very slow due to GC pressure. Unlike most other document stores, SirixDB stores fine-grained nodes, and I came to realize that an on-heap (JVM) representation made up of lots of small objects simply didn't make sense. I measured it with async-profiler — with some help from Andrei Pangin himself — and the result was that the poor throughput was due to the sheer amount of allocations which scaled almost linearly with the number of open transactions.

Working a full-time software engineering job, I lacked the energy for a massive spare-time rewrite. About a year ago, I started experimenting with AI. It turned out to be ideal for automating the tedious, repetitive parts of migrating the storage layer to Java's Foreign Function & Memory API, storing pages completely off-heap.

Looking further ahead, the append-only, immutable-page design maps naturally onto object storage like S3 and distributed logs like Kafka for a cloud version, and initial prototypes already exist. Maybe that becomes a commercial service one day, but for now, I'm just thrilled to see these core design principles finally proven out.There's an interactive demo, documentation, and the code is on GitHub. I'd love feedback and am happy to answer questions!

kind regards

Johannes

[1] https://sirix.io | https://github.com/sirixdb/sirix

[2] https://sirix.io/docs/architecture.html

[3] https://demo.sirix.io

[4] https://sirix.io/docs/

[5] http://brackit.io

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
42•nonadhocproblem•1h ago•5 comments

Show HN: 18KB ls alternative in no_std rust and Libc

https://crates.io/crates/fli-tool
14•tracyspacy•3h ago•3 comments

Show HN: Summa, a tool that annotates over whatever you're reading

https://summa.josephruocco.net
2•jruocco•36m ago•1 comments

Show HN: Painterly – Turn pictures into digital paintings without generative AI

https://github.com/jbunke/painterly
2•flinkerflitzer•37m ago•0 comments

Show HN: Hedy runs its real-time meeting AI on-device (Mac/Windows/iOS)

https://www.hedy.ai/post/local-ai-meetings-hedy-3-2/
2•julp•58m ago•0 comments

Show HN: Figmaboy – Tauri Figma Clone with a Built in MCP-Enabled CLI for Codex

https://0xmiki.github.io/figmaboy/
2•mikiyas•58m ago•0 comments

Show HN: Running a Website Inside a Website

https://nonogra.ph/running-a-website-inside-a-website-07-15-2026
3•smalltorch•59m ago•1 comments

Show HN: Fork – Customize the web, just by asking

https://withfork.co
4•dhanaway518•1h ago•0 comments

Show HN: 3-line calendar for Apple Watch – free, open source, no sign-in

https://threelinecal.apps.zzn.im/
2•xinbenlv•1h ago•0 comments

Show HN: I Built a Capture the Flag Arena for Agents

https://lab.clayseal.com/
3•yuvvantalreja•1h ago•0 comments

Show HN: Lineation – One security control plane for all agents

https://lineation.ai
4•camsjams•1h ago•2 comments

Show HN: Aict – Unix coreutils that output XML/JSON, built for AI agents

https://github.com/synseqack/aict
12•ronak_parmar•3h ago•5 comments

Show HN: Ty-extended – a Ty fork with plugin support

https://github.com/regularkevvv/ty-extended
2•demoonkevin•1h ago•0 comments

Show HN: Greenflash – we read every conversation your AI agent has with users

https://www.greenflash.ai/sign-up
5•sailrock•1h ago•2 comments

Show HN: Map of every off-plan project in Bangkok (Thailand has no MLS)

https://baanscope.com
2•kesarito•1h ago•0 comments

Show HN: Mailberry – an AI-native email platform with The Email Brain

https://mailberry.ai/
2•alecbee•1h ago•1 comments

Show HN: AI-powered sports analytics and social betting platform

https://statsniper.com/
2•not_wowinter13•1h ago•1 comments

Show HN: OtoDock, run Claude Code and Codex as a team of agents on your server

https://github.com/OtoDock/oto-dock/
2•dimitrismrtzs•1h ago•0 comments

Show HN: Sign in with your ChatGPT account for free AI

https://openai-oauth.vercel.app/
3•EvanZhouDev•1h ago•2 comments

Show HN: A photo editor that develops RAW files in the browser

https://vajba.com/image-editor/
2•trivsamt•1h ago•0 comments

Show HN: SirixDB 1.0 Beta – Git-Like Versioning, Diffs, Time-Travel Queries

https://github.com/sirixdb/sirix
2•lichtenberger•1h ago•0 comments

Show HN: Homestead – Build apps for you, your family, and your agents

https://myhomestead.dev/
3•rambleraptor•1h ago•0 comments

Show HN: Leet Robotics: Learn robotics and ROS2 with hands-on courses

https://www.leetrobotics.com
7•deepresearch•5h ago•0 comments

Show HN: Generalized – AI agent skills with community proof

https://generalized.dev/
2•kubeden•2h ago•0 comments

Show HN: Zoable game. Solve it cheaply

https://zoable-game.com/?s=WDgdSiHyV67W_yEQTpWNUKB7HZF1xHI
2•damaru2•2h ago•1 comments

Show HN: StyleSeed – a design-rules engine so AI agents stop building generic UI

https://github.com/bitjaru/styleseed
22•bitjaru0402•3h ago•7 comments

Show HN: Production-grade LangGraph template

https://github.com/brescou/langgraph-agent-stack
3•Brescou•3h ago•0 comments

Show HN: Fast NF4 dequantization Triton kernel (1.41x faster than bitsandbytes)

https://github.com/Griffith-7/nf4-triton-kernel
3•Griffith-7•3h ago•0 comments

Show HN: Running server scripts from smartphone via SSH

https://c100k.eu/p/rebootx/updates/20260714-remote-runbooks
3•pmdfgy•4h ago•2 comments

Show HN: Web App Uses RTL-SDR to Align HDTV Antenna

https://tunerscope.com/
21•robotastic•2d ago•3 comments