World Scuba Diving Sites Api

FREEMIUM
Door jojokcreator | Bijgewerkt vor 17 Tagen | Travel
Populariteit

8.7 / 10

Latency

458ms

Serviceniveau

87%

Health Check

N/A

Terug naar alle discussies

Cache & API limits

Rapid account: Hubert Struminski
hubert.struminski
vor 6 Monaten

Hi,

I have a few questions:

  1. Can I cache those responses in my REST API ? If yes what is maximum time o cache ?
  2. What does mean 25 requests per second. If I have for example 100 000 users and all users in the same second will make the same request to this API, so rest of requests will be suspended ?

Regards.

Rapid account: Jojokcreator
jojokcreator Commented vor 6 Monaten

Yes, you can cache responses in your REST API get request. The maximum time to cache depends on the value you set in your api headers .

If 100,000 users simultaneously make requests, the excess requests beyond the limit will be throttled. It’s important to design your application to be able to use the cached responses for all users i.e via one api route that handles all users.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen