Investigate extremely slow requests captures on Edge environment
alex-fedotyev opened this issue · 1 comments
Observing the app performance overtime on Edge environment, I noticed that it sometimes has rare but extremely slow transactions (2-5 minutes slow).
Details don't capture why this could be happening.
I suggest to investigate a little to better understand what could be happening.
cc @trentm
Thanks. I poked a little bit -- mostly me learning some about opbeans-node and opbeans-loadgen -- and I don't see any obvious normal reason why the "GET /api/customers" endpoint code could have a long delay at the end:
Lines 167 to 180 in a052ed7
- There is the separate handler to redirect "/api" requests 50% of the time that I'm not at all familiar with:
Lines 86 to 109 in a052ed7
- and the
app.get('*', ...
routing pattern that I'm not familiar with:Line 113 in a052ed7
- I noticed that some of the other
opbeans-$lang
services also have some slow outliers as well. - The slow transactions on edge today are all "GET /api/customers".
tl;dr: I don't have much useful info. @alex-fedotyev If something changes to either make this a higher prio or if you notice a behaviour change, please mention it here.