Now the Skenario environment has a plugin and calls it when we need to communicate with an autoscaler. The idea is to have the Plugin Dispatcher component in the Skenario environment which allows to separate all logic with plugins interactions from main logic. We consider Plugin Dispatcher as black box which is responsible for plugin lifecycle management and communication with it.
Plugin Dispatcher knows:
Which plugins we need to connect and with which configuration
Which plugin we need to send what data
Basically, in Skenario we say Plugin Dispatcher scale_horizontally and it knows which plugins have this method.
Now the Skenario environment has a plugin and calls it when we need to communicate with an autoscaler. The idea is to have the Plugin Dispatcher component in the Skenario environment which allows to separate all logic with plugins interactions from main logic. We consider Plugin Dispatcher as black box which is responsible for plugin lifecycle management and communication with it.
Plugin Dispatcher knows: Which plugins we need to connect and with which configuration Which plugin we need to send what data Basically, in Skenario we say Plugin Dispatcher scale_horizontally and it knows which plugins have this method.