[
https://issues.jboss.org/browse/ISPN-6027?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-6027:
------------------------------------
We handle commands in Infinispan's thread pool, without blocking the OOB thread.
However, we do the unmarshalling on the delivery thread, and unmarshalling also takes some
time, so batching may hurt us there. On the other hand, messages marked {{OOB |
DONT_BUNDLE}} are always delivered on separate threads, and the {{DONT_BUNDLE}} flag
doesn't seem to affect our performance with {{TransferQueueBundler}}.
Another potential problem with {{TransferQueueBundler}} is that you have a single bundler
thread sending messages to all destinations, unicasts and broadcasts, as if you had a
single lock on the transport. Without a bundler, you have a lock per connection, so you
can send messages to multiple targets in parallel.
Use bundler sender-sends-with-timer by default
----------------------------------------------
Key: ISPN-6027
URL:
https://issues.jboss.org/browse/ISPN-6027
Project: Infinispan
Issue Type: Task
Components: Configuration, Core
Affects Versions: 8.1.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 8.2.0.Alpha1
Performance tests show {{sender-sends-with-timer}} is still a bit faster than
{{transfer-queue}}, so we should make it the default.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)