nck-2 / test-rep

0 stars 0 forks source link

check why workers=thread_pool is slower than threads #1366

Open githubmanticore opened 1 year ago

githubmanticore commented 1 year ago

According to Alexey's tests workers=thread_pool which is a default is slower than workers=threads:

workers=thread_pool   
/json/search - 2051 rps   
/search - 2344 rps   
mysql - 2305 rps   
api - 2581 rps   

workers=threads   
mysql - 2924 rps   
api - 3166 rps   

The task is to do profiling and figure out whether we can fix it or not.

githubmanticore commented 1 year ago

➤ Sergey Nikolaev commented:

@glook as you're working on comparing protocols now within https://gitlab.com/manticoresearch/dev/issues/849 pls reproduce this issue too on the same test set so we're sure the issue still exists. Deeper investigation and fixing can be postponed. I'd just like to know if the issue is still there.

githubmanticore commented 1 year ago

➤ Sergey Nikolaev commented:

This issue is blocked by #946

githubmanticore commented 1 year ago

➤ Sergey Nikolaev commented:

This issue is blocked by #946 not blocked any more as #946 is done