[
https://issues.apache.org/jira/browse/AMBARI-3573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801860#comment-13801860
]
Dmitry Lysnichenko commented on AMBARI-3573:
--------------------------------------------
+1
> Configure Ganglia Web Server to use KeepAlive connections
> ---------------------------------------------------------
>
> Key: AMBARI-3573
> URL: https://issues.apache.org/jira/browse/AMBARI-3573
> Project: Ambari
> Issue Type: Task
> Components: agent
> Affects Versions: 1.5.0
> Reporter: Oleksandr Diachenko
> Assignee: Oleksandr Diachenko
> Fix For: 1.5.0
>
> Attachments: AMBARI-3573.patch
>
>
> When performance profiling a 20 node cluster it was discovered that using
> KeepAlive http connections resulted in a 7% performance gain for a query that
> returned all host_component metrics.
> The GangliaPropertyProvider gets ganglia data by invoking the cgi script
> rrd.py. This results in a new HttpUrlConnection and input stream being
> obtained for each request to the ganglia back end.
> By default KeepAlive is enabled for Apache but we should ensure this is the
> case for the http server that provides rrd.py.
> For apache, this is configured in httpd.conf.
--
This message was sent by Atlassian JIRA
(v6.1#6144)