[
https://issues.apache.org/jira/browse/IGNITE-8475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitriy Govorukhin updated IGNITE-8475:
---------------------------------------
Description:
GridCacheAdapter.syncOp has awaitLastFut(); this call wait last async operation
completed.
This means all async operation in one thread will be executed one by one but
not in parallel. Async operation is not async.
Example for atomic cache
f1=cache.getAsync(key1);
f2=cache.getAsync(key2);
f1 always will be complete before f2.
Need to create a new cache adapter with fair async operations. (internal use)
[dev-list|http://apache-ignite-developers.2346864.n4.nabble.com/async-operation-is-not-fair-async-td30364.html]
was:
GridCacheAdapter.syncOp has awaitLastFut(); this call wait last async operation
completed.
This means all async operation in one thread will be executed one by one but
not in parallel. Async operation is not async.
Example for atomic cache
f1=cache.getAsync(key1);
f2=cache.getAsync(key2);
f1 always will be complete before f2.
Need to create a new cache adapter with fair async operations. Only for
internal purose
[dev-list|http://apache-ignite-developers.2346864.n4.nabble.com/async-operation-is-not-fair-async-td30364.html]
> Create new cache adapter with fair async methonds
> -------------------------------------------------
>
> Key: IGNITE-8475
> URL: https://issues.apache.org/jira/browse/IGNITE-8475
> Project: Ignite
> Issue Type: Improvement
> Components: cache
> Affects Versions: 2.4
> Reporter: Dmitriy Govorukhin
> Priority: Major
>
> GridCacheAdapter.syncOp has awaitLastFut(); this call wait last async
> operation completed.
> This means all async operation in one thread will be executed one by one but
> not in parallel. Async operation is not async.
> Example for atomic cache
> f1=cache.getAsync(key1);
> f2=cache.getAsync(key2);
> f1 always will be complete before f2.
> Need to create a new cache adapter with fair async operations. (internal use)
> [dev-list|http://apache-ignite-developers.2346864.n4.nabble.com/async-operation-is-not-fair-async-td30364.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)