Better HN
topnewbestaskshowjobs
Log inSign up

lichtenberger

1,848 karma · joined Dec 27, 2018 (7y ago) · 626 submissions

https://github.com/sirixdb/sirix

I'm working on an evolutionary, accumulate-only database system called SirixDB written in Java (and a module in Kotlin) in my spare time and in my day to day job I'm also working as a software engineer (embedded; besides I'm dancing a lot -- swing dances, mainly Lindy Hop and travel to festivals in Europe often times in my holidays) :-)

Furthermore, I'm working on Brackit (http://brackit.io), a query engine for JSON and XML using a JSONiq like query language. It can be used as ad-hoc in-memory query processor as the query processor of a data store. We envision, that it encapsulates common proven optimizations whereas the individual data stores can add further stages to rewrite the queries for index matching and physical optimizations.

SirixDB (https://sirix.io or https://github.com/sirixdb/sirix) is all about efficient versioning of your data. That is on the one hand it reduces the storage cost of storing a new revision during each transaction-commit while balancing read- and write-performance through a novel sliding snapshot algorithm and dynamic page compression. On the other hand Sirix supports easy query capabilities for instance to open a specific revision by a timestamp or several revisions by a given timespan, to navigate to future or past versions of nodes in the tree-structure and so on. It basically never overwrites data and is heavily inspired by ZFS and Git and borrows some ideas and puts these to test on the sub-file level.

In stark contrast to other approaches SirixDB combines copy-on-write semantics with node-level versioning and does not require a write-ahead-log for consistency.

It all started around 2006 as a university / Ph.D. project of Marc Kramis and I worked on the project since 2007 and already did my Bachelor's Thesis, Master's Thesis as well as several HiWi-Jobs on topics regarding the project and I'm still more eager than ever to put forth the idea of a versioned, analytics plattform to perform analytical tasks based on current as well as the history of the data.

e-mail address: lichtenberger.johannes@gmail.com

Submissions

1.

JEP 543: Structured Concurrency (Java 28)(openjdk.org ↗)

3 points · by lichtenberger · 1mo ago · discuss

2.

JEP 546: Adaptive Heap Sizing for ZGC(openjdk.org ↗)

2 points · by lichtenberger · 1mo ago · discuss

comment 1mo ago · link · parent

I hope you're fine

4.

Making Arena.ofConfined() Even Cheaper in JDK 28(inside.java ↗)

1 points · by lichtenberger · 1mo ago · discuss

5.

A Summer of AI Optimization(x.com ↗)

1 points · by lichtenberger · 2mo ago · discuss

6.

Value Classes Still Need Compiler Sympathy(johan-sjolen.github.io ↗)

89 points · by lichtenberger · 3mo ago · 46 comments

7.

JEP 401: Value Objects (Preview)(openjdk.org ↗)

1 points · by lichtenberger · 4mo ago · discuss

comment 4mo ago · link · parent

Oh, and Sirix optionally already stores a rolling merkle hash over the data.

comment 4mo ago · link · parent

It's first and foremost a document store / so for JSON or XML currently, that's why it's not SQL compliant. I think other query languages as JSONiq are much more tailored to this, albeit a niche of course (based on XQuery).

Regarding tamper proof audit logs not much is missing. Cryptographic hashes instead of XXH3, a commit hash chain and signed commits. Actually, I think that's a great addition with minimal changes needed.

What you can audit currently is "who changed what" for instance.

comment 4mo ago · link · parent

Besides, documents are split into fine granular nodes, so we have "no" upper limit besides running out of 48bit nodeKeys/node identifiers at some point maybe.

Furthermore, a (versioned, as always) path summary keeps track of all distinct paths, which is a key ingredient for the optional secondary indexes, which can index paths or paths and content among other stuff as simply indexing fields. Optionally you can also add indexes to speed up aggregate queries (which are basically column projections).

Furthermore, the whole storage can self-validate through checksums stored in parent pages up to the root as in ZFS for instance.

DeweyIDs can be optionally stored for each node, which can speed up the comparison of subtrees between revisions (in order to detect simply which changesets belong to a certain subtree without having to traverse ancestor chains). They lend themselves well for compression.

We even have importers which can identify based on heuristics minimal edit operations to import existing revisions of XML or JSON documents and to commit these with hopefully a minimal or close to minimal set of update operations, but it depends heavily on the data.

11.

Show HN: SirixDB 1.0 Beta – Git-Like Versioning, Diffs, Time-Travel Queries(github.com ↗)

13 points · by lichtenberger · 4mo ago · 6 comments

12.

Show HN: SirixDB – a bitemporal JSON database system with sub-page versioning(github.com ↗)

1 points · by lichtenberger · 4mo ago · discuss

13.

First Valhalla related stuff will land in Java 28(mail.openjdk.org ↗)

5 points · by lichtenberger · 5mo ago · 1 comment

14.

Valhalla when? "Now"? Java 27 or 28?(github.com ↗)

3 points · by lichtenberger · 5mo ago · discuss

15.

LeanStore: In-Memory Data Management Beyond Main Memory (Viktor Leis) [video](youtube.com ↗)

2 points · by lichtenberger · 10mo ago · discuss

16.

Ask HN: Where is software engineering moving towards in the next years?

2 points · by lichtenberger · 10mo ago · 3 comments

17.

Data Oriented Programming, Beyond Records(mail.openjdk.org ↗)

2 points · by lichtenberger · 10mo ago · discuss

18.

The Static Dynamic JVM – A Many Layered Dive [video](youtube.com ↗)

1 points · by lichtenberger · 10mo ago · discuss

19.

After the Big Tech Layoffs(youtube.com ↗)

3 points · by lichtenberger · 11mo ago · discuss

20.

(Generational) Shenandoah GC (Low Latency) Support in GraalVM Native Images(github.com ↗)

1 points · by lichtenberger · 11mo ago · discuss

21.

Implementation Rust: One Billion Rows Challenge(youtube.com ↗)

2 points · by lichtenberger · 11mo ago · discuss

22.

Beyond the Vector API – A Quest for a Lower Level API [JVMLS](inside.java ↗)

1 points · by lichtenberger · 1y ago · discuss

23.

Try the New Valhalla EA Build(inside.java ↗)

3 points · by lichtenberger · 1y ago · discuss

24.

Try Out JEP 401 Value Classes and Objects(inside.java ↗)

2 points · by lichtenberger · 1y ago · discuss

25.

Try Out JEP 401 Value Classes and Objects(inside.java ↗)

3 points · by lichtenberger · 1y ago · discuss

26.

All New Java Language Features Since Java 21(inside.java ↗)

76 points · by lichtenberger · 1y ago · 125 comments

27.

Ask HN: Which resources do you regularly use to keep yourself updated?

1 points · by lichtenberger · 1y ago · 3 comments

28.

Valhalla Nullness Emotion [video](youtube.com ↗)

1 points · by lichtenberger · 1y ago · discuss

12345
21