Both changes save a lot of memory.
short worker on its own is rarely used. Set --queue=short,default on one type and --queue=long,short,default on another type.
- Use
bench worker-pool instead of bench worker. Forks from single process, so again more efficient for >1 worker deployments. Set FRAPPE_BACKGROUND_WORKERS_NOFORK to true to avoid forking (saves a ton of CPU usage at risk of bad code breaking workers, same risk exists in web workers though!)
Both changes save a lot of memory.
shortworker on its own is rarely used. Set--queue=short,defaulton one type and--queue=long,short,defaulton another type.bench worker-poolinstead ofbench worker. Forks from single process, so again more efficient for >1 worker deployments. SetFRAPPE_BACKGROUND_WORKERS_NOFORKto true to avoid forking (saves a ton of CPU usage at risk of bad code breaking workers, same risk exists in web workers though!)