For every Api call to reach controller, it is taking 80ms latency, i have tried all the instance classes, result is same, i have not found any solution for this. As show in the image, RPC call starts at 80th ms, remaining time spending out side of my code.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Check your App Engine logs for the request that initiated this trace. Do you see a message stating:
If so, the latency is likely due to low demand on your app and with increased demand the latency would be infrequent.
Otherwise, you should probably post your code that is being executed to dive into what could be taking longer.
Well, there may be a lot of GAE infra code executing for every request before your app code is invoked - it's the nature of PaaS: it gives you the convenience of simpler app code by taking a portion of the stuff that needs to be executed and performing it for you.
Similarly there will be time spent in the framework(s) and libraries you use to simplify your app code. Even if it's not literally your code it's still your app's code.
You can get a glimpse (not necessarily quantitative) of that by checking some real full strack traces seen on GAE. At least in my (python) app's case a stack trace often shows several times more calls outside my code than calls from my code.