'what is blocking and non-blocking web server, what difference between both?
I have seen many a web framework provide a non-blocking web server, I just want to know what it means.
Solution 1:[1]
a blocking web-server is similar to a phone call. you need to wait on-line to get a response and continue; where as a non-blocking web-server is like a sms service. you sms your request,do your things and react when you receive an sms back!
Solution 2:[2]
Non-blocking generally means event driven, multiplexing all activity via an event driven system in a single thread, as opposed to using multiple threads.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | topgun_ivard |
| Solution 2 | Yann Ramin |
