• Post Reply Bookmark Topic Watch Topic
  • New Topic

SingleThreadModel

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
What are the advantages and disadvantages implements SingleThreadModel in the servlet class?
thanks
daniel
 
Bhushan Jawle
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Advantage of SingleThreadModel is that only single thread request can be processed at a time, thus solving resource contention, however this poses problem in scaling of application as other threads might have to wait for long time
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!