World Scuba Diving Sites Api

פרמיום
על ידי jojokcreator | מְעוּדכָּן 9 дней назад | Travel
פּוֹפּוּלָרִיוּת

8.8 / 10

חֶבִיוֹן

665ms

רמת שירות

80%

Health Check

N/A

חזרה לכל הדיונים

Cache & API limits

Rapid account: Hubert Struminski
hubert.struminski
6 месяцев назад

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 6 месяцев назад

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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות