[JBoss JIRA] (ISPN-503) Coalesce updates in the replication queue
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-503?page=com.atlassian.jira.plugin.s... ]
Mircea Markus updated ISPN-503:
-------------------------------
Fix Version/s: (was: 6.0.0.Final)
> Coalesce updates in the replication queue
> -----------------------------------------
>
> Key: ISPN-503
> URL: https://issues.jboss.org/browse/ISPN-503
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Affects Versions: 4.1.0.BETA2
> Reporter: Mircea Markus
> Assignee: Galder Zamarreño
>
> At the moment the replication queue is replicating all the keys. What it can do is to collate them, similar to the way cache stores are collating writes.
> E.g.
> 1. put(k,v1)
> 2. put(k,v2).
> This can be collated in put(k,v2), as put(k,v1) is redundant.
> This would optimize async replication in a way that cannot be handled by jgroups.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (ISPN-1988) Coalesce updates to a given key to a single operation within a transaction
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-1988?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-1988:
--------------------------------
Fix Version/s: (was: 6.0.0.Final)
> Coalesce updates to a given key to a single operation within a transaction
> --------------------------------------------------------------------------
>
> Key: ISPN-1988
> URL: https://issues.jboss.org/browse/ISPN-1988
> Project: Infinispan
> Issue Type: Feature Request
> Components: Transactions
> Affects Versions: 5.1.4.FINAL
> Reporter: Mircea Markus
> Assignee: Mircea Markus
> Labels: optimisation, transaction
>
> Following code run with optimistic caches:
> start tx
> put k, v1
> put k, v2
> put k, v3
> commit
> Would cause the PrepareCommand that is sent around to contain 3 PutKeyvalueCommands which is sub-optimal. What we can do is to only send the last written value (i.e. k v3) and ignore the previous two (reuse the code in AsyncCacheStore). Besides reducing the payload, from this would benefit the AtomicHashMaps which uses this code quite a lot and also the OptimisticLockingInterceptor which would not attempt to order the keys.
> I guess this should be a feature that is disabled by default, as I don't think it is required in general. Might as well be not configurable, enabled by default feature. Comments?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (ISPN-1791) Change of numOwners during runtime
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-1791?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-1791:
--------------------------------
Fix Version/s: (was: 6.0.0.Final)
> Change of numOwners during runtime
> ----------------------------------
>
> Key: ISPN-1791
> URL: https://issues.jboss.org/browse/ISPN-1791
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Cache
> Affects Versions: 5.1.0.FINAL
> Reporter: Thomas Fromm
> Assignee: Manik Surtani
>
> When the number of nodes increases, I want to increase/decrease the number of numOwners at DIST too.
> For me one or both of the following options would be nice:
> 1) Additional to numOwners an attribute "numOwnersRatio". When numOwners is set, the numOwners value is used as minimum number of owners. If the ratio results into a higher number, this value is used.
> e.g. numOwners = 2, numOwnersRatio = 0.5; In case of 3 nodes inside the cluster, the numOwners value of 2 is used. 5 nodes => 3 owner, 8 nodes => 4 owners...
> 2) Simply change the numOwners setting programmatic via API
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (ISPN-1301) Check hashKeyMask of FIleCacheStore
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-1301?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-1301:
--------------------------------
Fix Version/s: (was: 6.0.0.Final)
> Check hashKeyMask of FIleCacheStore
> -----------------------------------
>
> Key: ISPN-1301
> URL: https://issues.jboss.org/browse/ISPN-1301
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Loaders and Stores
> Affects Versions: 5.0.0.CR8
> Reporter: Robert Stupp
> Assignee: Manik Surtani
>
> Related to ISPN-1300:
> If the configured "hashKeyMask" value is changed for an existing cache store, the whole cache store becomes unusable.
> Parts of the cache store configuration should be persisted in the file cache store and checked upon startup.
> If the existing (persistent) configuration is different from what the user has set in the configuration XML (or programatically), two things are possible:
> 1. print a WARNING that the cache store uses the persistent configuration
> 2. like 1, but perform a re-hash of the file cache store, if a certain configuration option has been set
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (ISPN-3193) Capture time budgeting information
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-3193?page=com.atlassian.jira.plugin.... ]
Mircea Markus commented on ISPN-3193:
-------------------------------------
indeed it looks very helpful.
> Capture time budgeting information
> ----------------------------------
>
> Key: ISPN-3193
> URL: https://issues.jboss.org/browse/ISPN-3193
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Affects Versions: 5.3.0.Final
> Reporter: Manik Surtani
> Assignee: Mircea Markus
> Priority: Minor
> Labels: diagnostics, performance
> Fix For: 6.0.0.Alpha1, 6.0.0.Final
>
>
> Should be most recent timing for each major subsystem for each type of call. E.g.,
> PUT: 10ms (locking), 10ms (datacontainer), 20ms (RPC), 30ms (CacheStore).
> GET: 0ms (locking), 5ms (datacontainer), 0ms (RPC), 10ms (CacheStore).
> etc.
> Could be implemented as a simple ringbuffer, in a specific component (TimeBudgetMonitor?) just storing the most recent N calls and that's it. Cheap to capture, cheap to store.
> This data could then be made available via a JMX operation on TimeBudgetMonitor. This is extremely valuable for tuning and debugging perf issues.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (ISPN-3193) Capture time budgeting information
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-3193?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-3193:
--------------------------------
Fix Version/s: (was: 6.0.0.Final)
(was: 6.0.0.Alpha1)
> Capture time budgeting information
> ----------------------------------
>
> Key: ISPN-3193
> URL: https://issues.jboss.org/browse/ISPN-3193
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Affects Versions: 5.3.0.Final
> Reporter: Manik Surtani
> Assignee: Mircea Markus
> Priority: Minor
> Labels: diagnostics, performance
>
> Should be most recent timing for each major subsystem for each type of call. E.g.,
> PUT: 10ms (locking), 10ms (datacontainer), 20ms (RPC), 30ms (CacheStore).
> GET: 0ms (locking), 5ms (datacontainer), 0ms (RPC), 10ms (CacheStore).
> etc.
> Could be implemented as a simple ringbuffer, in a specific component (TimeBudgetMonitor?) just storing the most recent N calls and that's it. Cheap to capture, cheap to store.
> This data could then be made available via a JMX operation on TimeBudgetMonitor. This is extremely valuable for tuning and debugging perf issues.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months