I have configured one of my cache region ( called fare) as below:- maxNodes = 4500 timeToLiveSeconds = 2073600
I have defined maxNodes in this region to be 4500.I am persisting cache in db using cache loader. In my application I am keeping data only on the leaf nodes. When I query my db for nodes with data, that number is very big than 4500. Currently, number of leaf nodes (with data) is 5672. This is the count only for leaf nodes. Actual number of nodes would be even more. As per my understanding, number of nodes in any region should not exceed the maxNodes. But I see different thing here. What is the relation between in-memory nodes and nodes in db? Does JBoss Cache maintains maxNodes in memory and if the number exceeds beyond this, it keeps all other nodes in db? So at a given point of time if there are 4500 nodes are there in memory, and the application tries to put 1000 more nodes in the same region, would these nodes be put in db. SO there would be 4500+1000 = 5500 nodes in db and only 4500 nodes in memory? Also I have a default cache region with 5000 maxNodes configured. May this happen, if in number of nodes in any of my cache region exceeds the maxNodes, any new node would be put in the _default_ region? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083061#4083061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083061 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user