API Usage Performance and Rate limiting
API Usage
| API Usage | Data | Notes |
|---|---|---|
| Availability | 99.995% | |
| P90 Response Time – Create Order | Sync: < 2sec Aysnc: < 1 sec | Dependent on downstream 3rdParty Gift Card Processor, Risk Assessment, Payment Processor, etc. Asynchronous responses should be handled by supported webhooks. Partner should plan to handle long running processes (rollbacks, retries, etc.) |
| P90 Response Time – Servicing | 0.5 sec | |
| Throughput | 760 tps | This is a shared resource across ALL BHN partners. Rate Limiting is enabled by central policies. |
Rate Limiting
Rate limiting is a fundamental mechanism used by APIs to control the rate of incoming requests from clients. It sets boundaries on the number of requests a client can make within a specified time period, ensuring fair and equitable access to API resources. Rate limiting policies play a crucial role in maintaining API performance and reliability by preventing abuse, mitigating the risk of overload, and safeguarding against potential disruptions to service. By enforcing rate limits, API providers can effectively manage traffic flow, optimize resource utilization, and deliver a consistent and responsive experience to all users.
| BHN Rate Limiting Policy |
|---|
| We limit request to 10 requests/second for each partner. This is a configurable which can be changed on a case by case basis. Please reach out to your implementation partner for more details. |
| Exceeding Rate Limits |
|---|
| Response Codes: 429 |
| Error Messages: Too many requests |
Updated 5 months ago
