[JBoss JIRA] (ISPN-4849) Offer ability to read the value in raw marshalled form in clustered listener filter and converter
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4849?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-4849:
-------------------------------------
Assignee: (was: Mircea Markus)
> Offer ability to read the value in raw marshalled form in clustered listener filter and converter
> -------------------------------------------------------------------------------------------------
>
> Key: ISPN-4849
> URL: https://issues.jboss.org/browse/ISPN-4849
> Project: Infinispan
> Issue Type: Feature Request
> Reporter: Emmanuel Bernard
>
> To avoid the need to ship the value class to all the data grid classpath, it would be quite useful to ask to read the value as byte[] / marshalled form for the filter and converter part on each node involved (for a clustered listener).
> For example, if the value is serialized as protobuf, an implementation could receive the byte[] of the protobuf and read the necessary properties without forcing a specific application .class file to be present. It also saves in unnecessary unmarshalling. Ideally a flag could be used @Listener(marshalled=false).
> This issue might have been created (by Galder) but I cannot find it.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-3194) Create diagnostics dumping tool
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-3194?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-3194:
-------------------------------------
Assignee: (was: Mircea Markus)
> Create diagnostics dumping tool
> -------------------------------
>
> Key: ISPN-3194
> URL: https://issues.jboss.org/browse/ISPN-3194
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 5.3.0.Final
> Reporter: Manik Surtani
> Labels: diagnostics
>
> A simple script that an end-user can run on an existing cluster, that will:
> 1. Connect to a given node via JMX
> 2. Get a list of all caches on all nodes
> 3. Run JMX calls on each cache on each node to capture diagnostic data
> 4. Serialise this data (maybe JSON?), zip it up.
> This will allow end-users to share such stats for debugging and perf tuning.
> Diagnostic data to be captured would include all JMX info on hit/miss ratio, RPC performance, transaction commit/rollback rates, config details, time budgeting info, etc.
> This tool would require that JMX statistics are enabled and running for a while before the snapshot is captured.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-4587) Re-add old owners in the pending CH when a node leaves during rebalance
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4587?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4587:
----------------------------------
Fix Version/s: (was: 7.1.0.CR1)
> Re-add old owners in the pending CH when a node leaves during rebalance
> -----------------------------------------------------------------------
>
> Key: ISPN-4587
> URL: https://issues.jboss.org/browse/ISPN-4587
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, State Transfer
> Affects Versions: 7.0.0.Alpha5
> Reporter: Dan Berindei
> Priority: Minor
>
> Say we have a distributed cache \[A, B\] with {{numSegments = 1}} and {{numOwners = 2}}. The initial topology is _T_: currentCH = \{0: A B\}, pendingCH = null
> C joins, and A starts a rebalance. The topology is now _T + 1_: currentCH = \{0: A B\}, pendingCH = \{0: A C\}
> C now leaves, A updates the consistent hashes to remove it with a new topology _T + 2: currentCH = \{0: A B\}, pendingCH = \{0: A\}
> A doesn't need to receive any data, so the rebalance ends and the pending CH is installed as the current CH in topology _T + 3_: currentCH = \{0: A\}, pendingCH = null
> This algorithm is relatively easy to follow and implement, but it does result in reduced availability of the cache data. It would be better if topology _T + 2_ could re-add B as an owner in the pending CH.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-4610) Implement total order for non-transactional caches
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4610?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4610:
----------------------------------
Fix Version/s: (was: 7.1.0.CR1)
> Implement total order for non-transactional caches
> --------------------------------------------------
>
> Key: ISPN-4610
> URL: https://issues.jboss.org/browse/ISPN-4610
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 7.0.0.Alpha5
> Reporter: Dan Berindei
> Assignee: Pedro Ruivo
>
> Current locking algorithm in non-transactional caches needs a remote thread on the primary owner to block while replicating the update to the backup owner. The thread is also holding the lock for the key, so it's blocking other threads that want to write to the same key. When there is a lot of contention, this can exhaust the remote executor thread pool and cause lock timeouts.
> TO was designed with high contention in mind, and it doesn't block threads to acquire locks. So it should handle this much better.
> An alternative solution would be the locking rework in ISPN-2849.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-4586) Too many OutdatedTopologyExceptions in non-transactional caches
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4586?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4586:
----------------------------------
Fix Version/s: (was: 7.1.0.CR1)
> Too many OutdatedTopologyExceptions in non-transactional caches
> ---------------------------------------------------------------
>
> Key: ISPN-4586
> URL: https://issues.jboss.org/browse/ISPN-4586
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 7.0.0.Alpha5
> Reporter: Dan Berindei
> Labels: 7.0, performance
>
> In a non-tx cache, when the topology id is incremented, owners (both primary and backup) receiving a write command with a lower topology id throw an OutdatedTopologyException so that the originator retries the command on the new owners.
> But the originator needs to retry the command only if the owners of the key changed in any way. During a join or a leave, most of the keys should not change owners, so throwing an OutdatedTopologyException is not necessary most of the time.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months