[infinispan-dev] InboundInvocationHandlerImpl optimization

Manik Surtani manik at jboss.org
Wed May 27 04:36:41 EDT 2009


On 27 May 2009, at 04:43, Mircea Markus wrote:

>>
>> The problem is, you can inject a NAMED_CACHE component into another  
>> NAMED_CACHE component, or a GLOBAL component into a NAMED_CACHE  
>> one, but never a NAMED_CACHE component into a GLOBAL component.   
>> (Guess why!)
> What about having an IIH instance for each cache(scope ==  
> NAMED_CACHE), each keeping a field references to Configuration,  
> Cache, CommandsFactory and ResponseGenmerator. The transport would  
> look up the appropriate IIH from a map, so we would reduce the  
> number of lookups at one. Looking at IIH itself it rather looks  
> quite cache-based, as all its methods have a cache name param.

Something to consider, yes.  Will think about it some more and get back.

Cheers
--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list