Skip to content
leiysky.dev
GitHub X RSS
EN中文

Search articles

  • What I Talk About When I Talk About Query Optimizers (1) — IR Design

    Start with the simplest possible SELECT, build a SQL IR in Rust, then see what happens to the design when we try predicate pushdown and correlated subqueries.

  • Database Musings

    How we got from parallel databases to Snowflake, what the cloud changed about data warehousing, and the product decisions that mattered along the way.

  • Writing a Parser in Go with ANTLR 4

    Generate a Go parser from an EBNF grammar, then use a visitor to turn its parse tree into arithmetic expressions you can evaluate.

  • Reading the LevelDB Source

    Follow a write from the DB interface into the log, the memtable and an SSTable, then trace how LevelDB finds the value again.

  • How Redis Evicts Keys

    Follow Redis from its maxmemory setting to the sample of keys it inspects when the cache fills up.

leiysky.dev
RSS· GitHub· X