Question #179136 on Graphite changed:
https://answers.launchpad.net/graphite/+question/179136
Status: Expired => Answered
chrismd changed the question status:
The problem boils down to how the search is performed and how many
metrics you have. The current solution uses filesystem glob patterns
with a few tricks sprinkled in. This is a pretty efficient method. The
webapp can search against an index file as well but that is very slow
once you have more than a few tens of thousands of metrics. I actually
tried implementing a preloaded index, stored in a tree structure that
would support all the current search functionality plus more but it
turned out to be a huge resource hog both in terms of memory and in
terms of startup cost (which can be significant and somewhat frequent
depending on your apache/wsgi config). I'm not saying a better search
can't be implemented, just that I've tried and it's proven non-trivial.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.
_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp