[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1015) Optimize HotRod client to match Memcached performance
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Thu Mar 31 03:19:37 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592863#comment-12592863 ]
Dan Berindei commented on ISPN-1015:
------------------------------------
I wasn't sure if we should close the task or keep it open for further work, but I guess we've reached the target in the subject...
Eliminated some hotspots in the HotRod client:
* There were a lot of security manager calls in GenericJBossMarshaller and in TcpTransport, as Thread.setContextClassLoader() and Socket.getOutputStream() both require privileges.
* In ConsistentHashV1, a trace debug message was built even when the trace log level was disabled.
There is some potential for further optimizations, like reusing the byte buffer for serialization, but this already makes the HotRod client perform better than the Memcached client.
> Optimize HotRod client to match Memcached performance
> -----------------------------------------------------
>
> Key: ISPN-1015
> URL: https://issues.jboss.org/browse/ISPN-1015
> Project: Infinispan
> Issue Type: Task
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 4.2.2.BETA1, 5.0.0.BETA1
>
>
> Load tests show the HotRod protocol performing worse than the Memcached client.
> Since the HotRod protocol should be easier to parse and we also have the extra topology information, this is quite surprising.
> We have analyzed the servers and seem to perform about the same, so we need to optimize the client.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list