Request weights in AWS API Gateway

0

Computing cost of each APIs are different (some GET methods is more lightweight than POST for e.g.) in most usecases. To achieve flexible and fair distribution of API usages for each users/tenants, we'd like to set weights to each API calls, and ratelimit or set quota on total weights requested.

For example, in Apigee platform, you can configure message weight for each apis. https://www.googlecloudcommunity.com/gc/Cloud-Product-Articles/Apigee-Edge-4MV4D-Quota-Policy-Message-Weight-S02E05/ta-p/77423

Is it possible to achieve it by utilizing AWS API Gateway policies?

gefragt vor 9 Monaten255 Aufrufe
1 Antwort
0
Akzeptierte Antwort

You can't really set weights on APIs like you describe, however, you can set different rates for each endpoint.

You can find more information about throttling here, and more specifically about method level throttling here.

profile pictureAWS
EXPERTE
Uri
beantwortet vor 9 Monaten
profile pictureAWS
EXPERTE
überprüft vor 9 Monaten
  • I see, Thank you so much for answering

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen