hard20 pts · first answer countspythonperformance
More threads, no extra throughput
A Python service does heavy pure-Python text preprocessing before calling the model. Raising the thread pool from 4 to 32 did not improve throughput on an 8-core machine. Why?