Diego Giagio wrote:

> I've been working on adding bandwidth throttling support to cherokee
> and after some research i found that it's not possible to use
> sendfile() and do throttling at the same time.
>
> Would it be feasible to not use sendfile() when using throttling?
> I'm open to suggestions.

  It makes sense for me if you disable the sendfile() support on the
  connections under the bandwidth meter (only for those).

  I mean, sendfile() is a system call Cherokee uses to optimize the
  sending loop, but if the server administrator wants to enable the
  traffic shaping and he can expect a slightly decrease on the global
  performance.

  By the way, do you want to discuss the global architecture before
  start coding? It might save you some time. :-)

--
Greetings, alo.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to