SlideShare uma empresa Scribd logo
1 de 15
Campaign Debrief
User-Generated Content Stream
Built on Serverless
May 17, 2018
Tian Chu, Director of Engineering
About us
Wyng builds technology that powers compelling digital campaigns and
promotions for agencies and brands. Our culture is rooted in technology and
marketing, spanning diverse disciplines and decades of experience across mar-
tech, ad-tech, CX, UX, data, and core mobile and web technologies.
In 2011, Wyng powered the first ever hashtag campaign in connection with a
Super Bowl ad, and continues to evolve its platform to align with shifts in
consumer behavior. We believe great products are defined by intelligent
architecture and a passion for innovation.
Wyng is headquartered in the NoMad section of New York City.
2
• Wyng is a digital marketing campaign platform
• Enables marketers create online Trivia Quiz, Photo
Contest, Sweepstakes by drag & drop
• Founded in 2009
• Headquarters in New York City
• Customers: Nestlé, Dove, L'Oréal, Audible,
TripAdvisor and agencies, such as Ogilvy
• Big believer in serverless architecture
User-Generated Content (UGC)
3
of people trust images taken from
“people like them” over brand
created images
70%
61%
of people would be more likely to
purchase through an advertisement
containing user-generated content
Ingest
4
• Ingest user generated content from
Facebook, Twitter, and Instagram by
#hashtag and @mention
• ~ 500K / day on average
• > 100K / hour at peak
• Content from different sources need
to be transformed into ONE format
Curate
5
• Content appear in near real-time
• Filter and search over thousands of
UGCs with response time < 1 sec
• Create collections of content
• Reject inappropriate content
• Reach out for digital rights
Use
6
• Build influence on
social networks
• Engage & Inspire
• Drive businesses
Analyze (Kibana)
7
• Visualizes content streams
• Run analytics on marketing trends
on social networks
• Generate weekly marketing report
• Monitor for abnormal activity of
content stream ingestion
Serverless Architecture
8
Elasticsearch
Service
LambdaAPI
Gateway
ECS
Fargate
(Containers)
Webhook
PowerTrack API
Kibana
Content API
Lambda
Transform
Kinesis
Stream
Buffer
S3
Persist
Glacier
Archive
Lambda
Index
Reception
Reception
DynamoDB
Metadata
Reception and Buffer
9
LambdaAPI
Gateway
ECS
Fargate
(Containers)
Webhook
PowerTrack API
Kinesis
Stream
Buffer
Reception
Reception
Requirements Solution
Incoming data volume is
unpredictable
Lambda scales to meet
demand
Cannot afford missing any
data
Lambda is highly available
Cannot afford lose any
data
Kinesis persists data for 7
days
PowerTrack needs long-
lived connections, but no
much CPU
Docker container
provisioned with 0.25 vCPU
on ECS Fargate
Transform, Persist and Search
10
Elasticsearch
Service
Kibana
Content API
Lambda
Transform
S3
Persist
Glacier
Archive
Lambda
Index
DynamoDB
Metadata
DynamoDB makes Lambda stateful
S3 and Glacier provides affordable persistence of
huge amount of data
Elasticsearch makes data ready for analytics and
search
Pros & Cons
11
Pros Cons
No server management Locked in to AWS J
Easier and quicker to scale Technical Limitations
High availability out-of-box
Hard to mimic AWS infrastructure on Dev
build
Cost effective (>50% reduction for us) Enterprise readiness?
Lessons Learned - Lambda
12
General Security
Use a framework Run everything in VPC
Familiarize yourself with technical limitations Use AWS Secrets Manager
Load test everything Use WAF to protect your endpoints
Dedupe is a must
Lessons Learned - Elasticsearch
13
Availability Security Index
Lots of memory!
Run Elasticsearch as non-
privileged user
Define a mapping
Use dedicated masters
Do NOT directly expose
Elasticsearch to users
Define _id for document
Sanity check queries
Avoid having too many
dynamic fields
Use time-based indices for
“rollover”
Wish List
14
Elasticsearch Service Lambda & Kinesis Stream
Auto scaling Lambda max duration > 5 mins
Continuous backup and point-in-time restore Kinesis max retention > 7 days
Support more custom plugins
In-place upgrade
Thank you!
tian@wyng.com (we are hiring!)

Mais conteúdo relacionado

Mais procurados

ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...
ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...
ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...
CloudVillage
 

Mais procurados (20)

Start Up Austin 2017: Serverless Real Time Analytics
Start Up Austin 2017:  Serverless Real Time AnalyticsStart Up Austin 2017:  Serverless Real Time Analytics
Start Up Austin 2017: Serverless Real Time Analytics
 
ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...
ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...
ATT&CKing the Sentinel – deploying a threat hunting capability on Azure Senti...
 
Automating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWSAutomating Incident Response and Forensics in AWS
Automating Incident Response and Forensics in AWS
 
MozDef Workshop slide
MozDef Workshop slideMozDef Workshop slide
MozDef Workshop slide
 
Incident Response on AWS - A Practical Look.pdf
Incident Response on AWS - A Practical Look.pdfIncident Response on AWS - A Practical Look.pdf
Incident Response on AWS - A Practical Look.pdf
 
Automating Compliance Defense in the Cloud - September 2016 Webinar Series
Automating Compliance Defense in the Cloud - September 2016 Webinar SeriesAutomating Compliance Defense in the Cloud - September 2016 Webinar Series
Automating Compliance Defense in the Cloud - September 2016 Webinar Series
 
ThreatStack Workshop: Stop Wasting Your Time: Focus on Security Practices tha...
ThreatStack Workshop: Stop Wasting Your Time: Focus on Security Practices tha...ThreatStack Workshop: Stop Wasting Your Time: Focus on Security Practices tha...
ThreatStack Workshop: Stop Wasting Your Time: Focus on Security Practices tha...
 
Adding the Sec to Your DevOps Pipelines
Adding the Sec to Your DevOps PipelinesAdding the Sec to Your DevOps Pipelines
Adding the Sec to Your DevOps Pipelines
 
FireEye: Seamless Visibility and Detection for the Cloud
FireEye: Seamless Visibility and Detection for the CloudFireEye: Seamless Visibility and Detection for the Cloud
FireEye: Seamless Visibility and Detection for the Cloud
 
Incident Response - Finding a Needle in a Stack of Needles
Incident Response - Finding a Needle in a Stack of NeedlesIncident Response - Finding a Needle in a Stack of Needles
Incident Response - Finding a Needle in a Stack of Needles
 
Managing Security with AWS | AWS Public Sector Summit 2017
Managing Security with AWS | AWS Public Sector Summit 2017Managing Security with AWS | AWS Public Sector Summit 2017
Managing Security with AWS | AWS Public Sector Summit 2017
 
AWS Enterprise Summit Netherlands - Keynote
AWS Enterprise Summit Netherlands - KeynoteAWS Enterprise Summit Netherlands - Keynote
AWS Enterprise Summit Netherlands - Keynote
 
Meetup Protect from Ransomware Attacks
Meetup Protect from Ransomware AttacksMeetup Protect from Ransomware Attacks
Meetup Protect from Ransomware Attacks
 
Cloud assessments by :- Aakash Goel
Cloud assessments  by :- Aakash GoelCloud assessments  by :- Aakash Goel
Cloud assessments by :- Aakash Goel
 
Phishing in the cloud era
Phishing in the cloud eraPhishing in the cloud era
Phishing in the cloud era
 
ATLO Software Delivers Secure Training Programs with Sophos UTM on AWS.pdf
ATLO Software Delivers Secure Training Programs with Sophos UTM on AWS.pdfATLO Software Delivers Secure Training Programs with Sophos UTM on AWS.pdf
ATLO Software Delivers Secure Training Programs with Sophos UTM on AWS.pdf
 
Business Track
Business Track Business Track
Business Track
 
Incident Response: Eyes Everywhere
Incident Response: Eyes EverywhereIncident Response: Eyes Everywhere
Incident Response: Eyes Everywhere
 
Compliance in the Cloud Using Security by Design
Compliance in the Cloud Using Security by DesignCompliance in the Cloud Using Security by Design
Compliance in the Cloud Using Security by Design
 
A Case Study on Insider Threat Detection
A Case Study on Insider Threat DetectionA Case Study on Insider Threat Detection
A Case Study on Insider Threat Detection
 

Semelhante a Log Analytics with Wyng

Digital Transformation Mindset - More Than Just Technology
Digital Transformation Mindset - More Than Just TechnologyDigital Transformation Mindset - More Than Just Technology
Digital Transformation Mindset - More Than Just Technology
confluent
 
Microservics, serverless and real time; Building blocks of the modern data pi...
Microservics, serverless and real time; Building blocks of the modern data pi...Microservics, serverless and real time; Building blocks of the modern data pi...
Microservics, serverless and real time; Building blocks of the modern data pi...
Manisha Sule
 
Connecta Event: Big Query och dataanalys med Google Cloud Platform
Connecta Event: Big Query och dataanalys med Google Cloud PlatformConnecta Event: Big Query och dataanalys med Google Cloud Platform
Connecta Event: Big Query och dataanalys med Google Cloud Platform
ConnectaDigital
 

Semelhante a Log Analytics with Wyng (20)

Digital Transformation Mindset - More Than Just Technology
Digital Transformation Mindset - More Than Just TechnologyDigital Transformation Mindset - More Than Just Technology
Digital Transformation Mindset - More Than Just Technology
 
omkar-hybris-cv
omkar-hybris-cvomkar-hybris-cv
omkar-hybris-cv
 
Intro to Neo4j
Intro to Neo4jIntro to Neo4j
Intro to Neo4j
 
Priming Your Enterprise for Digital Transformation
Priming Your Enterprise for Digital TransformationPriming Your Enterprise for Digital Transformation
Priming Your Enterprise for Digital Transformation
 
Knowledge Graphs Webinar- 11/7/2017
Knowledge Graphs Webinar- 11/7/2017Knowledge Graphs Webinar- 11/7/2017
Knowledge Graphs Webinar- 11/7/2017
 
Cubitic: Predictive Analytics
Cubitic: Predictive AnalyticsCubitic: Predictive Analytics
Cubitic: Predictive Analytics
 
Introducing Neo4j
Introducing Neo4jIntroducing Neo4j
Introducing Neo4j
 
How Startups can leverage big data?
How Startups can leverage big data?How Startups can leverage big data?
How Startups can leverage big data?
 
Introduction to Neo4j
Introduction to Neo4jIntroduction to Neo4j
Introduction to Neo4j
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey Today
 
Digital Business Transformation in the Streaming Era
Digital Business Transformation in the Streaming EraDigital Business Transformation in the Streaming Era
Digital Business Transformation in the Streaming Era
 
Greetings david cutler inform and connect
Greetings   david cutler inform and connectGreetings   david cutler inform and connect
Greetings david cutler inform and connect
 
Greetings david cutler inform and connect
Greetings   david cutler inform and connectGreetings   david cutler inform and connect
Greetings david cutler inform and connect
 
apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...
apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...
apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...
 
Microservics, serverless and real time; Building blocks of the modern data pi...
Microservics, serverless and real time; Building blocks of the modern data pi...Microservics, serverless and real time; Building blocks of the modern data pi...
Microservics, serverless and real time; Building blocks of the modern data pi...
 
Big Data Expertise
Big Data ExpertiseBig Data Expertise
Big Data Expertise
 
In-Memory Computing Webcast. Market Predictions 2017
In-Memory Computing Webcast. Market Predictions 2017In-Memory Computing Webcast. Market Predictions 2017
In-Memory Computing Webcast. Market Predictions 2017
 
Setting up a Digital Business on Cloud
Setting up a Digital Business on CloudSetting up a Digital Business on Cloud
Setting up a Digital Business on Cloud
 
Connecta Event: Big Query och dataanalys med Google Cloud Platform
Connecta Event: Big Query och dataanalys med Google Cloud PlatformConnecta Event: Big Query och dataanalys med Google Cloud Platform
Connecta Event: Big Query och dataanalys med Google Cloud Platform
 
API strategy with IBM API connect
API strategy with IBM API connectAPI strategy with IBM API connect
API strategy with IBM API connect
 

Mais de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mais de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Log Analytics with Wyng

  • 1. Campaign Debrief User-Generated Content Stream Built on Serverless May 17, 2018 Tian Chu, Director of Engineering
  • 2. About us Wyng builds technology that powers compelling digital campaigns and promotions for agencies and brands. Our culture is rooted in technology and marketing, spanning diverse disciplines and decades of experience across mar- tech, ad-tech, CX, UX, data, and core mobile and web technologies. In 2011, Wyng powered the first ever hashtag campaign in connection with a Super Bowl ad, and continues to evolve its platform to align with shifts in consumer behavior. We believe great products are defined by intelligent architecture and a passion for innovation. Wyng is headquartered in the NoMad section of New York City. 2 • Wyng is a digital marketing campaign platform • Enables marketers create online Trivia Quiz, Photo Contest, Sweepstakes by drag & drop • Founded in 2009 • Headquarters in New York City • Customers: Nestlé, Dove, L'Oréal, Audible, TripAdvisor and agencies, such as Ogilvy • Big believer in serverless architecture
  • 3. User-Generated Content (UGC) 3 of people trust images taken from “people like them” over brand created images 70% 61% of people would be more likely to purchase through an advertisement containing user-generated content
  • 4. Ingest 4 • Ingest user generated content from Facebook, Twitter, and Instagram by #hashtag and @mention • ~ 500K / day on average • > 100K / hour at peak • Content from different sources need to be transformed into ONE format
  • 5. Curate 5 • Content appear in near real-time • Filter and search over thousands of UGCs with response time < 1 sec • Create collections of content • Reject inappropriate content • Reach out for digital rights
  • 6. Use 6 • Build influence on social networks • Engage & Inspire • Drive businesses
  • 7. Analyze (Kibana) 7 • Visualizes content streams • Run analytics on marketing trends on social networks • Generate weekly marketing report • Monitor for abnormal activity of content stream ingestion
  • 8. Serverless Architecture 8 Elasticsearch Service LambdaAPI Gateway ECS Fargate (Containers) Webhook PowerTrack API Kibana Content API Lambda Transform Kinesis Stream Buffer S3 Persist Glacier Archive Lambda Index Reception Reception DynamoDB Metadata
  • 9. Reception and Buffer 9 LambdaAPI Gateway ECS Fargate (Containers) Webhook PowerTrack API Kinesis Stream Buffer Reception Reception Requirements Solution Incoming data volume is unpredictable Lambda scales to meet demand Cannot afford missing any data Lambda is highly available Cannot afford lose any data Kinesis persists data for 7 days PowerTrack needs long- lived connections, but no much CPU Docker container provisioned with 0.25 vCPU on ECS Fargate
  • 10. Transform, Persist and Search 10 Elasticsearch Service Kibana Content API Lambda Transform S3 Persist Glacier Archive Lambda Index DynamoDB Metadata DynamoDB makes Lambda stateful S3 and Glacier provides affordable persistence of huge amount of data Elasticsearch makes data ready for analytics and search
  • 11. Pros & Cons 11 Pros Cons No server management Locked in to AWS J Easier and quicker to scale Technical Limitations High availability out-of-box Hard to mimic AWS infrastructure on Dev build Cost effective (>50% reduction for us) Enterprise readiness?
  • 12. Lessons Learned - Lambda 12 General Security Use a framework Run everything in VPC Familiarize yourself with technical limitations Use AWS Secrets Manager Load test everything Use WAF to protect your endpoints Dedupe is a must
  • 13. Lessons Learned - Elasticsearch 13 Availability Security Index Lots of memory! Run Elasticsearch as non- privileged user Define a mapping Use dedicated masters Do NOT directly expose Elasticsearch to users Define _id for document Sanity check queries Avoid having too many dynamic fields Use time-based indices for “rollover”
  • 14. Wish List 14 Elasticsearch Service Lambda & Kinesis Stream Auto scaling Lambda max duration > 5 mins Continuous backup and point-in-time restore Kinesis max retention > 7 days Support more custom plugins In-place upgrade