• Post Reply Bookmark Topic Watch Topic
  • New Topic

Zipping of objects in Memory  RSS feed

BalajiNityaa Varadharajan
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a requriment in my project. The requirement is as follows.

We have a lot of data in our DB. During startup of the server we load all the data in the DB to our memory as hash maps. During run time when there is any update(Create,Delete or Update) that is done in the DB the invalidation process occurs which updates the memory.

This works fine if the data that is updated is very small. When there is a huge update(mainly inserts) of data say abt 80 million records we are not able to load it in memory as there no enough memory available.

Is there any possiblity that I could zip the objects and have it memory and during runtime when the data is reqd unzip and use the object.

Basically I would like to know if it is possible to zip objects and keep it in memory, if yes then can we do it Java, or do we have any third party tools which does it.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!