Welcome! Log In Create A New Profile

Advanced

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

Maxim Dounin
August 26, 2010 08:24PM
Hello!

On Thu, Aug 26, 2010 at 04:14:10AM -0700, Michael Shadle wrote:

> It seems (at least to me) that the past year has seen explosive growth
> in nginx usage and third party module development.
>
> I believe that for package management, as well as module adoption, it
> would be a definite move in the right direction to be able to load
> modules up on demand instead of having to custom compile nginx with
> the modules you want.
>
> That allows for module development to be done completely independently
> of nginx, modules to be added/removed, etc, without needing to
> recompile nginx every time.

[...]

This was already discussed several times. Just to name a few
reasons why no:

1. Using dynamically linked libraries implies speed penalty.

2. It is likely to cause problems like DLL hell. Even with small
number of carefully selected dynamic libraries nginx currently use
(e.g. openssl) - there are periodically reported problems.

3. It will require to maintain ABI, not something we currently do.
E.g. right now ngx_http_request_s structure changes depending on:
whether pcre library used, http cache enabled, gzip support
enabled, stub status compiled in. Not even talking about local
patches and changes between versions. So things is much more
complex than "0.8.43 needed".

4. Most of us are happy enough with static linkage. Especially
keeping in mind that binary may be upgraded with zero downtime.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

RFC: Feasibility of a "dynamic module loader" built in to nginx?

mike August 26, 2010 07:20AM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

Maxim Dounin August 26, 2010 08:24PM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

trapni April 15, 2014 03:52AM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

Maxim Dounin April 15, 2014 08:16AM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

agentzh August 27, 2010 02:10AM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

agentzh August 27, 2010 02:10AM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

Piotr Sikora August 29, 2010 06:20PM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

Eugaia August 29, 2010 08:36PM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

nxspeed April 15, 2014 02:37PM

Re: RFC: Feasibility of a "dynamic module loader" built in to nginx?

Valentin V. Bartenev April 15, 2014 03:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready