Wanting to use fly machines to run untrusted code, how would you recommend I measure bandwidth egress?

As the post title says, I want to run untrusted python code and I want to measure (or just cap) bandwidth egress to prevent abuse. How would you recommend I do this?

2 Likes

I’d probably run the user’s net code through a custom socks proxy that lets you measure and cap bandwidth

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.