Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #4009

J

Justin Jaffray

Personal blog · justinjaffray.com · on HN as foldUdataprogramming

Justin Jaffray's personal blog at justinjaffray.com covers data and programming. Since 2016, 19 different Hacker News readers have linked it 40 times, most often “A Charming Algorithm for Count-Distinct”. The last post was in 2023, but the archive is still widely read.

Visit the blog
40mentions?
19HN people?
2016–2025first – last linked?
Links on Hacker News per year · peak 12 in 2023

Too few sampled comments (4) to say how often HN recommends it.?

Why HN links it

HN readers link Justin Jaffray's blog for writing on database query engines and worst-case optimal joins. Commenters point to a push vs. pull query engines post and a WCOJ introduction.

Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

The author on HN?

foldU · 460 karma · member since 2013

https://justinjaffray.com/ https://buttondown.email/jaffray

From their public HN profile, which links to this site.

Most-linked posts?

  1. A Charming Algorithm for Count-Distinct
    4 people · 5 mentions · first linked 2023-01-26
  2. Query Engines: Push vs. Pull (2021)
    3 people · 3 mentions · first linked 2023-07-31
  3. Join: The Projection
    2 people · 2 mentions · first linked 2022-06-13
  4. Durability and Redo Logging
    2 people · 2 mentions · first linked 2022-01-24
  5. What Is a Query Optimizer For?
    2 people · 2 mentions · first linked 2020-02-11
  6. /a-gentle-ish-introduction-to-worst-case-optimal-joins/
    2 people · 2 mentions · first linked 2022-07-28
  7. Query Engines: Push vs. Pull
    2 people · 2 mentions · first linked 2021-04-26

What Hacker News says?

  1. The intuition is that if your join is a triangle you might be forced to join every relation only to discover that the result is empty on the last join, which requires m^n intermediary results, where m is the size of the relations and n is the number of relations. A WCO join algorithm will figure out quite quickly that the output is empty and is in practice much more dependent on the actual output size, than the size…

    Comment linking /a-gentle-ish-introduction-to-worst-case-optimal-joins/

    on “SQLite Internals: Pages and B-trees”
  2. Submitted Query Engines: Push vs. Pull as a story · 148 points

    HN discussion
  3. pjot · 2023-12-26Recommends
    I enjoyed this post on pull/push based query engines - its examples were wonderfully simple. https://justinjaffray.com/query-engines-push-vs.-pull/

    Comment linking /query-engines-push-vs.-pull/

    on “Ask HN: Share your favorite software blog posts of 2023”
  4. Submitted Query Engines: Push vs. Pull (2021) as a story · 102 points

    HN discussion
  5. gavinray · 2023-07-04Recommends
    Justin also has a post on WCOJ that's really solid: https://justinjaffray.com/a-gentle-ish-introduction-to-worst...

    Comment linking /a-gentle-ish-introduction-to-worst-case-optimal-joins

    on “Joins 13 Ways”
  6. Submitted Timely Dataflow and Total Order as a story · 97 points

    HN discussion
  7. excellent intro to worst case optimal joins: https://justinjaffray.com/a-gentle-ish-introduction-to-worst...

    Comment linking /a-gentle-ish-introduction-to-worst-case-optimal-joins/

    on “Recent advances in computer science since 2010?”
  8. Submitted A gentle-ish introduction to worst-case optimal joins as a story · 92 points

    HN discussion
  9. Submitted What Write Skew Looks Like as a story · 89 points

    HN discussion
  10. Submitted Durability and Redo Logging as a story · 28 points

    HN discussion
  11. Submitted A Charming Algorithm for Count-Distinct as a story · 24 points

    HN discussion
  12. Submitted Joins 13 Ways as a story · 18 points

    HN discussion
  13. Submitted A Gentle(-Ish) Introduction to Worst-Case Optimal Joins as a story · 9 points

    HN discussion
  14. Submitted Compaction as a story · 8 points

    HN discussion
  15. Submitted Deduplicating Decklists as a story · 7 points

    HN discussion
  16. Submitted Understanding Cost Models as a story · 7 points

    HN discussion
  17. Submitted What Does Write Skew Look Like? as a story · 6 points

    HN discussion
  18. Submitted A Charming Algorithm for Count-Distinct as a story · 5 points

    HN discussion
  19. Submitted Join: The Projection as a story · 4 points

    HN discussion
  20. Submitted Query Engines: Push vs. Pull as a story · 4 points

    HN discussion
  21. Submitted Query Engines: Push vs. Pull as a story · 4 points

    HN discussion
  22. Submitted Reflections on Stacking Stacks as a story · 4 points

    HN discussion
  23. Submitted Understanding Cost Models (2020) as a story · 3 points

    HN discussion
  24. Submitted A Charming Algorithm for Count-Distinct as a story · 3 points

    HN discussion
  25. Submitted A Proof of Correctness for CASPaxos as a story · 3 points

    HN discussion
  26. Submitted Making a Tool-Assisted Speedrun for PICO-8 as a story · 3 points

    HN discussion
  27. Submitted Null Bitmap Zine #1 [pdf] as a story · 2 points

    HN discussion
  28. Submitted Two-Phase Commit Three Ways as a story · 2 points

    HN discussion
  29. Submitted Joins 13 Ways as a story · 2 points

    HN discussion
  30. Submitted A Charming Algorithm for Count-Distinct as a story · 2 points

    HN discussion

Search all of HN for justinjaffray.com

Linked by the same people?