-
1. Re: Is it correct to have thousands of Nodes with only 1 ele
liuhang781102 Feb 26, 2008 4:06 AM (in response to fatefree)Node is the basic unit of treecache, so if you catch many data in a simple node, you are not using the facility of treecache . so ,thousands of nodes is needed.
-
2. Re: Is it correct to have thousands of Nodes with only 1 ele
mircea.markus Feb 26, 2008 12:41 PM (in response to fatefree)I don't expect any significant performance drawback; it's the memory footprint that will be bigger. Isn't it possible for you to perform benchmark? If so, please post your figures
-
3. Re: Is it correct to have thousands of Nodes with only 1 ele
liuhang781102 Feb 27, 2008 1:18 AM (in response to fatefree)I didn't perform benchmark before. I am working for a enterprise application now . The system presure is mainly on the database. The application server is much flexable.
I think that The main adverange of treeCache is transactionable,more functions . If you just want a simple cache with LRU policy, you may use other cache, or write it your self. -
4. Re: Is it correct to have thousands of Nodes with only 1 ele
liuhang781102 Feb 27, 2008 1:21 AM (in response to fatefree)I suggest that you can encapsulate a cache interface of yourself. The main method is 'get' and 'set' ,then you can change the implementation as you want.