1、 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.A P I 3 0 7-RUri SegevDavid RobertsBuilding rate-limited solutions on AWShe/himPrincipal Serverles
2、s Solutions ArchitectAWShe/himSenior Startup Solutions ArchitectAWS 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Why rate limiting?2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Throttling=Ra
3、te limiting?Rate limitingThrottling 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Throttling is a form of rate limiting,also called admission controlThrottling(our definition)Service AService BDo some work pleaseNo(429)2025,Amazon Web Services,Inc.or its affiliates.All rights re
4、served.Throttling is a form of rate limiting Generally,happens at the edge A service returning a 429 is declining to do the work,up to the calling service to decide what happens nextThrottlingService AService BDo some work pleaseNo(429)2025,Amazon Web Services,Inc.or its affiliates.All rights reserv
5、ed.Throttling on AWSCoarse grained throttlingFine grained throttlingAWS ShieldAWS WAFAmazon API Gateway 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Rate limitingService BWork to be doneResource with scaling limitations 2025,Amazon Web Services,Inc.or its affiliates.All rights
6、reserved.CRUD microservice that is consumed by multiple business units Want to prevent a single business unit from consuming too much capacity creating contention with other business unitsUse case:Limiting load on a database 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Document