• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to keep large sessions?

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is one of the most common comment in wab application that session size is very large, reduce it.

But suppose, it is the requirement of system that we need big sessions (every user has its own/unique large data) then what can be done in that case...

One option may be, increase the memory of server. but I am not sure it is feasible or not.

Could any body think of some other options...

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could consider implementing a caching mechanism such that infrequently accessed session info is persisted to disk or database until needed.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
You could consider implementing a caching mechanism such that infrequently accessed session info is persisted to disk or database until needed.


Thanks Bear.
But suppose, we need any information any time or it is really not possible to indentify such part of session that is not always required, then what can we do???
 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cache will handle that and build a list of data more frequently requested in main memory and less on an external storage. Only one known way to extend RAM is moving part of it on an external storage.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic