hopsoft / docker-graphite-statsd

Docker image for Graphite & Statsd
MIT License
867 stars 308 forks source link

Multiple Carbon Cache Daemons? #60

Open geekdave opened 8 years ago

geekdave commented 8 years ago

First of all, thanks so much for this project!

Looks like only a single carbon-cache.py instance is started. I'm starting to experience performance issues with querying graphite, and write timeouts when clients attempt to connect to graphite.

I am running this image on a 4-CPU machine, and if I understand correctly, the best practice is to run one instance of carbon-cache.py per CPU.

Is there a way to do that?

hopsoft commented 8 years ago

Nothing baked into the image as of yet, but I like the idea of making this dynamic. Let me know if you take a stab at it; otherwise, I'll see what I can do when I get some time to work on it.