Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[influxd] Use sync.Pool to reuse gzip.Writers across requests #7948

Merged
merged 2 commits into from
Feb 9, 2017

Commits on Feb 6, 2017

  1. [influxd] Use a sync.Pool to reuse gzip.Writer across requests

    This brings alloc_space down from ~20200M to ~10700M in a run of
    go test ./cmd/influxd/run -bench=Server -memprofile=mem.out -run='^$'
    Carlo Alberto Ferraris committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    a6a7782 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2017

  1. [influxd] add utility functions to make it harder to misuse gzipWrite…

    …rPool
    Carlo Alberto Ferraris committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    005e480 View commit details
    Browse the repository at this point in the history