Great advice, thanks Mikeal Adam
> On 6 Dec 2013, at 16:30, Mikeal Rogers wrote: > > Back then we spent a good amount of time debating whether or not this > mattered. I remember that Ryan was particularly enamored with pipelining. > > What it really comes down to is that pipelineing is almost never faster than > a keep-alive pool. The reason is that the client has no idea how long each > response will take and if the 2nd response takes 10x longer than the other 10 > it'll end up making all of the responses that much slower. It turns out that > pipelining just kinda sucks because of the requirement that responses be > returned in order. > > This is all fixed with SPDY. SPDY allows you to return responses out of > order, which is fantastic. > > -Mikeal > >> On Dec 6, 2013, at 8:23AM, Adam <[email protected]> wrote: >> >> Three years has gone by since this last email and I wondered if anything >> changed since? Can a node.js client pipeline http requests (on a single >> keep-alive socket) rather than make each one wait until the last one >> completes? >> >> Thanks in advance >> Adam >> >> >>> On Aug 25, 2010, at 9:23 PM, Isaac Schlueter wrote: >>> >>> > On Wed, Aug 25, 2010 at 21:14, Timothy Caswell <[email protected]> >>> > wrote: >>> >> Correct, I'm doing the same thing, or at least used to, but now it seems >>> >> a >>> >> single client instance can only do one request as a time. >>> >> Was it ever able to do more before, or are we both just imagining things? >>> > >>> > Pretty sure you're imagining things. At least as long as I've been >>> > messing with it, this is how node's http client has worked. >>> > >>> > A single *server* can handle lots of requests at once. But a single >>> > *client* can only process one request at a time. Additional requests >>> > stack up and wait their turn. >>> > >>> > --i >>> > >>> > -- >>> > You received this message because you are subscribed to the Google Groups >>> > "nodejs" group. >>> > To post to this group, send email to [email protected]. >>> > To unsubscribe from this group, send email to >>> > [email protected]. >>> > For more options, visit this group at >>> > http://groups.google.com/group/nodejs?hl=en. >>> > >>> >> >> >> -- >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to a topic in the Google > Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/z0xMSW5riDI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
