Flask and scaling and concurrency Flask and scaling and concurrency flask flask

Flask and scaling and concurrency


One pretty interesting concurrency mechanism is the asynchronous model. You have a single process with a single thread running the whole show, with all the I/O or otherwise lengthy tasks being asynchronous and callback based. This method scales really well for I/O bound services, servers in this category easily handle the C10K problem.

See Tornado or node.js for examples.