librato / statsd-librato-backend

A StatsD backend that sends metrics to Librato Metrics
MIT License
76 stars 34 forks source link

Use keep-alive connection to Librato API #30

Closed mheffner closed 7 years ago

mheffner commented 10 years ago

Maintain one (or more) connections to the API with HTTP keep-alive across report intervals. This should reduce the report time POST cost by removing SSL setup costs. May reduce timeouts seen at high-frequency report intervals.

nextmat commented 10 years ago

Does it make sense to change behavior for this option depending on reporting interval? Seems like a real gain for short reporting intervals, potential connection suck for longer ones?