This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Netty/Nio vs NodeJS  RSS feed

 
Enrique M. Talavera
Greenhorn
Posts: 25
Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi authors
I know Netty should be compare to nodeJS, because the thread-model, but, Do you think the non/blocking programming will replace some day the model 1 request 1 thread,massively ?, and How dramatically is the change from a 1Thread1Request model to a Netty?
 
Norman Maurer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to handle a massive amount of concurrent connections one thread per request or even per connection does not scale for various reasons. Some of these are:
- memory usage for the thread stack
- context switching

So yes I think it already replace it in many situations ;)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!