A large real-estate brokerage is exploring the option o( adding a cost-effective location based alert to their
existing mobile application The application backend infrastructure currently runs on AWS Users who opt in to
this service will receive alerts on their mobile device regarding real-estate otters in proximity to their location.
For the alerts to be relevant delivery time needs to be in the low minute count the existing mobile app has 5
million users across the us Which one of the following architectural suggestions would you make to the
customer?
A.
The mobile application will submit its location to a web service endpoint utilizing Elastic Load Balancing and
EC2 instances: DynamoDB will be used to store and retrieve relevant otters EC2 instances will communicate
with mobile earners/device providers to push alerts back to mobile application.
B.
Use AWS DirectConnect or VPN to establish connectivity with mobile carriers EC2 instances will receive the
mobile applications ‘ location through carrier connection: ROS will be used to store and relevant relevant
offers EC2 instances will communicate with mobile carriers to push alerts back to the mobile application
C.
The mobile application will send device location using SQS. EC2 instances will retrieve the relevant others
from DynamoDB AWS Mobile Push will be used to send offers to the mobile application
D.
The mobile application will send device location using AWS Mobile Push EC2 instances will retrieve the
relevant offers from DynamoDB EC2 instances will communicate with mobile carriers/device providers to push
alerts back to the mobile application.
C
Key Words:
For the alerts to be relevant delivery time needs to be in the low minute count the existing mobile app has 5
million users across the us
Whats important?
Latency per region as this app is national. How can we achieve this?
To reduce data latency in your applications, most Amazon Web Services offer a regional endpoint to make your requests. An endpoint is a URL that is the entry point for a web service. For example, https://dynamodb.us-west-2.amazonaws.com is an entry point for the Amazon DynamoDB service.
A.
The mobile application will submit its location to a web service endpoint utilizing Elastic Load Balancing and
EC2 instances: DynamoDB will be used to store and retrieve relevant otters EC2 instances will communicate
with mobile earners/device providers to push alerts back to mobile application.
http://docs.aws.amazon.com/general/latest/gr/rande.html
“app has 5 million users across the us Which one of the following architectural suggestions would you make to the customer? ”
Mobile Push is the best option here …
https://aws.amazon.com/about-aws/whats-new/2013/08/13/amazon-sns-announces-mobile-push/
C
you dont need to store the data, just look at it and then chunk it once offers are determined if any
c
A is the only relevant answer, although there are better ways to do the same
B VPN has nothing to do with this problem
C mobile has no access to SQS “The mobile application will send device location using SQS”
D Mobile push is a server tool and cannot be accessed from mobile “The mobile application will send device location using AWS Mobile Push”
This leaves us with A
C is probably the best answer.
You can send a message to an SQS queue from a mobile app if you’re using the AWS Mobile SDK.
Apple iOS SDK:
http://docs.aws.amazon.com/AWSiOSSDK/latest/Classes/AWSSQS.html#//api/name/sendMessage:
Android SDK:
http://docs.aws.amazon.com/AWSAndroidSDK/latest/javadoc/com/amazonaws/services/sqs/AmazonSQSClient.html
C
AWS using SQS to store the message from mobile apps,and using AWS Mobile Push to send offers to mobile apps.
My only worry with C is
Does SQS serve in order? (As response time is critical here)
A message can stay put in the queue without being addressed
Whereas in A if message is recieved by EC2 it has to act on it
Yes, SQS now serves in order
Correct is A as there is no SQS on the mobile devices.
mobile devices will send data back through some service and that’s why Answer A makes more sense.
https://aws.amazon.com/about-aws/whats-new/2013/08/13/amazon-sns-announces-mobile-push/ AWS mobile push does exist.
Option C worries me… SQS for just knowing the location and sending alerts. I am imagining 5 million users sending their data through SQS queues. Option A seems more relevant
C – Is the only correct answer.
SQS can handle it easly.
The only one that uses the AWS Push Notification
A, message consumption by consumers may not be instant. There are polling intervals and other factors involved.