sitespeedio/sitespeed.io

Support of tsproxy

Opened this issue · 4 comments

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 ?

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?

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.

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

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