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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to