statsd, workers, udp, and fail-safe load balancing

Asked by Orion Fillmore

Hello,

I am new to graphite and needing to use statsd with it. I am setting up a master/slave config for multiple graphite servers with load balancing between statsd and carbon as a failsafe measure for if, I mean when my master crashes. However, my question is what should I do for failover protection on the statsd end.

What is the best/recommended method for this. How should my workers deal with statsd crashing? I've put a basic example down below to illustrate my question (poorly drawn, but the point should be there).

                                                                         Graphite
                                                                               |
                                                                               |
                                              Carbon master ---- -----Carbon slave
                                                                               |(TCP)
                                                         ___________|____________ load balancer
                                                         ___________|_____________
                                                       / \
                                                       | statds statds statsd |
                                                       | |
                                                        \________________________/
                                                                | | (UDP) |
                                                         ___ |_______|________|____(should I just put another load balancer here?)
                                                                | | |
                                                                | | |
                                                          worker worker worker

This might be a newbie question, but I was having trouble finding documentation for this issue. Also, I know the nature of UDP makes this issue tough to deal, so any pointers/suggestions/help is greatly appreciated.

-Fillmore

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Orion Fillmore
Solved:
Last query:
Last reply:
Revision history for this message
Nicholas Leskiw (nleskiw) said :
#1

I'm going to be as gentle as I can here...you should probably as your statsd question on the statsd mailing list.
Not everyone here uses statsd. Thanks!

Revision history for this message
Orion Fillmore (ofillmore) said :
#2

Thank you Nicholas. I will do that. Sorry for the inconvenience.