• Post Reply Bookmark Topic Watch Topic
  • New Topic

how many data can be set in context ,session ,and request ? 500M is OK ?Thank you!  RSS feed

 
Yajun Zhan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how many data can be set in context ,session ,and request ? 500M is OK ?Thank you!
 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what's the kind of your context, session and request ?
 
Yajun Zhan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am now building a wireless service system,the system goal is it can service 500,000 people,our system will provide 10,000 items that can be ordered by custom,and each items can be packed in a low price package.
I am now considering load all our items and package into context when our system get start.and every day , our system will automatic reload all items and package into memory to ensure new items and package that have been build will be available to custom. By this way, the wireless custom do not need to request our database to search his/her interest items or package.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the servlets forum, seeing as though the session and request contexts are used in web applications.
As for your question... I can't see anything in the Servlet Specification that defines the size limit, so I think the size of the request and sesion contexts is application server specific -- also depending on the size of the heap you start your app server with.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!