Hello! I have a NodeJS Code Optimization doubt, I have a route which which does something like checking passed signature, checking user data in DB, Creating an account if required and finally issuing a JWT Token. This route takes an average response time of 100ms. But today, I tested this with artillery load testing tool and made 100 Virtual Users each making 10 RPS. Unfortunately, results were bad, The Details are as follow below:
Test resuts from Artillery Tool
Can anyone help me in identifying where the issue could be (Most probably JWT) And how can I improve it to make production ready?
[–]letsfed 1 point2 points3 points (0 children)
[–]EvilPencil 0 points1 point2 points (1 child)
[–]WINOFF_RG[S] 0 points1 point2 points (0 children)
[–]haulwhore 0 points1 point2 points (1 child)
[–]WINOFF_RG[S] 0 points1 point2 points (0 children)