Welcome! Log In Create A New Profile

Advanced

cycle conf versus on command conf

March 29, 2015 02:58PM
i would like to to a load balancing redis module.ill have groups of nodes
define like what will follow. do i have to do that with the create_conf
member of core_module struct or in the block_conf command "redis" ?

here the example of conf in nginx.conf:

redis {
redis_group groupName1 {
redis_node addr port weight;
redis_node addr port weight;
redis_node addr port weight;
}
redis_group groupName2 {
redis_node addr port weight;
}
}


so, is it better to do the config when redis command is called or in the
create_conf module_core member when it is called in the ngx_cycle.c?

thank you for your help.

Ian
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

cycle conf versus on command conf

xdiaod 524 March 29, 2015 02:58PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 264
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