3 ms·
For real-time updates in response to user actions, which is a bigger concern: average latency, or its variance? Example: Server generates a sine wave which get
by quarterwave 12y ago
For real-time updates in response to user actions, which is a bigger concern: average latency, or its variance?
Example: Server generates a sine wave which gets displayed as a rolling chart waveform on the client. As client spins a knob to control the amplitude, the server-generated stream should change (sine wave is a trivial example, representative of more complex server-side computation).
- lambeosaurus 12y agoThe real-time updates he's talking about don't require server-side processing - the google homepage switching immediately to the search view for instance - that processing can be contained within the Javascript application, and state is simply maintained against the server (and then by extension across other instances of the application). I don't imagine he's suggesting we try the same approach where server-side processing is required. If I have misunderstood you then I apologise.
- quarterwave 12y agoYou're right, and your explanation helped me understand the article better when I read it again. Thanks.