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

Vladislav Pyatkov commented on IGNITE-22842:
--------------------------------------------

Currently, we do not use an asynchronous executor on synchronous operations.
{nofomeat}

kvClientGetMark:org.apache.ignite.internal.benchmark.SelectBenchmark.kvThinGet-jmh-worker-1
 0.3 6952900 6953200
    Here is hidden 3.3 us
writeMessage:org.apache.ignite.internal.benchmark.SelectBenchmark.kvThinGet-jmh-worker-1
 7.9 6956500 6964400
    Here is hidden 77.8 us
loadSchemaAndReadData:org.apache.ignite.internal.benchmark.SelectBenchmark.kvThinGet-jmh-worker-1
 0.3 7042200 7042500
    Here is hidden 0.5 us
kvClientGetEndMark:org.apache.ignite.internal.benchmark.SelectBenchmark.kvThinGet-jmh-worker-1
 0.1 7043000 7043100
Whole time: 93.1 us
Found time: 8600 Not found time: 84500.0 Percentage of found: 9.237379162191193

{nofoemat}

> The client returns to the fork-join pool after handling operations on the 
> server side
> -------------------------------------------------------------------------------------
>
>                 Key: IGNITE-22842
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22842
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> h3. Motivation
> In synchronous operation, we return the result to the fork join pool before 
> providing the result to the client in their pool. Of course, the tric costs 
> several microseconds.
> {noformat}
> loadSchemaAndReadData:ForkJoinPool.commonPool-worker-9 0.2 9950400 9950600
>     Here is hidden 5.2 us
> kvClientPutEndMark:org.apache.ignite.internal.benchmark.InsertBenchmark.kvThinInsert-jmh-worker-1
>  0.0 9955800 9955800
> {noformat}
> The issue is simullar IGNITE-22838 but about that type of operation that 
> started on the client side.
> h3. Definition of done
> We need to develop a strategy that does not involve the extra thread in 
> synchronous operation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to