
Senior Data Engineer @Spotify | Blogging at https://xitter.cf/t.co/ZrcSE7WJOu about Data Engineering, Python, ML | Author of Grokking Concurrency
Joined November 2017
- Tweets761
- Following92
- Followers537
- Likes228
Pinned Tweet
Hello wonderful people!
I’m thrilled to announce that my new book, “Grokking Concurrency,” has officially hit the shelves!
You can find it here: manning.com/books/grokking-c…
I could really use your support in spreading the word!
She gives a one-day task to an agent, moves on to something else, and when the agent returns with a question, she has to get back into it. Now she juggles several tasks at once, but the main one still takes three days to a week.
1
9
Manning emailed me that Grokking Concurrency is their Deal of the Day - half off today only. I'm bad at this promo stuff and honestly had to dig up the link, but it's a genuinely good deal so I'd feel dumb not telling you.
hubs.la/Q03-d27Y0 - ends midnight ET.
The rest of it
Joins that explode (broadcast, skew, bucket)
JDBC reads that are silently single-threaded
Spark 4.x defaults you probably haven't turned on yet
What to actually look at in the UI before you guess
1
62
The answer is almost always in the UI.
Every item came from a real production screwup.
Full checklist: luminousmen.substack.com/p/t…
48
A data engineer on Reddit got drunk and wrote down everything he learned in 10 years. The post lives on.
I agree with almost all of it. Preserved it here: luminousmen.substack.com/p/d…
"How many unique users did X AND Y?" - simple question, brutal at scale.
Theta sketches solve it. But the gap between the algorithm and not getting burned in production is huge. Wrote the guide I wish existed: luminousmen.substack.com/p/m…
#dataengineering
85
Your COUNT DISTINCT has been running for 3 hours. Your cluster is on fire.
Nobody tells you early on: exact answers to simple questions can be impossibly expensive at scale.
Data sketches fix this. Here's how 👇
#dataengineering
The real breakthrough: sketches are mergeable.
Build them in parallel on hundreds of machines. Merge in milliseconds. Handle late-arriving data by merging it in. Pre-compute at ingestion and store a 2KB "unique users" column instead of 2GB.
1
40
The full sketch family:
- Theta/HLL → COUNT DISTINCT
- KLL/REQ → percentiles & distributions
- Frequent Items → heavy hitters
- Reservoir Sampling → representative samples
Each has sharp trade-offs. I break them all down in the full post:
luminousmen.substack.com/p/t…
40

