[jira] [Created] (IGNITE-3226) Load test: iteration over cache partitions using scan queries and performing transactions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-3226) Load test: iteration over cache partitions using scan queries and performing transactions

Anton Vinogradov (Jira)
Denis Magda created IGNITE-3226:
-----------------------------------

             Summary: 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 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




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