You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Govorukhin (JIRA)" <ji...@apache.org> on 2018/05/12 09:33:00 UTC
[jira] [Updated] (IGNITE-8475) Create new cache adapter with fair
async methonds
[ https://issues.apache.org/jira/browse/IGNITE-8475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy Govorukhin updated IGNITE-8475:
---------------------------------------
Summary: Create new cache adapter with fair async methonds (was: Create new IgniteCache decorator with fair async methonds)
> 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 decorator for IgniteCache, and return IgniteCache proxy with fair async operations.
> IgniteCache.withFairAsync()
> [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)