Loading
Disadvantages of putting too much data in HTTP Session

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  What are the disadvantages of putting too much data in HTTP Session ?


Ans)

If you have more data into your HTTPSession object , following could be some of the issues you may encounter.

  • May cause Memory issue when you have max sessions opened at a given point of time.
  • This also causes read/write overhead, though your application wants a fraction of data from such a big Object graph you app server has to load Full HTTPSession.
  • This is going cause performance issue when you make your application clusterable due to Session Replication, with which your data modifications would be replicated on all other members of the Cluster.

This is too expensive if you have opted for "Persisted HttpSessions" in your App server.



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

Disadvantages of putting too much data in HTTP Session


Disadvantages of putting too much data in HTTP Session

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free