Threads• Most Web frameworks use "threads" to handle work• One thread for each request• Multiple threads for concurrent execution• There is a limit to the number of threads• But as long as requests are short, its not a problem
It used to be pretty simple...• Local files• Local database• Single data source
But then along came the cloud...• Remote files (Amazon S3)• Remote data (SQL Azure)• Multiple data sources (Twitter, Flickr, Disqus, etc.)
So, lets review...NodeJS uses the Reactor Pattern (event loop) to takeadvantage of the extended wait-states that are now morecommon with cloud-based implementations.
Theres a new kid in town and his name is NodeJS Mike Amundsen @mamund