Reducing Memory Footprint of Frappe Framework

from blog ankush.dev, | ↗ original
Reducing memory usage by removing module importsReducing memory usage by removing module imports Frappe broadly runs three types of Python processes in production:Frappe broadly runs three types of Python processes in production: Web worker (Gunicorn)Web worker (Gunicorn) Background worker (RQ worker)Background worker (RQ worker) Scheduler (Simple infinite loop to enqueue background jobs)Scheduler (Simple infinite loop to enqueue background jobs) Since Frappe is a batteries-included framework, it does a lot of things out of the box, but not all those things need to be loaded in the memory all the...Since Frappe is a batteries-included framework, it does a lot of things out of the box, but not all those things need to be loaded in the memory all the...