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

Support of tsproxy #4088

Open
nouaman opened this issue Feb 14, 2024 · 4 comments
Open

Support of tsproxy #4088

nouaman opened this issue Feb 14, 2024 · 4 comments

Comments

@nouaman
Copy link

nouaman commented Feb 14, 2024

Your question

Hello,
Im trying to run sitespeed inside docker ( kubernetes) as a gitlab job and I want to throttle the connection since it's mentioned as a best practice.
I saw that previous versions supported tsproxy but now there is no mention of it in the documentation and config for tsproxy is not working.
was the support for tsproxy removed ? my best guess is due to python version.
is there any alternatives for throttling the connection for docker/kubernetes ?

@soulgalore
Copy link
Member

Hi @nouaman the problem is that TSProxy do not support/work with Python 3.

is there any alternatives for throttling the connection for docker/kubernetes ?

For Docker you can use Throttle or Docker networks. For Kubernetes I'm not sure, I'm no Kubernetes user. Years ago there where no solution but maybe it is now?

@soulgalore
Copy link
Member

What would work could be to run tests against WebPageReplay https://www.sitespeed.io/documentation/sitespeed.io/webpagereplay/ - its bundled in the Docker container and let you test a website locally in the container.

@soulgalore
Copy link
Member

@nouaman it seems to have happened things for Kubernetes, checkout https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/#support-traffic-shaping - do you think that is something you can try? If you try it, please let me know how it works out.

@nouaman
Copy link
Author

nouaman commented Feb 15, 2024

I will try webpagereplay first to get the stable metrics, thanks a lot

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

No branches or pull requests

2 participants