3 ms·
Yeah, some framework to encourage reactive design patterns. At least for Thespian, it allows you to use different system bases like multiprocTCPBase or multipr
by yingw787 7y ago
Yeah, some framework to encourage reactive design patterns.
At least for Thespian, it allows you to use different system bases like multiprocTCPBase or multiprocUDPbase to run your actors on, which all inherit from a common systemBase class, so you can swap out your base without changing your user code. It's nice for testing b/c you can explicitly split debugging overhead into different parts based on the systemBase you use.
But yeah, one of the difficulties of using these Python concurrency libraries is that the language and runtime don't really help you out. You have to retrofit a lot of your own stuff on the language to enforce certain properties of the model.