World Scuba Diving Sites Api

免费增值
通过 jojokcreator | 已更新 il y a 17 jours | Travel
人气

8.7 / 10

延迟

458ms

服务等级

87%

Health Check

N/A

返回所有讨论

Cache & API limits

Rapid account: Hubert Struminski
hubert.struminski
il y a 6 mois

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 il y a 6 mois

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.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论