Solved

asp.net webservice aws rds performance and costs

Posted on 2010-11-30
5
430 Views
Last Modified: 2014-11-12
Hi,

I plan to develop an asp.net website & webservice.
I would like to make use of AWS to simplify deployment and scaling.

The site will typically be low traffic. But for some periods at known times the load will be high, eg, 20,000 requests per minute. When the load is high the majority of traffic will be calls to a simple webservice which will result in a db insert.

I have looked at the services offered by AWS, but it is hard to gauge what the different offerings will support in real world usage.

For exmaple:

If I had a fairly small 24/7 reserved instances for:
- Webserver on EC2 instance
- RDS instance

Then used On-demand Instances for the high demand period, what kind of On-demand resources might I require to support the expected number of requests?

Basically I am trying to get a feel for the following:

1) Will the technology outlined above scale to support the expected load
2) An idea of the cost of On-demand resources to support this load

Any advice appreciated, Many Thanks.
0
Comment
Question by:5quat
5 Comments
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34280309
0
 
LVL 33

Accepted Solution

by:
shalomc earned 500 total points
ID: 34280847
you want to know 2 things: whether AWS will support your varying load, and at what price.

The first one is simple. AWS will support your work load, if you take some simple steps to ensure that it does.
You will have to create your own private AMIs and test that your application works well in a multi-instance environment.
All of your instances will have to be load balanced using ELB. Do not use NLB in an elastic cloud environment.
You should use autoscaling to guarantee the level of servce your application is to provide.

Your problem may turn out to be the database. Having multiple jobs inserting at the same time may be too much for a single database instance, and RDBMS don't scale out well.
The solution is to create a buffer between the web service and the database. You can use a queue - SQS/SNS - and dedicated database workers that empty the queue and insert to the database.  

Now to the cost.
How many automatically invoked servers will your application require under heavy load?
There is no formula for your question. If you set up an application instance in your office and stress test it, you will be able to estimate these numbers. However, when using autoscaling, you can limit the maximum number of instances that your cluster is to contain. Assuming that your heavy load lasts a whole week, a week of a Windows small instance costs $18.
If during this week you fire up 10 instances instead of 5 instances, you will pay extra $90.
This is Not a lot of money for a business web site :)
The cost of oversizing for a short time is very low in the cloud.

0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 35414303
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Class Library Dynamics For Connectstring Information 2 21
Upgrades AWS EC2 & RDS Boxes 1 36
Allow space in this pattern 2 47
Split in Javascript 5 30
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now