raintank / graphite-api

Graphite-web, without the interface. Just the rendering HTTP API.
http://graphite-api.readthedocs.org
Apache License 2.0
1 stars 1 forks source link

dont perform branch searchs for calls to /render #9

Closed woodsaj closed 8 years ago

woodsaj commented 8 years ago

The graphite-raintank finder uses two separate queries to cassandra. 1 for finding leaf_nodes and one for finding branches. When making calls to /render, only leaf nodes are used. To significantly improve rendering performance and reduce load on our Elasticsearch cluster we should skip searching for branches when rendering datapoints.