o19s / opensearch-ubi

OpenSearch plugin for User Behavior Insights
Apache License 2.0
6 stars 1 forks source link

Changing to a threadsafe queue for events and query requests #116

Closed jzonthemtn closed 8 months ago

jzonthemtn commented 8 months ago

Changing to a threadsafe queue for events and query requests.

Ran with 50 users for 5 minutes:

Type     Name                                                                          # reqs      # fails |    Avg     Min     Max    Med |   req/s  failures/s
--------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|-----------
POST     /_plugins/ubi/mystore                                                           4915     0(0.00%) |      4       1     159      4 |   16.39        0.00
GET      /ecommerce/_search                                                              4979     0(0.00%) |      7       3      64      6 |   16.61        0.00
--------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|-----------
         Aggregated                                                                      9894     0(0.00%) |      5       1     159      6 |   33.00        0.00
Found 4915 events
Found 4979 queries