embedded perl, patch
Igor Sysoev
igor at sysoev.ru
Fri Oct 28 05:17:34 UTC 2011
On Thu, Oct 27, 2011 at 10:40:01PM +0300, Alexandr Gomoliako wrote:
> > Really ? nginx is not single line pipelined commands.
> > Single mistake should not stop whole server. I believe that nginx
> > should log mistake and allows other requests to proceed.
>
> Let's say we are creating a handler and this handler died but
> was able to create another one. This another handler can cause
> some damage, do things it isn't supposed to. I understand that
> it isn't the case currently, but it will be with asynchronous subs.
So you usually shutdown host if some single line script fails,
because it may cause some damage: files corruption, etc ?
> I think it's possible to make perl modules behave more like
> native modules, even create configuration directives.
> This will enable anyone to do much more much faster,
> which is the whole point of embedding perl I believe.
Native modules never abort worker process. Never.
They try to handle failure gracefully, logging error for developer
and showing 500 page for user.
--
Igor Sysoev
More information about the nginx-devel
mailing list