Strange Performance Spikes
we have just deployed an instance of nodebb in our google cloud cluster with additional new relic monitoring.
We noticed some really strange spikes in the transaction response time metric while only a single user was active, see here.
The HTTP response time is actually quite good and hard to see in the image, so here is another version without time spent in redis.
The strange thing about this is that it seems like there is something redis-related going on AFTER the response has been sent to the client. While the response has been sent in round about 60ms something else continues to run up to 4s.
Are there any async tasks that get executed during a page request without waiting until they are done? The new relic trace only points to an anonymous middleware function (unfortunately without file path).