Closed Bug 615613 Opened 14 years ago Closed 14 years ago

polling once per second for several minutes

Categories

(Cloud Services Graveyard :: Firefox Home, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Atoll, Unassigned)

Details

174 requests with "304 Not Modified" on a single channel from Firefox Home between 10:32:46 and 10:37:35

10.250.64.84 - - [30/Nov/2010:10:37:35 -0800] "GET /y28u HTTP/1.1" 304 0 "-" "Firefox Home 1.1b3 (iPod touch; iPhone OS 3.1.3; en_US)"


10:35 < st3fan> initially it polls every 2 or 3 seconds, and then it 
                will poll 10 times with 1 second intervals

Is this the expected behavior?  Full logs available if needed.
On the initial screen we give the user 5 minutes to find another computer and enter the code. During that time the device will be polling. So initially expecting polling for about 5 minutes. Once we're into the message exchange we only poll for ~10 secs.
This is the home behaviour:

Poll for 5 minutes, every second for the first message from the desktop to appear.

Once we have that message we have to poll for two more messages. For each of these we do 10 retries max, both with 1 second intervals.

So the worst case is 300 + 20 polls.

Add to this 1 initial request for the channel creation and 3 PUT requests for sending the messages.

So worst case total is 300 + 20 + 1 + 3 = 324 requests.
Thanks Stefan, the Firefox behaviour is exactly the same.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
So 324 requests max per ip per 5 mn - If we allow around ten devices per ip, I'll set the default to 3500 requests/ip/ 5mn
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.