Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Zipping of objects in Memory

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
The trailboss has a kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic