Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #8488] Figure out why 'node update-config' becomes slow over time #2644
This issue has been migrated from Redmine: https://dev.icinga.com/issues/8488
Created by mfriedrich on 2015-02-20 08:49:37 +00:00
Once generating a large change set from the api repository, we'll run into performance issues with inserting new changes.
There are 2 possible bottlenecks already identified:
Though there is more to profile and possibly fix.
2015-02-20 16:05:00 +00:00 by mfriedrich 9ae9204
2015-02-20 20:01:07 +00:00 by mfriedrich 23005e1
2015-02-20 20:34:59 +00:00 by mfriedrich 4e1c754
Updated by mfriedrich on 2015-02-20 19:19:45 +00:00
AddObject() calls the config validation every time (which is only reasonable when adding objects through the cli command line).
Updated by mfriedrich on 2015-02-20 20:08:40 +00:00
Updated by mfriedrich on 2015-02-20 20:34:20 +00:00
Previous run took hours, now its down to 23 minutes for 20k objects.
Updated by tobiasvdk on 2015-02-23 14:43:47 +00:00
It's much faster now. I don't have the exact time before the patch because it took more than 10 minutes (and I killed the task).