Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx SSL offload в highload проекте
On Thursday 23 August 2012 20:54:53 Konstantin Gerasimenko wrote:
> А что будет если nginx отвалится ? или вся ось ? или что то железное и
> важное в сервере ?
> А может бьть ещо и свич сдохнуть ... топливо на электростанции кончится
> ... или даже метиорит прилететь )))
>
Вы всё это приравниваете по серьезности к сломавшемуся log-демону?
Ко всему этому ещё прибавляются прелести в виде:
Pipe Capacity
A pipe has a limited capacity. If the pipe is full, then a write(2)
will block or fail, depending on whether the O_NONBLOCK flag is set
(see below). Different implementations have different limits for the
pipe capacity. Applications should not rely on a particular capacity:
an application should be designed so that a reading process consumes
data as soon as it is available, so that a writing process does not
remain blocked.
PIPE_BUF
POSIX.1-2001 says that write(2)s of less than PIPE_BUF bytes must be
atomic: the output data is written to the pipe as a contiguous
sequence. Writes of more than PIPE_BUF bytes may be nonatomic: the
kernel may interleave the data with data written by other processes.
POSIX.1-2001 requires PIPE_BUF to be at least 512 bytes.
--
Валентин Бартенев
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|