Optimising a Slow Data Processing Pipeline
Reduce a 10-million-row CSV batch job from 4 hours to under 30 minutes using chunked bulk inserts and multiprocessing.
Jan 20, 2025
Read more
Reduce a 10-million-row CSV batch job from 4 hours to under 30 minutes using chunked bulk inserts and multiprocessing.
Fix a FastAPI service that becomes unresponsive during image thumbnail generation by offloading CPU-bound work to a process pool or task …
Fix a Django REST endpoint responding in 8 seconds for 500 users by eliminating N+1 queries with annotate() and prefetch_related().