AWS ASG failing on HEAD request but hardly on GET requests on stress test Unicorn Meta Zoo #1:...

Multiple fireplaces in an apartment building?

Raising a bilingual kid. When should we introduce the majority language?

Multiple options vs single option UI

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

What is it called when you ride around on your front wheel?

Is there any hidden 'W' sound after 'comment' in : Comment est-elle?

Retract an already submitted recommendation letter (written for an undergrad student)

Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?

Putting Ant-Man on house arrest

A strange hotel

Is Bran literally the world's memory?

Seek and ye shall find

What is a 'Key' in computer science?

AI positioning circles within an arc at equal distances and heights

How would I use different systems of magic when they are capable of the same effects?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

Is it acceptable to use working hours to read general interest books?

Protagonist's race is hidden - should I reveal it?

Where did Arya get these scars?

Implementing 3DES algorithm in Java: is my code secure?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

Justification for leaving new position after a short time

Has a Nobel Peace laureate ever been accused of war crimes?



AWS ASG failing on HEAD request but hardly on GET requests on stress test



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Come Celebrate our 10 Year Anniversary!





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm running a stress test with Locust on:




  • c4.xlarge (attacker has c4.4xlarge)

  • 1 instance

  • amazonlinux 2017.03


I do simple HEAD and GET requests to a /status.html endpoint with the same distribution numbers 25000 users with 1000 spawned per second.
For the head requests I get a lot of these errors:
- 504, GATEWAY_TIMEOUT
- 408, REQUEST_TIMEOUT
- 503, Service unavailable: Back-end server is at capacity
The error rate is at about 10%.



But strangely for the GET request I get hardly any errors. It is not even 1%.



Why would that happen?



If you need more details about the setup I can provide it. Unfortunately I am very new to AWS so I do not know what to provide. Sorry!









share





























    0















    I'm running a stress test with Locust on:




    • c4.xlarge (attacker has c4.4xlarge)

    • 1 instance

    • amazonlinux 2017.03


    I do simple HEAD and GET requests to a /status.html endpoint with the same distribution numbers 25000 users with 1000 spawned per second.
    For the head requests I get a lot of these errors:
    - 504, GATEWAY_TIMEOUT
    - 408, REQUEST_TIMEOUT
    - 503, Service unavailable: Back-end server is at capacity
    The error rate is at about 10%.



    But strangely for the GET request I get hardly any errors. It is not even 1%.



    Why would that happen?



    If you need more details about the setup I can provide it. Unfortunately I am very new to AWS so I do not know what to provide. Sorry!









    share

























      0












      0








      0








      I'm running a stress test with Locust on:




      • c4.xlarge (attacker has c4.4xlarge)

      • 1 instance

      • amazonlinux 2017.03


      I do simple HEAD and GET requests to a /status.html endpoint with the same distribution numbers 25000 users with 1000 spawned per second.
      For the head requests I get a lot of these errors:
      - 504, GATEWAY_TIMEOUT
      - 408, REQUEST_TIMEOUT
      - 503, Service unavailable: Back-end server is at capacity
      The error rate is at about 10%.



      But strangely for the GET request I get hardly any errors. It is not even 1%.



      Why would that happen?



      If you need more details about the setup I can provide it. Unfortunately I am very new to AWS so I do not know what to provide. Sorry!









      share














      I'm running a stress test with Locust on:




      • c4.xlarge (attacker has c4.4xlarge)

      • 1 instance

      • amazonlinux 2017.03


      I do simple HEAD and GET requests to a /status.html endpoint with the same distribution numbers 25000 users with 1000 spawned per second.
      For the head requests I get a lot of these errors:
      - 504, GATEWAY_TIMEOUT
      - 408, REQUEST_TIMEOUT
      - 503, Service unavailable: Back-end server is at capacity
      The error rate is at about 10%.



      But strangely for the GET request I get hardly any errors. It is not even 1%.



      Why would that happen?



      If you need more details about the setup I can provide it. Unfortunately I am very new to AWS so I do not know what to provide. Sorry!







      amazon-web-services amazon-ec2 load-balancing amazon-elb stress-testing





      share












      share










      share



      share










      asked 38 secs ago









      sterossteros

      1062




      1062






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f964496%2faws-asg-failing-on-head-request-but-hardly-on-get-requests-on-stress-test%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f964496%2faws-asg-failing-on-head-request-but-hardly-on-get-requests-on-stress-test%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...