taking up to 10 seconds in some situations, how could I debug that, or what could be possible causes to look into?
b
Big Chungus
11/07/2021, 12:57 AM
My immediate suggestion would be to print shit each step of the way to figure out if throttling is happening at the framework or your own processing pipeline
m
Marcin Wisniowski
11/07/2021, 1:07 AM
That's how I got there, I have two prints around a
respond()
so I can see it's what takes the time, but I can't add prints inside that, since that's a framework method.
Marcin Wisniowski
11/07/2021, 1:10 AM
I would use a profiler but this only happens on a server with some load, never locally...
a
Aleksei Tirman [JB]
11/08/2021, 8:51 AM
What engine do you use? You can try writing stress tests against a development environment to simulate production.
m
Marcin Wisniowski
11/12/2021, 3:07 PM
Netty engine. Yeah stress tests is what I will likely have to do.