(mbl305) the world cup second screen experience | aws re:invent 2014
DESCRIPTION
How can you combine the power of the cloud to provide an immersive real-time experience for your mobile and television viewers? andquot;Second Screen Experienceandquot; provides an enhanced viewing experience for your users. We present best practices for implementing these experiences irrespective of your users' platform. Magazine Luiza is one of the largest retail chains in Brazil and was a sponsor of the Top TV station in the country during the FIFA World Cup. They ran ads on game intervals and reached spikes of four times more traffic by mobile users. Come see how they built the second screen experience and the architecture to manage the Magazine Luiza mobile strategy on top of AWS.TRANSCRIPT
SECOND SCREEN
VISIWARE
MEDIA GAMIFICATION
NETCO SPORTS
MEDIA ENRICHMENT~80 EVENTS DURING A MATCH
SHOT BY 5+ CAMERAS
EVENT
SOURCE
GAME
DATA
VIDEO
STREAM
Thiago Catoto, Luiza Labs
Magazine Luiza700+ STORES
8 DISTRIBUTION CENTERS
23k+ WORKERS
25 MILLION CUSTOMERS
MULTI-CHANNEL STRATEGY
Send message based on the game score
Send user to our web app
2nd PARTHALF
TIME1st PART
PU
SH
NO
TIF
ICA
TIO
N
PU
SH
NO
TIF
ICA
TIO
N
*
while (response is None) or (next_token is not None):
response = conn.list_endpoints_by_platform_application(application, next_token=next_token)
next_token = response['ListEndpointsByPlatformApplicationResponse']['ListEndpointsByPlatformApplicationResult']['NextToken']
endpoints = response['ListEndpointsByPlatformApplicationResponse']['ListEndpointsByPlatformApplicationResult']['Endpoints']
for endpoint in endpoints:
try:
if endpoint['Attributes']['Enabled'] == 'true':
response = conn.publish(message=message,target_arn=endpoint['EndpointArn’])
except BotoServerError, e:
not_publish_count = (not_publish_count + 1)
response = conn.publish(topic=platform_applications_topic, message=message)
Thanks!
Thiago Catoto, Luiza Labs
Gateway to AWS: Cognito Identity
Amazon Cognito
(AWS IAM / STS)
Java Python (boto)
PHP
.NET Ruby
iOS Android
JavaScript
Any SDK Authentication
JavaScript
Any Service
Amazon Cognito for Unauthenticated Identities
Unique Identifier for Your “Things”“Headless” connected devices can also
securely access cloud services
Save Data to the CloudSave app and device data to the cloud and
merge them after login
Guest User AccessSecurely access AWS resources and leverage
app features without the need to create an
account or log in
Visitor
Preferences
Cognito
Store
Guest
EC2 S3 DynamoDB Kinesis
100x MORE USERS IN SECONDS
MAINTAIN RELIABILITY
SCHEDULED SCALING
as-put-scheduled-update-group-action ScaleUp--auto-scaling-group front-end-asg--start-time "2014-11-13T08:00:00Z”--desired-capacity 50
SCALE UP RDS INSTANCES
RDS READ REPLICAS
DYNAMODB CAPACITY
PRE-RECORDED NETWORK ACTIVITY
USE SPOT INSTANCES
+
APACHE BENCH, APACHE JMETER,
LOCUST.IO, THE GRINDER,…
USING AMAZON EC2 TO SIMULATE
2.4 MILION PLAYERS
UNDERSTAND THE LIMITS OF YOUR APP
If the second screen is being used,
you’re not enjoying the primary one…
VISIWARE
SYNC2AD
Cognito
User
Management
CloudFront
Content
Delivery
DynamoDB
Persistence
SNS
Notifications
EC2
Compute
Kinesis
Event Streaming
Elastic
MapReduce
Data Analysis
Client
Elastic
Beanstalk
Auto Scaling
Mobile
Analytics
Analytics
PAY AS YOU GO
SCALE AND RELIABILITY
AUTOMATION
BREADTH OF SERVICES
Please give us your feedback on this session.
Complete session evaluations and earn re:Invent swag.
http://bit.ly/awsevals