
Costliest Mistake: Scheduling Library Choice

#60 - Software Tradeoffs and How to Make Good Programming Decisions - Tomasz Lelek
Topic 3 of 10
Published Oct 18, 2021 · Clip 10:30–13:09 (2:39)
Tomasz describes a costly mistake: choosing a scheduling library for a distributed streaming solution handling 10,000 requests per second, without analyzing its source code. The library claimed distributed support but failed with multiple nodes due to synchronization problems; building a minimal in-house implementation turned out easier. He generalizes this to needing to know the threading model of imported libraries, including pitfalls of mixing blocking and non-blocking models, and hidden multithreading such as Java parallel streams.