Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maximum available sessions  RSS feed

 
ken chou
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the maximum available sessions for a given servlet engine? If we are running a very popular website like Yahoo, how many people can access at the same time? What would be the limitation?
 
P Subramanian
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think there is any limitations for the sessions. It depends on the server engine how it is going to handle the memory handling. But i dont think there is any limitation to no. of users in yahoo also..
If i am wrong correct me.
Subramanian
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat has a maxActiveSessions setting it the server.xml configuration file, along with a lot of other settings related to session behavior. JRun does too.
Some servlet engines will serialize sessions out to the hard drive to reduce the memory usage. I imagine that if you had big data storage in sessions and long session lifetime, a lot of users could really chew up memory.
Bill

------------------
author of:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!