Spine.js: Does It Really 'pipeline' Posts?
Solution 1:
Maccaw's usage of the term "pipelineing" and that of the HTTP spec are not the same here. Actually, they're opposite.
In the HTTP spec, the term "pipelining" means sending multiple requests without waiting for a response. See section 8.1.2.2.
A client that supports persistent connections MAY "pipeline" its requests (i.e., send multiple requests without waiting for each response).
Based on this definition, you can see why the spec would strongly discourage pipelining non-idempotent requests, as one of the pipelined requests might change the state of the app, with unexpected results.
When Maccaw writes about spine's "pipelining", he's actually referring to the solution to the fact that the client will "pipeline" requests without waiting for a response, as per the HTTP spec. That is, spinejs will queue the requests and submit them serially, each consecutive request being made only after its predecessor completes.
Post a Comment for "Spine.js: Does It Really 'pipeline' Posts?"