[ 
https://issues.apache.org/jira/browse/IGNITE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Magda updated IGNITE-3226:
--------------------------------
    Description: 
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


  was:
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 Deposits cache using 
ScanQuery (local);
- for every returned Deposit we should execute a local SQL query where Deposit 
will be joined with Persons;
- for every returned Deposit 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



> 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)

Reply via email to