In the same spirit of the thread https://community.n8n.io/t/slow-webhook-response-performance-high-cpu, I was wondering all the things that could affect performance and could be improved.
When using JSON config files, I noticed that with every call to a webhook, it shows in the console that it was reloading the json config file (using
N8N_CONFIG_FILES). I hadn’t the opportunity to dig deeper, but it seems to me that if it’s reloading the configurations every time a webhook is called, it would be not only unnecessary but could penalize the performance, in a way that in certain cases could make a huge difference.
I was also wondering if there are any other issues that could be impacting performance and is “easy to fix”. I believe that at some point I will dig deeper into the workflow code, and look for these kinds of things and try to improve them.