trickle

Why doesn't the trickle utility affect my dynamically-linked golang program?

夙愿已清 提交于 2019-12-11 03:03:13
问题 I have a golang program that uploads a ton of data to OpenStack Object Storage over https. It relies on the golang standard library "net/http" to do the work. I would like to use trickle to rate-limit the upload of the data, but running my code using trickle does not seem to have any effect (as though I'm not using trickle at all). Why does this happen? Is there some limitation to trickle or golang that prevents them from working together? Is there some gotcha that I haven't considered? This

Using trickle with Git

此生再无相见时 提交于 2019-12-10 04:26:56
问题 I would like to throttle a simple git pull using trickle. This seems like it should be easy: trickle -d 100 git pull , but when git shows its bandwidth rate, it still hovers around 3.3 MiB/s for me, much greater than the supposed maximum of 1000 KB/s. I am discouraged by the fact that it looks like trickle hasn't been updated in 8 years, but I am hoping I can still resolve this problem. Other random info that may prove helpful: Fedora 20 trickle -V : trickle: version 1.07 git --version : git