Re:Home Assistant is an open-source home automation platform...
by vonseel on Saturday October 21, 2017 @04:35PM
(#15523494)
Dude. A blog post on writing application on top of asyncio which may interchangeably use threads or async/await, and incrementally making the switch to asyncio would be awesome.
I work with a large-fintech platform which is partially powered by Python. Our old server was based around threads, queues, and socket multiplexing but we are gradually starting new applications in asyncio.
I recently completed a project in aiohttp which has been fantastic. What are your thoughts on aiohttp vs tornado?
Re:Home Assistant is an open-source home automation platform...
by balloob on Sunday October 22, 2017 @11:23AM
(#15527186)
I have not used tornado but I love aiohttp. it's super fast (part in cython) and does HTTP + websocket client and server. Their team is are part of the asyncio contributors, they know their stuff.
We still offer the old API on top of asyncio, so we have been able to incrementally transition. By now the core and important components are all fully asyncio. Most integrations are not.