tarantool / cartridge-java

Tarantool Cartridge Java driver for Tarantool versions 1.10+ based on Netty framework
https://tarantool.io
Other
27 stars 11 forks source link

Investigate perfomance bottle neck #401

Open ArtDu opened 1 year ago

ArtDu commented 1 year ago

We have a case when the connector slows overall request performance with space.select/insert/replace methods. We've seen that CPU in Java application achieves the ceil, but Tarantool could achieve more. In my opinion, we can add a test in jmh that creates mapper for each request like it is in space.select:

  1. One instance
  2. Empty call with massive response
  3. Recreating the mapper for each request Ref: https://github.com/tarantool/cartridge-java/blob/67c9f67a34872ed0de70044d85fa2476ef78a3ec/src/test/java/io/tarantool/driver/benchmark/BenchmarkRunner.java#L70-L75