---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?tag=data-structures"
---

# Posts

Filtered by topics: Data structures.

Posts 1–24 of 49, page 1 of 3, newest first.

## 2026-10-16

- [Ontology-Driven Observability: Building an End-to-End Knowledge Graph at Netflix Scale](https://swe.quest/articles/ontology-driven-observability-building-an-end-to-end-knowledge-graph-at-netflix-e57a3f401f825640.md): Netflix TechBlog · 2026-10-16 · Medium · 13 min read · Observability, Incidents & postmortems, AI agents, Data structures, System design
  Netflix built the Observability Ontology, an RDF/OWL knowledge graph that gives a shared, machine-readable model of applications, incidents, deployments and alerts that tools like Atlas, Radar, Spinnaker, PagerDuty, incident.io and Slack each describe differently.

## 2026-10-05

- [Scaling and benchmarking a critical message bus using a new indexing strategy](https://swe.quest/articles/scaling-and-benchmarking-a-critical-message-bus-using-a-new-indexing-strategy-b90c14ae394a3109.md): Jane Street Tech Blog · 2026-10-05 · Medium · 9 min read · Queues & messaging, Performance engineering, Data structures, Algorithms, Testing
  Aria, Jane Street's internal message bus, was burning CPU by linearly filtering its in-memory ring buffer whenever lagging clients recovered a subset of topics.

## 2026-09-22

- [Anatomy of a (Postgres) search engine](https://swe.quest/articles/anatomy-of-a-postgres-search-engine-ef0fff51702b4f16.md): PlanetScale · 2026-09-22 · Medium · 12 min read · Search, PostgreSQL, Data structures, Storage engines
  Inverted indexes power full-text search by mapping each term to a sorted, compressed postings list of document IDs, with optional positional data for phrase/span queries and frequency statistics for BM25 scoring.

## 2026-09-17

- [High-Throughput OLTP in Three Simple Steps](https://swe.quest/articles/high-throughput-oltp-in-three-simple-steps-c736d1e2daeb9b69.md): TigerBeetle · 2026-09-17 · Medium · 7 min read · Databases, Performance engineering, Payments & fintech, Data structures
  Migrating a TPC-B-style bank workload (accounts, tellers, branches, history) from a general-purpose SQL model to TigerBeetle yields roughly 100x throughput when three techniques are applied: modeling each transaction as linked debit/credit transfers with an aggregate account, relying on batching instead of client concurrency, and using monotonic time-based IDs.

## 2026-08-24

- [WAL + S3: Lakebase storage for the era of agents](https://swe.quest/articles/wal-s3-lakebase-storage-for-the-era-of-agents-3f04922da0e40ff3.md): Neon · 2026-08-24 · Hard · 15 min read · PostgreSQL, Storage engines, Storage systems, Data structures, Replication
  Lakebase Postgres (Neon's architecture) treats the Postgres write-ahead log as the source of truth and data pages as a derived cache, splitting the system into stateless compute running unmodified Postgres and a storage layer of Paxos-replicated safekeepers, pageservers, and S3.

## 2026-08-11

- [How we improved APM Java startup by encoding a prefix trie as a JVM constant](https://swe.quest/articles/how-we-improved-apm-java-startup-by-encoding-a-prefix-trie-as-a-jvm-constant-ef8ab81cb4120a77.md): Datadog Engineering · 2026-08-11 · Hard · 11 min read · Java & JVM, Data structures, Performance engineering, Observability, Runtimes & VMs
  Datadog's Java APM agent filters uninteresting classes by name during JVM startup using ClassNameTrie, a prefix trie encoded entirely in a single string constant and loaded with one ldc instruction.
- [Introducing Automatic Key Verification](https://swe.quest/articles/introducing-automatic-key-verification-2aaa055daad25a08.md): Signal · 2026-08-11 · Medium · 17 min read · Cryptography, Communications, Security, Data structures
  Signal's automatic key verification uses key transparency to confirm that the binding between a phone number or username and its public key is globally consistent, giving the same protection against a compromised directory as comparing safety numbers, without meeting in person.

## 2026-07-31

- [Don’t stop early: Case-folding source code at memory speed](https://swe.quest/articles/don-t-stop-early-case-folding-source-code-at-memory-speed-d9a0d3aa3df1f3f4.md): GitHub Engineering · 2026-07-31 · Hard · 18 min read · Performance engineering, Rust, Search, Algorithms, Data structures
  GitHub's Blackbird code search case-folds every byte of 480TB of source, and the fastest ASCII path came from removing the early exit at the first non-ASCII byte.

## 2026-06-11

- [Improving performance in the layers panel](https://swe.quest/articles/improving-performance-in-the-layers-panel-1cd0d897a08e1393.md): Figma · 2026-06-11 · Medium · 8 min read · Performance engineering, Frontend, Caching, Data structures
  Figma rebuilt its layers panel to fix two problems: it computed data for every expanded node, and it recomputed everything after any change.

## 2026-06-07

- [Replay](https://swe.quest/articles/replay-cd1e00a39568cbbd.md): Box2D · 2026-06-07 · Medium · 6 min read · Games, Debugging, C & C++, Data structures
  Box2D's new Replay system records a full binary snapshot of world state followed by opcodes and arguments for every API call, including steps, forces, impulses, body creation and queries with their callback results.

## 2026-06-02

- [iddqd, or the hardest kind of unsafe Rust](https://swe.quest/articles/iddqd-or-the-hardest-kind-of-unsafe-rust-50456dacfa60840a.md): Oxide · 2026-06-02 · Hard · 23 min read · Rust, Memory safety, Data structures
  iddqd is a Rust map library, used in Oxide's Omicron control plane, where keys are borrowed from the values themselves.

## 2026-04-24

- [Accelerate RL rollouts by up to 50% with distribution-aware speculative decoding](https://swe.quest/articles/accelerate-rl-rollouts-by-up-to-50-with-distribution-aware-speculative-decoding-1fa2a300c01f2135.md): Together AI · 2026-04-24 · Hard · 5 min read · Inference & serving, Model training, LLMs, Performance engineering, Data structures
  Distribution-aware speculative decoding (DAS) speeds up the rollout phase of LLM RL post-training, which can consume ~70% of training time due to long-tail straggler generations, while keeping outputs identical to standard decoding.

## 2026-03-24

- [Building high-performance full-text search for object storage](https://swe.quest/articles/building-high-performance-full-text-search-for-object-storage-7061dd61b5d19a17.md): ClickHouse · 2026-03-24 · Hard · 33 min read · Search, Storage engines, Data structures, Analytics & OLAP, Performance engineering
  ClickHouse redesigned its full-text index for object storage, where per-request latency rather than bandwidth is the bottleneck.

## 2026-03-23

- [Fast regex search: indexing text for agent tools · Cursor](https://swe.quest/articles/fast-regex-search-indexing-text-for-agent-tools-cursor-45908cf7bb0688f8.md): Cursor · 2026-03-23 · Medium · 20 min read · Search, Data structures, Algorithms, AI agents, Developer tools
  Agents lean heavily on regex search, and ripgrep's full scan can take over 15 seconds in large monorepos, so Cursor builds local indexes specifically to accelerate regex queries.

## 2025-12-31

- [BitFields API: Type-Safe Bit Packing for Lock-Free Data Structures](https://swe.quest/articles/bitfields-api-type-safe-bit-packing-for-lock-free-data-structures-0725d8986cbdf5c3.md): RocksDB Blog · 2025-12-31 · Hard · 9 min read · Concurrency, C & C++, Data structures, Caching, Performance engineering
  RocksDB's BitFields API is a template-based C++ abstraction that declares multiple logical fields packed into one atomic integer, replacing hand-written shifts and masks with typed Get/Set accessors and composable "transforms".

## 2025-11-14

- [Bloom filters: the niche trick behind a 16× faster API](https://swe.quest/articles/bloom-filters-the-niche-trick-behind-a-16-faster-api-f8c936f8ee9c7bb2.md): incident.io · 2025-11-14 · Medium · 16 min read · PostgreSQL, Data structures, Performance engineering, API design
  incident.io cut P95 latency of its alert-filtering API for large organisations from 5s to 0.3s by pushing JSONB attribute filters into Postgres using bloom filters.

## 2025-10-20

- [Handling Time-Variant DAGs with Constraints in Postgres](https://swe.quest/articles/handling-time-variant-dags-with-constraints-in-postgres-1fba8d43f4c83cc3.md): Neon · 2025-10-20 · Medium · 7 min read · PostgreSQL, SQL, Data structures, Databases
  Vehicle attachments in a fleet (trucks pulling trailers) are modeled as a time-variant DAG in a single Postgres table of edges with validity intervals and a source-authority priority.

## 2025-08-28

- [Engineering stories behind the Medium Daily Digest Algorithm: Part 2](https://swe.quest/articles/engineering-stories-behind-the-medium-daily-digest-algorithm-part-2-d64641974e16e6ff.md): Medium Engineering · 2025-08-28 · Medium · 17 min read · Recommendations & ranking, Data structures, Cost optimization, Databases
  Medium replaced the Bloom filters behind its recommendation filters (muted writers, already-read, presented 3+ times) with per-user DynamoDB queries against the source-of-truth tables, cutting filtering cost roughly 10x and simplifying maintenance.

## 2025-08-19

- [CRLite: Fast, private, and comprehensive certificate revocation checking in Firefox](https://swe.quest/articles/crlite-fast-private-and-comprehensive-certificate-revocation-checking-in-firefox-f6bc82a7fbd70f3e.md): Mozilla Hacks · 2025-08-19 · Medium · 5 min read · Cryptography, Browsers, Data structures, Privacy, Performance engineering
  Firefox 137 enabled CRLite for all desktop users, giving comprehensive, private certificate revocation checking.

## 2025-08-18

- [Inside ClickHouse full-text search: fast, native, and columnar](https://swe.quest/articles/inside-clickhouse-full-text-search-fast-native-and-columnar-8035a7e0021a5f86.md): ClickHouse · 2025-08-18 · Medium · 19 min read · Search, Storage engines, Analytics & OLAP, Data structures
  ClickHouse rebuilt its full-text search around a native inverted "text" index that replaces the earlier Bloom-filter indexes (tokenbf\_v1, ngrambf\_v1), which were hard to tune, returned false positives and supported few predicates.

## 2025-07-17

- [How Go 1.24’s Swiss Tables saved us hundreds of gigabytes](https://swe.quest/articles/how-go-1-24-s-swiss-tables-saved-us-hundreds-of-gigabytes-4fbf9a0f30e1e4c9.md): Datadog Engineering · 2025-07-17 · Medium · 17 min read · Go, Data structures, Memory management, Runtimes & VMs, Performance engineering
  Go 1.24's new map implementation, based on Swiss Tables and extendible hashing, cut roughly 500 MiB of live heap (about 1 GiB of RSS with GOGC=100) from a 3.5-million-entry routing cache map, enough to more than offset a separate Go 1.24 mallocgc memory regression.

## 2025-06-30

- [Why OpenAI chose ClickHouse for petabyte-scale observability](https://swe.quest/articles/why-openai-chose-clickhouse-for-petabyte-scale-observability-dd57167d0fc8c4cb.md): ClickHouse · 2025-06-30 · Medium · 6 min read · Observability, Performance engineering, Analytics & OLAP, Scaling, Data structures
  OpenAI ingests petabytes of logs daily, growing over 20% monthly, into a ClickHouse cluster of 90 shards with two replicas each, fed by Fluent Bit agents.

## 2025-06-18

- [Supporting faster file load times with memory optimizations in Rust](https://swe.quest/articles/supporting-faster-file-load-times-with-memory-optimizations-in-rust-9b748f81216508a0.md): Figma · 2025-06-18 · Medium · 6 min read · Rust, Memory management, Performance engineering, Data structures, Real-time systems
  Figma's Rust multiplayer server represented each file node as a BTreeMap from u16 property IDs to pointers, and memory profiling showed this map used over 60% of a file's memory.

## 2025-04-23

- [Swarm Testing Data Structures](https://swe.quest/articles/swarm-testing-data-structures-dcd11950dc8316b7.md): TigerBeetle · 2025-04-23 · Medium · 5 min read · Testing, Zig, Data structures
  Zig's comptime reflection (std.meta.DeclEnum) can turn a data structure's public API into an enum that drives a model-based property test, so adding a new public method triggers a compile error from the non-exhaustive switch until the test covers it.

[Next page](https://swe.quest/index.md?tag=data-structures&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=data-structures](https://swe.quest/feed.xml?tag=data-structures). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
