irmen / Pyro5

Pyro 5 - Python remote objects
https://pyro5.readthedocs.io
MIT License
305 stars 36 forks source link

per Daemon configuration (avoid singleton config) #3

Closed carandraug closed 2 years ago

carandraug commented 6 years ago

We have a program that starts multiple Pyro daemons and we would like to have different configurations for each daemon. This was not possible on Pyro4 and I was hoping it would be a thing for Pyro5 (seems not).

The way I would envision this is to have a new configargument to the Daemon constructor which would default to a configuration.Configuration instance. It seems that in Pyro5 there is not longer a Configuration class like there was in Pyro4 so not sure how to go about doing that.

Not sure how to go about this and if this could be fitted in the vision for Pyro5.

irmen commented 6 years ago

It is a good idea and I will certainly give this some thought. Perhaps the config class should be brought back.

irmen commented 6 years ago

@carandraug by the way, can you not simply run multiple daemons with their own config, in separate processes?

irmen commented 2 years ago

this is not going to happen.