Welcome! Log In Create A New Profile

Advanced

Re: performance using variables?

Francis Daly
May 03, 2017 04:42PM
On Tue, May 02, 2017 at 02:03:25PM +0200, Ingo Baab wrote:

Hi there,

> I got a question regarding performance of my nginx configuration
> files using variables.

The usual rule with performance questions is: if you do not measure
a performance difference, then there is not an important performance
difference in your use case.

> Q: Is this a performance disadvantage?

There will be a computer run-time performance disadvantage in using a
variable like this.

There may be an administrator config-write-time advantage in using a
variable like this.

> Is this a good approach to separate php processors for each virtual
> host or should
> I do all configuration better static?

Static configuration will have better computer run-time performance. But
unless you measure a difference, the difference is not important to you.

If what you have works well-enough, you don't need to change anything.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

performance using variables?

Ingo Baab May 02, 2017 08:04AM

Re: performance using variables?

Francis Daly May 03, 2017 04:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready