• Post Reply Bookmark Topic Watch Topic
  • New Topic

Netty/Nio vs NodeJS

 
Enrique M. Talavera
Greenhorn
Posts: 23
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!