[Opensymphony-oscache] groups usage for a newbie

graulle <[email protected]> Fri, 29 Apr 2005 02:49:42 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <31023218.1114761012217.JavaMail.os-j2ee@opensymphony01.contegix.com>
I am not in a clustered env.

Creating multiple caches is possible but in that case I will have several copies of "child" objects in memory which is not wished for memory constraints.

Another idea I had is using a key for each "accesor" to the objet, in my case at most 2, one for the full access and another one for the parent access.
I.E. :
key = "id" for full access
key = "parent:id" for a parent access

but in that case I guess the object is also duplicated so it does not solve my memory issue.

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1866&messageID=5749#5749