s-kostyuk / everpl

The Everthing Platfrom source code
https://everpl.readthedocs.io/
MIT License
0 stars 1 forks source link

Make ThingService.execute method non-blocking #84

Open s-kostyuk opened 6 years ago

s-kostyuk commented 6 years ago

For now all commands to the Actuators are sent synchronously, in a blocking manner. As result, the whole platform (i.e. updates of a Thing state, HTTP request handling and so on) stuck until the execution of the requested command will be finished. It's not good and must to be fixed

s-kostyuk commented 6 years ago

Prepared an experimental branch (execute_unblock) which implement the non-blocking commands for ThingService. And event prepared a little demo. But it'll not be pushed to the main branch until the massive concurrency testing will be performed.