John Cass
John Cass
...and somebody will probably remind me of the GIL and the fact that parallel processing isn't possible. But if these operations are typically I/O intensive there should be some gains...
The drawback of using a separate thread for startup is that Mopidy expects backends to block until they have been initialised successfully: https://github.com/mopidy/mopidy/blob/7521284ee525b6ed2e9491e4ddcd88cb2ba0e57c/mopidy/commands.py#L383-L391 I suspect that having a Pykka actor...
#1507 is probably related to this as well.
There is a bit of an ongoing debate over at the MMW project as to whether frontends should be offering different user experiences for different backends (e.g. human-friendly names, icons,...