You're probably right to pick a modern extension to support vector similarity search in Postgres. But did you know Postgres already has one built in?
I took a look at the cube extension in Postgres, pgvector, and model2vec for some impressively fast embeddings generation.
22.02.2026 22:03
π 18
π 2
π¬ 1
π 0
Just felt the earthquake in sf, got a short little ride on my couch π’
14.12.2025 23:33
π 1
π 0
π¬ 0
π 0
GitHub - jordanisaacs/kernel-development-flake: Nix flake for linux kernel development (formerly kernel-module-flake)
Nix flake for linux kernel development (formerly kernel-module-flake) - jordanisaacs/kernel-development-flake
Finished the overhaul of kernel-development-flake β¨ inspired by virtme-ng which didnβt support NixOS. kdf is also a rust-based /init using virtiofs. You can now do fast live dev of kernel modules/in-tree, no more waiting for nix rebuilds github.com/jordanisaacs...
28.11.2025 22:26
π 0
π 0
π¬ 0
π 0
TIL rust's spawn implementation uses a unix socket for communication between child & parent (github.com/rust-lang/ru...). Only happens when it can't use posix spawn (e.g. using pre_exec callback). Hit this when running a kernel without unix sockets in qemu and got function not implemented π«
28.11.2025 20:08
π 2
π 0
π¬ 1
π 0
PostgreSQL 14 internals book
Entering my Postgres era π
27.11.2025 00:26
π 3
π 0
π¬ 1
π 0
Well looks like they didnβt read up on the history of using io-uring safely in rust. They have the main io-uring issue of sharing buffers with the kernel. github.com/Azure/kimoji...
The classic from without boats (2020) without.boats/blog/io-uring/
21.11.2025 22:54
π 0
π 0
π¬ 0
π 0
And page servers are sharded (one copy stored on object storage) allowing for easy scaling up/down of page servers. The standard `GetPage @ LSN` API.
21.11.2025 22:19
π 0
π 0
π¬ 0
π 0
They have automatic failovers of primary to read replicas (and if old primary comes back online it will come back as a read replica). Since compute nodes are stateless this is easy for them to do. A mention of ringfencing but no details on it. Video has a nice animation of this.
21.11.2025 22:17
π 0
π 0
π¬ 1
π 0
HorizonDB write path diagram.
WAL writes are majority quorum from the primary. They are using rust & thread per-core io-uring on nvme. A new open source runtime, kimojio! github.com/Azure/kimoji.... Excited to dig into that.
21.11.2025 22:14
π 1
π 0
π¬ 2
π 0
HorizonDB high level architecture diagram.
Some interesting stuff in the talk. Itβs neon style durable WAL log & async WAL replay to create pages. All backed by object storage. There is SSD cache on all nodes.
21.11.2025 22:10
π 0
π 0
π¬ 2
π 0
[Future Data] Storage Metadata for Modern Cloud Databases - Carnegie Mellon Database Group
In modern database architecture, separating compute from storage unlocks powerful capabilities. Our... Read More +
Today's Future Data Systems Seminar Speaker: Joyo Victor will present @singlestore.com's "Bottle Service" meta-data system that supports database branching, change-data-capture, and Apache Iceberg. Zoom talk open to public at 4:30pm ET. YouTube video available after: db.cs.cmu.edu/events/futur...
27.10.2025 11:39
π 3
π 3
π¬ 0
π 0
So after a day of work I had my 3 line fix :) Add 'SHF_GNU_RETAIN' flag to the inline asm for the main flag list. And a dummy variable in the macro that uses the view sections to force a GC reference:
`__attribute__((retain,used,section("view-section")))
static const char dummy[0];`
20.10.2025 16:03
π 0
π 0
π¬ 0
π 0
Of course this is where I ended up at maskrayβs blog doing deep reads of linker GC (maskray.me/blog/2021-02... ) and metadata sections (maskray.me/blog/2021-01...). I realized the main flag list should always exist and the view should only be kept if in use.
20.10.2025 15:59
π 0
π 0
π¬ 1
π 0
There has actually been a ton of consideration to handling these sort of βmetaβ sections that have no direct access and thus do not participate in general GC references. But upon further looking the dynamic flag didnβt use any of the special flags. So I found my bug, the linker was GCing it
20.10.2025 15:55
π 0
π 0
π¬ 1
π 0
Luckily I had two build flavors with one passing and the other failing. I manually went through every linker flag difference to guess which one was causing issues. And 'βgc-sections' looked suspicious. The linker has some crazy complexity to how it decides to GC sections.
20.10.2025 15:53
π 0
π 0
π¬ 1
π 0
So dynamic flag automatically generates sections using inline assembly. One section has the list of all flags. Then there are arbitrarily many other sections that are a βviewβ into that list of flags for more efficient lookups. There is no access of any sections beyond using '__start' and '__stop'
20.10.2025 15:50
π 0
π 0
π¬ 1
π 0
But the sections existed in the object files leaving me flummoxed. Why wasnβt the linker using the sections? So I went down one of the most interesting systems rabbit holes Iβve had recently.
20.10.2025 15:47
π 0
π 0
π¬ 1
π 0
Google blacklisted the iCloud private relay ip addresses. Been broken for ages while now. On iOS safari you need to press the βshow ip addressβ option and then try searching again and it works.
06.10.2025 03:58
π 1
π 1
π¬ 2
π 0
Everyone complains about fighting the compiler, but the true boss battle is the linker. Iβd rather have a thousand line c++ template error than an utterly unhelpful 5 line linker error.
01.08.2025 00:29
π 1
π 0
π¬ 0
π 0
This is really cool, TUM has a course on transaction systems theory (taught by Thomas Neumann), with open access slides in English. Stumbled upon it when one of the slides showed up in a search for commutative serializability theory.
db.in.tum.de/teaching/ss2...
31.07.2025 02:46
π 2
π 0
π¬ 0
π 0
Bounding retries of write-write conflicts in MVCC+2PL | snowytrees.dev
I wrote up on bounding retries of write-write conflicts in MVCC+2PL. There is surprisingly little publicly written on how databases can retry, so doing my part to fill that gap in :) snowytrees.dev/blog/boundin...
25.07.2025 17:16
π 7
π 3
π¬ 0
π 0
Wound/Wait Deadlock-Proof Mutex Design β The Linux Kernel documentation
The motivation they cite in the kernel docs is gpu buffer locking www.kernel.org/doc/html/v6....
13.01.2025 03:10
π 1
π 0
π¬ 0
π 0
Was searching around for open source uses of wound wait/wait die and surprisingly found it is used in the Linux kernel github.com/torvalds/lin...
13.01.2025 03:09
π 0
π 0
π¬ 1
π 0
Yep agreed. I initially mistook synchronous_commit it for a general async durability flag.
08.01.2025 18:22
π 1
π 0
π¬ 1
π 0