What are the request per seconds of the AWS API Queries?

不想你离开。 提交于 2019-12-23 04:48:32

问题


What are the request per seconds and average response times(roundtrip) of the following API calls made by Boto-2.38/Boto3 ?

    conn=EC2(aws_access_key,aws_secret_key_id)

    Q1:images=conn.get_all_images(owners=['self'])  
    Q2:instances=conn.get_only_instances()
    Q3:snapshots=conn.get_all_snapshots(owner='self')
    Q4:snapshot=conn.create_snapshot(volume_id, description)
    Q5:instance=conn.launch_instance(<params>)
    Q6:image=conn.create_image(instance_id,name,description)
    Q7:conn.deregister_image(image_id=image_id)
    Q8:volumes=conn.get_all_volumes()

回答1:


The answer will depend on many variables, so there is no one answer. Your latency to AWS, the size of the datasets you are requesting etc and if you are requesting often enough to get API throttled.

Your question implies an extremely heavy API use case so you need to check that your use case will really work in Amazon as they will throttle your api calls if you make too many. http://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#api-request-rate



来源:https://stackoverflow.com/questions/31580884/what-are-the-request-per-seconds-of-the-aws-api-queries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!