[jboss-dev-forums] [Design of JBossCache] - Re: Evolution of TcpDelegatingCacheLoaders/TcpCacheServers
akluge
do-not-reply at jboss.com
Fri May 22 12:20:15 EDT 2009
Hi,
I have had chance to get back to this, and have made some good progress.
I have a cache client and server, both built with MINA, and that use a binary
protocol for put and get requests. Some interesting points
- The performance is good (<1ms/ async request)
- A request submission returns a Future, and multiple requests can be sent, and their results recovered later. The TCPDelegating cache loader, however, immediatly waits on the future.
I have run into one issue. For a cache miss, the CacheLoaderInterceptor always loads the entire cache under the FQN, even if allKeys is false. To me, this is not an optimal solution for a large scale solution. I would want to load only the specific missed value when a get fails. Is there a reason to always load the enire cache under the FQN on a cache miss?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232775#4232775
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232775
More information about the jboss-dev-forums
mailing list