Skip to content

how to limit/throttle the data fetched form the s3 bucket #5173

Discussion options

You must be logged in to vote

Just in case help for others, my current workaround was to use an HTTP PROXY (tinyproxy) in FreeBSD with ALTQ, here are the basic PF rules that limit the proxy to use 20% bandwidth out of 10MB:

# The IP's of the thanos nodes
table <trust> {x.x.x.x y.y.y.y z.z.z.z}

altq on vtnet0 cbq bandwidth 10Mb queue { std, ssh }
queue std bandwidth 20% cbq(default)
queue ssh bandwidth 80%

block in proto { tcp, udp } from any to any port 8118
pass from <trust> to any

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nbari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants