← Back to team overview

graphite-dev team mailing list archive

Re: [Question #136096]: Collecting system metrics

 

Question #136096 on Graphite changed:
https://answers.launchpad.net/graphite/+question/136096

    Status: Open => Answered

chrismd proposed the following answer:
It should scale well up to at least a few thousand clients. I haven't
tested with more than ~2,000 or so but at that level CPU usage was still
nominal. This is assuming you're on Linux and are using the twisted
epoll reactor. Try this code from a python interpreter:

from twisted.internet import epollreactor
epollreactor.install()

If you get no errors then you are good to go. epoll is far more scalable
than the default reactor and carbon attempts to use it but will fall
back to the default select reactor if it is not available. The select
reactor does not work above approximately 1,024 clients and is much more
CPU intensive.

Also this is assuming you're on at least version 0.9.6 where carbon-
cache.py is built on the twisted framework.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.