Welcome! Log In Create A New Profile

Advanced

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

April 15, 2014 03:52AM
Hey, I just found you via Google as I was trying to find out why ..... Nginx is not supporting dynamic loading of modules, for the very obvious issues the other posters seem to have too.

However, Maxim, you claim, that one reason is performance. While performance of course matters, I'd like to know why you say so.
Can you please go a little bit more into the technical details why a dynamic loaded module does not perform as well as a statically linked "module"?

Of course, a compiler could use global optimization techniques to perform interprocedual optimizations, but I don't believe (yet), that the impact shall be that high.
2nd) statically linked libraries speed up process bootup, but this is neglect-able for a long-running process.
3rd) of course, at least for the core modules, they could use #ifdef's inside the request structs and friends (just as you stated) in order to further optimize resource (ie. memory) usage.

So, I'm only interested in the performance arguments (not zero-downtime upgrade,...), so I can understand a little better.

Many thanks in advance,
Christian.
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: 71
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