-
Notifications
You must be signed in to change notification settings - Fork 55
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
Errors observed - Load test - Flogo App (Rest Trigger to Rest Activity) #8
Comments
Hi, after reviewing this issue, it probably be filed against core or flow. It is not a CLI issue. Regardless, running your test on my Mac (go version go1.11.1 darwin/amd64), I see much better performance and stability under the new code. I get the following running the latest: 276805 requests in 1m57.289766241s, 38.54MB read And on the old code: 48911 requests in 1m2.028339413s, 6.81MB read |
The error I get from both is from the load client and not the engines:
|
@fm-tibco |
Observation: This error dial tcp 127.0.0.1:1234 : connect: cannot assign requested address may occur in Ubuntu when the system setting "cat /proc/sys/net/ipv4/tcp_tw_reuse" value is 0. |
Performed Load test on Flogo App with simple Rest Trigger and Rest Activity.
Below are the steps:
1)Install go-wrk
go get github.com/tsliwowicz/go-wrk
2)create the app with latest.json(project-flogo) and run the app(Attached the file).
3)Run the local backend node1.js server.(Used node server to reduce network latency)
node node1.js
4)Now run the below command to hit the gateway with 5 concurrent clients:
go-wrk -c 5 -d 120 http://localhost:9096/test
The below errors are seen:
dial tcp 127.0.0.1:1234 : connect: cannot assign requested address
Also, when using the old TIBCOSoftware/flogo-contrib flow and activities no error is seen for 50 concurrent clients.
Repeat the above steps with the oldFlogo.json.
go-wrk -c 50 -d 120 http://localhost:9096/test
Attached the latest.json, node1.json and oldFlogo.json.
attachments.zip
Note: Have already raised this issue in CLI, on Advice we are raising it in core.
The text was updated successfully, but these errors were encountered: