Hacker News new | ask | show | jobs
by Chupachupski 4613 days ago
In this context bandwidth throttling is also a consideration - perhaps a per token or per bucket max object size?
1 comments

You can limit objects by size with the existing ACL's already. But you can't specify how many objects overall a user may upload in some time frame, or their accumlated size.

So you can have a token for: upload as many objects as you want of size less than 1MB in the next 1 hour.

You can't have a token for: upload no more than 1000 objects of size less than 1MB, in the next 1 hour and cut them off after 200MB Total.