Laurent Schwitter
Laurent Schwitter

Reputation: 464

Google cloud app engine 1 hour latency without notivceable response times

I've got a GAE nodejs flex socek.io + express web and websocket server...

Everything works just fine and response times are really good but when i go to the metrics tab i can see this for latency GAE latency tab

an hour latency??? I'm guessing it's something related to socket.io long polling? or websockets themselves?

Anybody cares to explain?

Upvotes: 2

Views: 247

Answers (1)

Joss Baron
Joss Baron

Reputation: 1524

This is related with the time alive of your sockets, which seems to be 60 mins. I guess you are using sessions for your app. In this case, that you are using socket.io, it fall back on HTTP long polling, just as you mentioned. To get a better performance there is a new session affinity setting in the app.yaml. You can take a look into it.

If your app is working just fine just keep monitoring your Memory usage and CPU usage. Always try to keep a good management of your resources.

Upvotes: 3

Related Questions