How to optimize apscheduler for parallel processing with ThreadPoolExecutor and ProcessPoolExecutor
I’m using apscheduler to run several robot tasks in parallel, but I’m experiencing inconsistent performance. Initially, tasks process quickly, but they slow down over time. I need to process 5,000 image files as quickly as possible on a machine with 1 core and 8 logical processors.