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

Tune nginx.conf for perf improvement #38

Open
wants to merge 1 commit into
base: oneUpdateFile
Choose a base branch
from

Conversation

fheslouin
Copy link
Collaborator

@fheslouin fheslouin commented Sep 30, 2016

  • Tune cache
  • Add Gzip compression for file over 10Mo
  • Tune buffer

We might debate around gzip compression as it reduce bandwidth but
increase cpu consuming. Using less bandwidth is really intersting for
the wifi AP

Here is a quick benchmark :

                        original    tuned
Transactions            150hits     150hits
Availability            100.00%     100.00%
Elapsed time            32.47secs   31.07secs
Data transferred        0.73MB      0.17MB
Response time           2.41secs    2.36secs
Transaction rate        4.62trans/s 4.83trans/s
Throughput              0.02MB/sec  0.01MB/sec
Concurrency             11.11       11.38
Successful transactions 150         150
Failed transactions     0           0
Longest transaction     5.37        4.12
Shortest transaction    0.11        0.24

- Tune cache
- Add Gzip compression for file over 10Mo
- Tune buffer

We might debate around gzip compression as it reduce bandwidth but
increase cpu consuming. Using less bandwidth is really intersting for
the wifi AP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant