I am currently investigating the use of infinispan. One thing I am trying to understand is how to propertly organize data in an infinispan grid. Currently our project is using Hibernate with a DB so it has more of a relational aspect currently. Is there any best practices on how to setup data in a grid so its easy to find and how to create object graphs? How much data should be stored in one cache entry? Can you have a object stored in cache that contains a list of other objects?
I don't think there's a stright answer for this - ot's more about try and check performance.
If you want to manage object graphs you might want to use the tree module which exposes infinispan as a tree. Or consider the OGM: http://community.jboss.org/wiki/OverviewofHibernateOGM
Can you have a object stored in cache that contains a list of other objects?
Yes you can.