Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8328997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:37:22+00:00 2026-06-09T01:37:22+00:00

I have a PHP application which I have running on Amazon’s Web Services. It’s

  • 0

I have a PHP application which I have running on Amazon’s Web Services. It’s a relatively simple PHP script which basically does a simple write to an SQL database. This Database is an Xtra Large RDS instance. The PHP is running on a large EC2 instance behind a load balancer.

What I would like to do is to stress test my script to simulate about 800 users all connected at the same time (yes, that truely is the estimate).

I have heard about Siege, but I wasn’t sure how to go about using it to test my application. If I try running it from my connection at home, I’m not sure that my PC / ADSL is even fast enough to create enough traffic to simulate 800 users attacking the EC2s (thus the RDS) all at once.

Is it advisable to start another EC2 instance in another zone to simply “Siege” my application? Or perhaps running 2 EC2 instances, both sieging with 400 users each!?

One hope that this would test the load balancing, the RDS and the EC2s thoroughly.

Does anyone have experience with this kind of high-concurrent-user testing?

Andy

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:37:24+00:00Added an answer on June 9, 2026 at 1:37 am

    I wrote a script that might help with what you need, details here, source here.

    But first of all, and really, this is the most important thing, you need to consider what defines a ‘user’. Whilst it might seem obvious in descriptive terms, in technical terms you need to start to talk about requests per second.

    Now that bug bear is out of the way, to run load tests against Amazon using ELBs there’s a couple of things you might want to know about.

    1. At this sort of load you’ll very likely need to ask Amazon to ‘pre-warm’ things. Last time I looked into this I found that an ELB is essentially a software load balancer running on a simple instance. Like all things, these instances have a throughput limit and tend to max out at around (very vague) 40 requests a second. They will autoscale but the algorithm for this is not suited to load testing so pre warming is Amazon spinning up X ELBs beforehand where X is based on the information you provide to them in your request (see my first point around requests per second, not users).

    2. ELBs can cache DNS which in load testing can cause issues. If your test tool is java based (like JMeter) use: -Dsun.net.inetaddr.ttl=0

    Whatever solution you opt for, be very aware that your test itself can become the bottleneck, you should check for this first before blaming the application you’re testing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Apache server running which hosts a php web application. This server
I have a PHP web application running on IIS, which allows a user to
I am using Google GeoCoding services. I have a PHP application which calls the
I have web services written using java which interacts with the android application only
I have written a PHP application which requires storage of millions of integers between
I have a custom built application framework written in PHP which I have been
I have multiple web applications (PHP) which are being served to different customers from
I'm running a php application which responds to the client in about 1 minute
I have a php application running on XAMPP but I want to connect to
I have a currently running PHP application that I want to add real-time feed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.