2 ms·
This is essentially just an asynchronous response to some request. I expect there are probably three cases: 1. Response is unimportant: do nothing 2. Response
by jmts 8y ago
This is essentially just an asynchronous response to some request. I expect there are probably three cases:
1. Response is unimportant: do nothing
2. Response timing is not important: client polls
3. Response timing is important: server calls back into the client somehow
The article describes an implementation of point 2. Depending on the technologies available at the time, I'd argue 3 is probably more versatile. Both cases 1 and 2, and the blocking case can be implemented with case 3, if the available technology allows it.