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 2020/04/07 14:44:45 UTC

[GitHub] [incubator-apisix] leonardjin opened a new issue #1413: request help:

leonardjin opened a new issue #1413: request help: 
URL: https://github.com/apache/incubator-apisix/issues/1413
 
 
   ### Issue description
   compared with openresty ,the qps is lower about 20%-26% 
   I turned off the keepalive of apisix  
   and  write the balancer_by_lua_block like :
   ![image](https://user-images.githubusercontent.com/21360614/78683038-5b3fa200-7921-11ea-9648-37f79ffc1e65.png)
   
   and the compare is
   ![image](https://user-images.githubusercontent.com/21360614/78682325-69d98980-7920-11ea-8952-d3c9abd5e5e3.png)
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.1  master-0
   * OS:centos7 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] moonming edited a comment on issue #1413: request help:

Posted by GitBox <gi...@apache.org>.
moonming edited a comment on issue #1413: request help: 
URL: https://github.com/apache/incubator-apisix/issues/1413#issuecomment-610689113
 
 
   A few questions.
   - What pressure measurement tool is used and is the cpu of OpenResty and Apache APISIX fully loaded?
   - Does OpenResty have keepalive on?
   - In Apache APISIX, it is recommended to use the adimn API rather than the nginx configuration file for testing, which skips a lot of Apache APISIX optimization
   
   In your test scenario, **there is no routing, plug-ins, etc. for Apache APISIX** that would be used, in fact what is being tested is OpenResty itself and there shouldn't be any performance difference.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] membphis commented on issue #1413: request help:

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1413: request help: 
URL: https://github.com/apache/incubator-apisix/issues/1413#issuecomment-610703693
 
 
   @leonardjin you can run a benchmark by this: https://github.com/apache/incubator-apisix/tree/master/benchmark
   
   if you found the performance is bad, please provide the same information, we need them for confirming.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] leonardjin commented on issue #1413: request help:

Posted by GitBox <gi...@apache.org>.
leonardjin commented on issue #1413: request help: 
URL: https://github.com/apache/incubator-apisix/issues/1413#issuecomment-610722363
 
 
   > A few questions.
   > 
   > * What pressure measurement tool is used and is the cpu of OpenResty and Apache APISIX fully loaded?
   > * Does OpenResty have keepalive on?
   > * In Apache APISIX, it is recommended to use the adimn API rather than the nginx configuration file for testing, which skips a lot of Apache APISIX optimization
   > 
   > In your test scenario, **there is no routing, plug-ins, etc. for Apache APISIX** that would be used, in fact what is being tested is OpenResty itself and there shouldn't be any performance difference.
   
   wrk 
   or not  keepalive 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] leonardjin commented on issue #1413: request help:

Posted by GitBox <gi...@apache.org>.
leonardjin commented on issue #1413: request help: 
URL: https://github.com/apache/incubator-apisix/issues/1413#issuecomment-610722161
 
 
   > > `turned off the keepalive`
   > 
   > That is the wrong way, please pay attention to this.
   
   in my case, I cannot use the keepalive 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] membphis commented on issue #1413: request help: compared with openresty , the qps is lower (turn off keepalive)

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1413: request help: compared with openresty ,the qps is lower (turn off keepalive)
URL: https://github.com/apache/incubator-apisix/issues/1413#issuecomment-610731263
 
 
   @leonardjin please provide your fully test scripts, we need a simple way to get your problem.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [apisix] github-actions[bot] commented on issue #1413: request help: compared with openresty ,the qps is lower (turn off keepalive)

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1413:
URL: https://github.com/apache/apisix/issues/1413#issuecomment-904503972


   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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] [incubator-apisix] moonming commented on issue #1413: request help:

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #1413: request help: 
URL: https://github.com/apache/incubator-apisix/issues/1413#issuecomment-610689113
 
 
   A few questions.
   - What pressure measurement tool is used and is the cpu of OpenResty and Apache APISIX fully loaded?
   - Does OpenResty have keepalive on?
   - In Apache APISIX, it is recommended to use the adimn API rather than the nginx configuration file for testing, which skips a lot of Apache APISIX optimization
   
   In your test scenario, there is no routing, plug-ins, etc. for Apache APISIX that would be used, in fact what is being tested is OpenResty itself and there shouldn't be any performance difference.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] membphis commented on issue #1413: request help:

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1413: request help: 
URL: https://github.com/apache/incubator-apisix/issues/1413#issuecomment-610703969
 
 
   > `turned off the keepalive` 
   
   That is the wrong way, please pay attention to this.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [apisix] github-actions[bot] commented on issue #1413: request help: compared with openresty ,the qps is lower (turn off keepalive)

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1413:
URL: https://github.com/apache/apisix/issues/1413#issuecomment-914176015


   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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] github-actions[bot] closed issue #1413: request help: compared with openresty ,the qps is lower (turn off keepalive)

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1413:
URL: https://github.com/apache/apisix/issues/1413


   


-- 
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