You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2020/11/26 12:08:13 UTC

[GitHub] [ignite] ivandasch commented on pull request #8483: IGNITE-13496 Java thin: make async API non-blocking with GridNioServer

ivandasch commented on pull request #8483:
URL: https://github.com/apache/ignite/pull/8483#issuecomment-734261463


   > Refactor Java Thin Client to use GridNioServer in client mode:
   > 
   > * True non-blocking async
   > * Worker threads are shared across connections within single `IgniteClient`
   > 
   > Benchmark results:
   > 
   > ```
   > BEFORE (master)
   > Benchmark                         Mode  Cnt      Score      Error  Units
   > JmhThinClientCacheBenchmark.get  thrpt   10  65916.805 ± 2118.954  ops/s
   > JmhThinClientCacheBenchmark.put  thrpt   10  62304.444 ± 2521.371  ops/s
   > 
   > AFTER (ignite-13496)
   > Benchmark                         Mode  Cnt      Score      Error  Units
   > JmhThinClientCacheBenchmark.get  thrpt   10  92501.557 ± 1380.384  ops/s
   > JmhThinClientCacheBenchmark.put  thrpt   10  82907.446 ± 7572.537  ops/s
   > ```
   
   Great results! Good  (and expected by me) news that only one IO loop thread is enough to outperform traditional approach.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org