tiagocoutinho / multivisor

Centralized supervisor WebUI and CLI
GNU General Public License v3.0
184 stars 37 forks source link

Bring back multivisor rpc event listener #69

Closed tiagocoutinho closed 3 years ago

tiagocoutinho commented 3 years ago

Provide an alternative to multivisor's supervisor RPC extension.

The implementation of multivisor's supervisor RPC extension is complex and prone to problems in the future.

The multivisor RPC uses zerorpc (which in turn uses gevent and a private implementation zeromq ); supervisor uses a concurrency model based on asyccore. Making the two work together is challenging (to say the least).

Some issues concern me:

With this PR I bring back an initial implementation which was to have the multivisor RPC as a supervisor event listener. For me this is the most elegant solution. It was removed because users of the project did not like to see in the GUI a lot of multivisor-rpc processes. One solution could be to have a filter in multivisor.conf so these processes don't show up. If someone has a better solution please let me know.