Rate Limiting

All users are limited to a maximum rate of 60 requests/minute.

This rate limiting is crucial because it:

  • Prevents Network Congestion: By controlling the flow, it stops any single source from overwhelming the network.

  • Ensures Fair Usage: All users get a fair share of the network without one hogging the resources.

  • Maintains Quality of Service: It keeps data transmission smooth, avoiding delays or interruptions in service.

How it Works

CrossTrade employs a leaky bucket-type scheduling algorithm to ensure traffic fairness. This means that after one minute, the counter does not "reset" back to 60 available requests. Requests are slowly "leaked" back into the bandwidth pool based on their usage rate.

Exceeding the rate limit will result in an HTTP 429 Rate Limit Exceeded error.

Last updated