[infinispan-issues] [JBoss JIRA] (ISPN-5010) Improve remote listener performance
Galder Zamarreño (JIRA)
issues at jboss.org
Mon Nov 24 05:17:39 EST 2014
Galder Zamarreño created ISPN-5010:
--------------------------------------
Summary: Improve remote listener performance
Key: ISPN-5010
URL: https://issues.jboss.org/browse/ISPN-5010
Project: Infinispan
Issue Type: Enhancement
Components: Remote Protocols
Affects Versions: 7.0.2.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 7.1.0.Alpha1, 7.1.0.Final
We've run some performance tests and we've noticed remote listeners have a too negative effect on get/put/remove operations, particularly as number of listeners added by clients increase. This JIRA encompasses different pieces of work to improve this:
* Make server-side clustered listener async. By doing so, the operations are detached from the actual server-side listener part when the notification is sent to clients. Async listener executor is configured with 1 thread, so order is still maintained.
* Batching at the server-side clustered listener side. Instead of sending each event as it comes, apply time/size based batching to reduce number of system calls to flush sockets to clients.
* Further improvements might come from bundling listeners added by same client, but this is more complicated to achieve, since only those listeners that have similar characteristics can be bundled, e.g. have same filter/converter settings. Also, whether to use a single connection for all listeners or maintain separate ones still would need to be decided.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the infinispan-issues
mailing list