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

Ksenia Rybakova commented on IGNITE-3226:
-----------------------------------------

One more useful thing whould be logging percentage of preloading done. For 
instance: "Preloading: 200 of 1000 entries loaded" or "Preloading... 20%" or 
something like that.

> 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