I'm new to Volttron. What I need is to integrate Tornado server into a Volttron agent. My current approach is to start a new thread when agent starts and start a Tornado loop in this thread. Is there any better ways to do this? Thanks
Asked
Active
Viewed 78 times
1
-
@Fian I've already edit the question. – Tony Lin Sep 07 '18 at 08:15
-
2You may want to consider running the server in a different process launched by the agent: testing should be easier, and working with isolated processes will decrease the chances of making concurrency-related risky decisions. – xverges Sep 13 '18 at 08:26