<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-2022-JP"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Times New Roman">Спасибо, прочитал. Разобрался, но на
практике не понял, применять мне его или нет и как это будет
заметно/незаметно и для каких случаев. И что применять, http или data?<br>
А у кого как? у меня FreeBSD 6.x<br>
<br>
Alexander Moskalenko wrote:</font>
<blockquote
cite="mid:3b7dd56b0805300738i7ddfcd28p36783457347230b2@mail.gmail.com"
type="cite">
<pre wrap=""><font face="Times New Roman"><a class="moz-txt-link-freetext" href="http://sysoev.ru/freebsd/accept-filters.html">http://sysoev.ru/freebsd/accept-filters.html</a>
вот тут все описано
30 мая 2008 г. 17:30 пользователь Goncharov Yuri <a class="moz-txt-link-rfc2396E" href="mailto:neo@kntele.com"><neo@kntele.com></a> написал:
</font></pre>
<blockquote type="cite">
<pre wrap=""><font face="Times New Roman">Привет всем.
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
</font></pre>
</blockquote>
<pre wrap=""><!----><font face="Times New Roman">
</font></pre>
</blockquote>
<font face="Times New Roman"><br>
<br>
</font>
<pre class="moz-signature" cols="144"><font face="Times New Roman">--
Best regards
Phone +380 44 496 88 17
Mobile +380 67 509 05 79
CTO KNtelecom Ukraine Ltd.
----------------------------
NEO83-RIPE</font></pre>
</body>
</html>