Running out of threads during load test #325
-
Hello @vladimir-bukhtoyarov, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Currently batching optimization is not prepared for hanging of underlying backend. Most likely one of thread hangs on Ignite execution inside BatchHelper#executeBatch, if you can not find this this stack fragment inside stacktrace(of all JVM threads) then problem in something else, it is interesting to look at heapdump and full threaddump, you can share me links for dumps downloading privatelly via mail jsecoder@mail.ru I will rewrite BatchHelper at weekend in order to add timeouts and add ability to free threads by simple interrupt. Anyway 6000 tps does not looks huge, I have achived 1.5 milions tps on one bucket a few years ago. Did you cache buckets during the test? Optimizations work only if they applied to the same bucket instance, if you create bucket each time per request then optimizations do not work. Optimization interface has method withListener, you can use this method to collect the optimization stats. |
Beta Was this translation helpful? Give feedback.
-
Hi @vladimir-bukhtoyarov , I have tried out the 8.2RC1 and using the proposed |
Beta Was this translation helpful? Give feedback.
Currently batching optimization is not prepared for hanging of underlying backend. Most likely one of thread hangs on Ignite execution inside BatchHelper#executeBatch, if you can not find this this stack fragment inside stacktrace(of all JVM threads) then problem in something else, it is interesting to look at heapdump and full threaddump, you can share me links for dumps downloading privatelly via mail jsecoder@mail.ru
I will rewrite BatchHelper at weekend in order to add timeouts and add ability to free threads by simple interrupt.
Anyway 6000 tps does not looks huge, I have achived 1.5 milions tps on one bucket a few years ago. Did you cache buckets during the test? Optimizations work …