[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-5647 HAPartition Sync Call with RspFilter
galder.zamarreno@jboss.com
do-not-reply at jboss.com
Wed Jul 9 18:21:33 EDT 2008
"bstansberry at jboss.com" wrote : As an optimization, ClusterPartition can check if a ResponseFilter passed to callRemoteMethods also implements RspFilter. If so, just pass it through, don't wrap it. The filter used by HA-JNDI could be such a filter.
Hmmm, I'm a bit confused here. I clearly understand the performance optimisation here but by doing so, aren't you just going against the abstraction of the JGroups layer? Ok, maybe not entirely against it because clients do need to adhere to passing a ResponseFilter, and whether they pass a RspFilter as well it's up to them but you're effectively promoting implementations to directly tie themselves to RspFilter.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163421#4163421
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163421
More information about the jboss-dev-forums
mailing list