mardi 25 juillet 2017

Ideal HTTP timeout

So, I have a situation. I am working on a Mobile-Web live tracking system. The clients will send GPS coordinates every 5 seconds , I process data on server and update UI every 5 seconds.

All good until now.

The problem is if my HTTP response start to take long. On server side I try to be as fast as possible executing everything on a separate thread after initial parameter validation.

I don't really want to have a bunch of HTTP request waiting around and others just being initiated.

What HTTP timeout should I have if I have 5 seconds POST going out ?

Should I try something as low as 4 seconds ? Would that push the limits taking in to consideration internet speed and all other aspects ?




Aucun commentaire:

Enregistrer un commentaire