cloudflare / speedtest

Component to perform network speed tests against Cloudflare's edge network
https://speed.cloudflare.com
MIT License
459 stars 34 forks source link

Rate limits #43

Open ScoobyDid opened 4 weeks ago

ScoobyDid commented 4 weeks ago

Hey, first of all thank you for this awesome library. It is by far the best out of open source network speed test js libraries.

I just have a question: i have a web app where i need to measure user upload speed live, in total, i need to run ~600 tests per minute (total for all users); the tests are tiny, the measurements config looks like this: [ { type: 'latency', numPackets: 2 }, { type: 'upload', bytes: 1e4, count: 2 }, { type: 'download', bytes: 1e5, count: 1, bypassMinDuration: true }, { type: 'upload', bytes: 1e5, count: 1 }, ]

so is there a chance to face rate-limiting? If yes, then i will specify custom endpoints to send requests to my server, i just need to know how the server should behave and handle the requests.

Thanks in advance for your time and help!