ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladislav Pyatkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3226) Load test: iteration over cache partitions using scan queries and performing transactions
Date Fri, 03 Jun 2016 09:30:59 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15313898#comment-15313898
] 

Vladislav Pyatkov commented on IGNITE-3226:
-------------------------------------------

[~dmagda] Thanks for the review.
I have corrected the code for your comments.

> Load test: iteration over cache partitions using scan queries and performing transactions
> -----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-3226
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3226
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.6
>            Reporter: Denis Magda
>            Assignee: Vladislav Pyatkov
>             Fix For: 1.7
>
>
> The following load test has to be added:
> - two caches are created (Persons and Deposit). Deposits are collocated by Person;
> - Persons and Deposits are constructed with {{BinaryObjectBuilder}} and in fact there
won't be real classes for these data models;
> - data is preloaded with data streamers into the server nodes;
> - compute jobs are sent to the nodes that hold a particular partition;
> - the logic of the job iterates over a partition of Persons cache using ScanQuery (local);
> - for every returned Person we should execute a local SQL query getting all Person's
deposits;
> - for every returned deposits we have to perform a pessimistic repeatable-read transaction
that will increase a deposit amount on some value.
> As an example you can refer to 
> https://github.com/gridgain/gridgain-advanced-examples/blob/master/src/main/java/org/gridgain/examples/datagrid/query/ScanQueryExample.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message