World Scuba Diving Sites Api

FREEMIUM
(Ким) jojokcreator | Оновлено vor 17 Tagen | Travel
Популярність

8.7 / 10

Затримки

458ms

Рівень обслуговування

87%

Health Check

N/A

Повернутися до всіх обговорень

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.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення