Processing hundreds of thousands of items one-by-one with individual database queries is a common performance anti-pattern. A real-world batch job that took nearly 24 hours was reduced to ~15 minutes by bulk-loading data grouped by day instead of querying per item. The post generalizes this to other I/O-heavy scenarios (HTTP
Table of contents
Intro #Practical example #That’s an actual real world example #Generalizing #Some quick fire bits #Outro #2 Comments
Sort: