[JBoss JIRA] (ISPN-5604) Create Notifier
by Pedro Ruivo (JIRA)
Pedro Ruivo created ISPN-5604:
---------------------------------
Summary: Create Notifier
Key: ISPN-5604
URL: https://issues.jboss.org/browse/ISPN-5604
Project: Infinispan
Issue Type: Sub-task
Components: Core
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
The following semantic are needed:
* It should be able to make one or more thread waiting until they are notified
* It should be able to add listeners that are invoked when the notification happens.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 5 months
[JBoss JIRA] (ISPN-5600) Optimize transactions on multiple caches
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-5600?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-5600:
-----------------------------------
{{com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCommit()}} looks like that - and AFAIK Narayana does not create any threadpools for parallel processing.
> Optimize transactions on multiple caches
> ----------------------------------------
>
> Key: ISPN-5600
> URL: https://issues.jboss.org/browse/ISPN-5600
> Project: Infinispan
> Issue Type: Enhancement
> Components: Transactions
> Affects Versions: 8.0.0.Alpha2
> Reporter: Radim Vansa
>
> NON_XA transactions that span multiple caches are registered as multiple synchronizations, and these synchronizations are often processed sequentially ^1^; therefore, we send synchronous PrepareCommand for each cache and then CommitCommand for each cache as well, delaying the commit by these round-trips.
> Since the targets for different caches may differ, we still need to send the RPCs separately, but in parallel. Therefore, there should be one uber-synchronization for all caches that use NON_XA mode (and maybe something similar with XA). I believe that using single synchronization could save some allocations, too.
> ^1^ Not sure if full-fledged JTA implementations do that; JTA spec does not say anything about the order of synchronizations and whether these should be processed in parallel.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 5 months