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

Use persistent connections in frontend #2

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

Conversation

2opremio
Copy link

This is a workaround for Scope not showing short-lived connections properly.

With this patch and using vegeta (which uses persistent connections) instead of curl to generate some load, I get the expected visualization:

screen shot 2016-04-28 at 19 25 50

(This is a tailored local deployment, the kubernetes containers won't show in a not installation).

We will improve the tracking of short-lived connections for Scope 0.16.

@2opremio
Copy link
Author

2opremio commented Apr 28, 2016

This is how I've run vegeta BTW:

echo "GET https://$(kubectl get service  frontend  --template '{{.spec.clusterIP}}')" | docker run --rm --name vegeta -i oba11/vegeta vegeta  attack -connections 1  -insecure -duration 0 -rate 1  > /dev/null

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