GetParametersAction from tripleo-common is one of the most used actions in TripleO UI and it is unfortunately also the slowest action. It takes around 15 seconds to execute but sometimes it takes much longer. This poses a huge performance bottleneck for TripleO UI.
We need to do some benchmarking on that action. There are 2 big operations happening there:
- plan files pre-processing
- heat validation
There is an idea of introducing caching of action result, but problem is that heat validation is also source of server side parameters validation. So every time parameter is updated, the cash would need to get invalidated.
Tripleo-common currently does not do heat validation on UpdateParametersAction. This needs to be added.
Fix proposed to branch: master /review. openstack. org/409096
Review: https:/