Python Tornado – A non-blocking web server

If a server is non-blocking, it means that the process can handle more than one requests at the same time and the request doesn’t have  to wait for any I/O or other event to occur.

Traditional web server were synchronous and assigned each thread per user which were very costly, hence a single-threaded event loop can be used by Tornado to make the the code non-blocking and asynchronous as a single operation can be active at one time.

Tornado’s ioloop is the wrapper of asyncio.

(more…)

STAY UPDATED!

Do you want to get articles like these in your inbox?

Email *

Interested groups *
Healthtech
Business
Technical articles

Archives