leric commented on PR #5995: URL: https://github.com/apache/incubator-devlake/pull/5995#issuecomment-1706171116
Test result in my local dev environment: ### Direct access: ``` time curl -X GET -H "Authorization:Bearer glpat-*****" 'https://gitlab.com/api/v4/projects/8967944' 1 real 0m0.707s user 0m0.064s sys 0m0.010s 2 real 0m0.652s user 0m0.055s sys 0m0.000s 3 real 0m0.674s user 0m0.056s sys 0m0.000s ``` ### Via DevLake proxy without client reuse: ``` time curl -X GET http://172.26.143.88:30017/plugins/gitlab/connections/1/proxy/rest/projects/8967944 1 real 0m2.222s user 0m0.004s sys 0m0.000s 2 real 0m2.097s user 0m0.003s sys 0m0.000s 3 real 0m2.321s user 0m0.004s sys 0m0.000s ``` As the request jump through a remote server, this test result may be more affected by network latency ### Via DevLake proxy with client reuse: ``` time curl http://localhost:8080/plugins/gitlab/connections/1/proxy/rest/projects/8967944 1 real 0m1.556s user 0m0.006s sys 0m0.000s 2 real 0m0.499s user 0m0.006s sys 0m0.000s 3 real 0m0.527s user 0m0.005s sys 0m0.000s ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
