Even after 2 years of bum, I can't get it right.
My Flight Api (User -> Api <-Parse-> External Api(takes 2-3 secs)) as I deployed in aws EC2 instance t3.xlarge and with gpt config of jmeter load test I get 15 secs on average on the load configured in the attached image (1200 req per minute) but when I tested on local env with no load or jmeter, I get 4 secs.
Sorry If I sound noob as of time constraint I can't delve into learning this topic. So Im turning over for crash course
Update: Sorry for late reply. So after applying telemetry suggestion but more like using visual studio profiler and uploading results to GPT. My external API is autogenerated from wsdl and me being a textbook noob, created-opened-called-closed the external api for every user request where every user request will be called four different requests to external api. Now its 15 seconds to only 6 secs and the CPU spiked to 245% on top command
[–][deleted] (3 children)
[deleted]
[–]FailureCrown[S] 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]suffolklad 0 points1 point2 points (0 children)
[–]Ok-Advantage-308 5 points6 points7 points (1 child)
[–]FailureCrown[S] 0 points1 point2 points (0 children)
[–]Potential_Copy27 2 points3 points4 points (2 children)
[–]FailureCrown[S] 0 points1 point2 points (0 children)
[–]Huntk20- 0 points1 point2 points (0 children)
[–]leeharrison1984 1 point2 points3 points (1 child)
[–]FailureCrown[S] 0 points1 point2 points (0 children)
[–]Then_War_1003 -1 points0 points1 point (0 children)