ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accept



Вот тут был интересный оффтопик:
http://www.lexa.ru/nginx-ru/msg17903.html и далее

2008/5/30 Goncharov Yuri <neo@xxxxxxxxxx>:
> Спасибо, прочитал. Разобрался, но на практике не понял, применять мне его
> или нет и как это будет заметно/незаметно и для каких случаев. И что
> применять, http или data?
> А у кого как? у меня FreeBSD 6.x
>
> Alexander Moskalenko wrote:
>
> http://sysoev.ru/freebsd/accept-filters.html
> вот тут все описано
>
> 30 мая 2008 г. 17:30 пользователь Goncharov Yuri <neo@xxxxxxxxxx> написал:
>
> Привет всем.
>
> accept_filter=фильтр ? задаёт название accept-фильтра. Работает только на
> FreeBSD, можно использовать два фильтра ? dataready и httpready. По сигналу
> -HUP accept-фильтр можно менять только в самых последних версиях FreeBSD:
> 6.0, 5.4-STABLE и 4.11-STABLE.
>
> Это тоже самое что в апаче http_accf ? Тогда подскажите где про это очень
> доступно прочитать, так как насколько я понял с доков апача специфика именно
> в экономии child processов, но в nginx нету childов
>
> "
> Versions of FreeBSD from August 2000 onwards include a feature called
> "accept filters" which delay the return from accept() until a condition has
> been met, e.g. an HTTP request has arrived. This postpones the requirement
> for a child process to handle the new connection which therefore increases
> the number of connections that a given number of child processes can handle.
> It also allows a child process to accomplish more immediately after accept()
> returns (because the request is already available to be read) so there is
> less context switching. "
>
> Где я что не понял или путаю?
>
> И раз уже задал такой глупый вопрос, подскажи пожалуйста в каком случае мне
> использовать их а в каком нет. И что лучше dataready или httpready?
> А чем отличаются?
>
> Пасиб большое.
>
> --
> Best regards
>
> Phone +380 44 496 88 17
> Mobile +380 67 509 05 79  CTO KNtelecom Ukraine Ltd.
> ----------------------------
> NEO83-RIPE
>
>
>
>
>
>
> --
> Best regards
>
> Phone +380 44 496 88 17
> Mobile +380 67 509 05 79
> CTO KNtelecom Ukraine Ltd.
> ----------------------------
> NEO83-RIPE



-- 
С уважением, Борис Долгов.
icq 77556665
e-mail boris@xxxxxxxxxxx



 




Copyright © Lexa Software, 1996-2009.