Martin Nilsson (Coppermist) @ Pike (-) developers forum wrote:
>My testcase works now. Thanks.

You might want to try using the Shufflerised Server.Request mode, simply use:
void httprequest(object request) {
  request->set_mode(Protocols.HTTP.Server.Request.SHUFFLER);
  ...
}

I'm using that in production on a busy server.  Works fine.
Allows me to exceed 100% CPU with one pike instance.

The advantages (done automatically if given the opportunity):
- Less systemcalls (partly due to the use of writev).
- Zero-copy output.
- Optimally filled first packet (reduces number of packets
  on the wire).
- Reduced latency in the initial response packet.
-- 
Stephen.
  • HTTP server regres... Martin Nilsson (Coppermist) @ Pike (-) developers forum
    • Re: HTTP serv... Stephen R. van den Berg
      • Re: HTTP ... Stephen R. van den Berg
        • Re: H... Martin Nilsson (Coppermist) @ Pike (-) developers forum
          • R... Stephen R. van den Berg
            • ... Martin Nilsson (Coppermist) @ Pike (-) developers forum
              • ... Stephen R. van den Berg
                • ... Martin Nilsson (Coppermist) @ Pike (-) developers forum
                • ... Stephen R. van den Berg
                • ... Martin Nilsson (Coppermist) @ Pike (-) developers forum

Reply via email to