I need to run a Python script with processor and memory (parsing and modifying a long WAV file) as a background process on my web server (VPS) between HTTP requests.
It takes up to 20 seconds to run the script, and I'm concerned about the performance on my server. Is there a good approach to lowering the priority of a process that periodically yields to OS control or otherwise protects the performance of my modest server?
performance python signal-processing
Rob watson
source share