Hold most of the object in cache/memory insted of database?

Posted by feiroox on Stack Overflow See other posts from Stack Overflow or by feiroox
Published on 2010-05-13T15:25:34Z Indexed on 2010/05/13 15:34 UTC
Read the original article Hit count: 163

Filed under:

Hi All,

It just occurred to me why not to have most of the objects in a cache(memory) when an application start.

if it's not that large web application. Or to have a settings for how much I want to put in the cache/memory.

I just guess it could require to have something like below 1 GB RAM or a lot less.

Everything in order to speed up the application even more by not querying database.

Is it good idea?

© Stack Overflow or respective owner

Related posts about java