You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/18 08:02:27 UTC

[GitHub] [apisix] tzssangglass opened a new pull request, #8112: perf: simply set upstream for only one node

tzssangglass opened a new pull request, #8112:
URL: https://github.com/apache/apisix/pull/8112

   ### Description
   
   <!-- Please include a summary of the change and which issue is fixed. -->
   <!-- Please also include relevant motivation and context. -->
   
   Fixes # (issue)
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [x] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first)
   
   <!--
   
   Note
   
   1. Mark the PR as draft until it's ready to be reviewed.
   2. Always add/update tests for any changes unless you have a good reason.
   3. Always update the documentation to reflect the changes made in the PR.
   4. Make a new commit to resolve conversations instead of `push -f`.
   5. To resolve merge conflicts, merge master instead of rebasing.
   6. Use "request review" to notify the reviewer after making changes.
   7. Only a reviewer can mark a conversation as resolved.
   
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on pull request #8112: perf: simply set upstream for only one node

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on PR #8112:
URL: https://github.com/apache/apisix/pull/8112#issuecomment-1282010687

   The following tests were done on my development machine.
   
   The number of workers is 1, disable access log, and disable the proxy-mirror and proxy-cache plugins, use one route
   
   ### master branch:
   
   ```
   Requests/sec:  10702.22
   Transfer/sec:      1.96MB
   
   Requests/sec:  11511.03
   Transfer/sec:      2.11M
   
   Requests/sec:  11418.18
   Transfer/sec:      2.09MB
   ```
   
   flamegraph:
   
   ![master](https://user-images.githubusercontent.com/30819887/196378306-1dd52f1f-0d0e-4af7-b266-835584824a2e.svg)
   
   
   after perf:
   
   ```
   Requests/sec:  12175.35
   Transfer/sec:      2.23MB
   
   Requests/sec:  12254.53
   Transfer/sec:      2.24MB
   
   Requests/sec:  12294.92
   Transfer/sec:      2.25MB
   ```
   
   flamegraph:
   
   ![perf](https://user-images.githubusercontent.com/30819887/196378706-367168fb-67e8-45ae-bdd3-9335bc1883f8.svg)
   
   
   In this scenario, performance is improved by 6.8%


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass closed pull request #8112: perf: simply set upstream for only one node

Posted by GitBox <gi...@apache.org>.
tzssangglass closed pull request #8112: perf: simply set upstream for only one node
URL: https://github.com/apache/apisix/pull/8112


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org