[ARCHIVED] T343707 StatsD load-balancing proxy

Clone this repo:

Branches

  1. ce7fc8e debian/statsdlb@.service: multi-instance support by Filippo Giunchedi · 9 years ago master
  2. 6b1c8fe use SO_REUSEPORT in code, not SO_REUSEADDR by Filippo Giunchedi · 9 years ago
  3. 89fedde debian: pass --prefix to Makefile by Filippo Giunchedi · 9 years ago
  4. 059103e Makefile: use standard variables by Filippo Giunchedi · 9 years ago
  5. 59dac96 remove debian/files, autogenerated by Filippo Giunchedi · 9 years ago

statsdlb

This project provides a StatsD-compatible proxy which routes metrics to multiple local UDP ports. It chooses the backend port for each metric by hashing the metric name, to ensure aggregation works properly. Its purpose is to allow scaling StatsD implementations which cannot exploit multiple CPU cores.

Usage:

statsdlb SRC_PORT DST_PORT1 [DST_PORT2 ...]
  NODES
os 2