How can you best resolve the issue of the application responses not meeting your SLA?

You have a web-style application with a stateless but CPU and memory-intensive web tier running on a cc2
8xlarge EC2 instance inside of a VPC The instance when under load is having problems returning requests
within the SLA as defined by your business The application maintains its state in a DynamoDB table, but the
data tier is properly provisioned and responses are consistently fast.
How can you best resolve the issue of the application responses not meeting your SLA?

You have a web-style application with a stateless but CPU and memory-intensive web tier running on a cc2
8xlarge EC2 instance inside of a VPC The instance when under load is having problems returning requests
within the SLA as defined by your business The application maintains its state in a DynamoDB table, but the
data tier is properly provisioned and responses are consistently fast.
How can you best resolve the issue of the application responses not meeting your SLA?

A.
Add another cc2 8xlarge application instance, and put both behind an Elastic Load Balancer

B.
Move the cc2 8xlarge to the same Availability Zone as the DynamoDB table

C.
Cache the database responses in ElastiCache for more rapid access

E.
Move the database from DynamoDB to RDS MySQL in scale-out read-replica configuration

Explanation:

http://aws.amazon.com/elasticmapreduce/faqs/



Leave a Reply 0

Your email address will not be published. Required fields are marked *


Frank

Frank

Hi, I would go for A.

DynamoDB is automatically available across three facilities in an AWS Region. So moving in to a same AZ is not possible / necessary.

In this case the DB layer is not the issue, the EC2 8xlarge is the issue; so add an other one with a ELB in-frond of it.

See also: https://aws.amazon.com/dynamodb/faqs/

Regards,
Frank

Jiping

Jiping

But, it says EC2 is “under load”, so A might not be the solution.
vote for B.

Bryan Erwin

Bryan Erwin

I don’t see how the answer could be B because this won’t help the issue with CPU/Memory intense web tier, but adding a second web server behind a load balancer could help return responses faster. That would be answer A.

Vijay Shetty

Vijay Shetty

DyanmoDB is regional service

Seth

Seth

A is the correct answer. Problem is with the instance, not the database. Answer B is not an option.

BDA

BDA

A – database rĂ©ponses are responding as planned, heavy load for web tier should be spread between two instances registered with ELB

Anil Lingutla

Anil Lingutla

stateless – so you cant use load balancer.. And its a VPC so they both are may be in different availability zone.. Placing this web/app server along with the DB server since they store the sessions in Dynamo DB is the right answer

Sam

Sam

The “Show Answer” button shows “B” while most of the audience here is saying “A”. I agree with A but who manages the answers here? and you you justify your answer “B”?

Fifi

Fifi

Absolutely A

LV

LV

A for sure …

Sam T

Sam T

A – you have memory/CPU problem you need more compute – add another server.
There is no DB problem so nothing needs to be done there.

B is wrong – DynamoDB is Regional – nothing to do with AZ