This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Smallest Session Size, Scalable until when ?  RSS feed

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I am currently pondering a problem on how scalable is scalable in terms of servlet sessions. For a person calling my servlet I want to assign a session ID, the session in the servlet will not have any data assigned to it other that that assigned by the servlet engine to maintain session. I know it will probably be dependant on the servlet engine and if sessions are written to disk. I can load balance the servlet engines behind the HTTP server (Apache & Tomcat) but at what point do we start to thrash.
There must be some work involved in matching the session to the session cookie, if the session is stored on disk the this needs to be located, loaded and compared.
Will I have to look at the Tomcat source to work out how efficient it all is ?
What is the minimum number of bytes used to track a session ?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!