Slide 5
Slide 5 text
Question
When should clients request
for new messages?
Client has no idea when the server receives a new message
In previous example we solved it by:
Client request for new messages on fixed regular intervals
Crazy number of request. Imagine 100 chat clients
requesting new messages every second. That’s 100 x 60 =
6000 requests and responses per minute!
car back seat analogy
imagine u hv 5 kids at the back of your car,
n each and every one of them asking you
are we there yet, are we there yet are we
there yet.. n u hv to reply no, we’re not
there yet. no, we’re not there yet for 5
times
Sunday, September 8, 13