[infinispan-issues] [JBoss JIRA] Reopened: (ISPN-472) Stop creating a new instance of Decoder10 per each request

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Tue Jun 1 09:24:51 EDT 2010


     [ https://jira.jboss.org/browse/ISPN-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreno reopened ISPN-472:
-----------------------------------



Need to port it to 4.1.x

> Stop creating a new instance of Decoder10 per each request
> ----------------------------------------------------------
>
>                 Key: ISPN-472
>                 URL: https://jira.jboss.org/browse/ISPN-472
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cache Server
>    Affects Versions: 4.1.0.BETA2
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.1.0.CR1
>
>
> There's no need for HotRodDecoder to create a brand new instance Decoder10 for each request, this is wasteful. It can easily be an instance variable since a new HotRodDecoder is created for each new incoming connection.
> For the moment, Decoder10 can just be an instance variable in HotRodDecoder. In the future, as more versions are supported, there'll be a map.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list