SlideShare a Scribd company logo
Floods of Twitter Data
Jim Moffitt
Developer Advocate @Twitter
@snowman
StampedeCon 2016
Gnip develops the enterprise-grade data APIs and services to
help unlock the power of Twitter data
agenda
(6 characters)
• Twitter 101 - Public, mobile, real-
time and big data.
• Finding your signal of interest.
• Twitter, early-warning systems
and IoT.
Twitter is
public, mobile, and
real-time
(40 characters)
Firehose volume:
• Hundreds of millions of
Tweets every day.
• Billions of Tweets per
month.
Twitter is big data
Twitter is big data
Firehose velocity:
• Many thousands of
Tweets per second.
• 20-25K per second
now common during
events.
• Current record: 140K
tweets per second.
Twitter is real-time
Twitter is really fast
#StampedeCon OR #realtime OR @snowman OR
(point_radius:[-90.202222 38.624419 1mi] (@StampedeCon OR
#demo OR "big data" OR #BigData))
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Publisher Data Platform
Sample Analytics Providers
Brands
Acting on Insights from Twitter Data
Providing Analysis
from Twitter Data
Filtering, Enriching
& Distributing
Content
Creating Social
Media Content
TWITTER DATA ECOSYSTEM
SYSTEM
REDUNDANCY
CONFIGURATION
APPLICATION
FILTERING AT
SCALE
DATA FIDELITY
Enterprise Data Services
FIREHOSE
FILTERING
STREAMING
CLIENT SIDE
RULES
FIREHOSE
FILTERING
STACK 1
CUSTOMER
STREAMING
STACK 2 STACK 3
CUSTOMER 1
CUSTOMER 2
CUSTOMER 3
CUSTOMER 4
CUSTOMER 5
CUSTOMER 6
CUSTOMER 7
CUSTOMER 8
• Agnostic APIs.
• Most used languages: Java, Python, Ruby, C#, Node.js
• Understanding Twitter metadata and filtering syntax.
• Stream consumer is lightweight and writes Tweets to a queue.
• JSON parser is flexible and tolerant.
• Bending and not breaking.
• Storage.
Client-side details
A Twitter Data Story
2013 Colorado Flood
Public Broadcasts
Tweeting Alerts and Notifications
BoulderCreek
StreamLevel(Feet)
2.25
4.5
6.75
9
Sep-10 Sep-11 Sep-12 Sep-13 Sep-14 Sep-15 Sep-16 Sep-17
HourlyRainfall

(Inches)
0.3
0.6
0.9
1.2
Sep-10 Sep-11 Sep-12 Sep-13 Sep-14 Sep-15 Sep-16 Sep-17
TweetsPerHour
1500
3000
4500
6000
Sep-10 Sep-11 Sep-12 Sep-13 Sep-14 Sep-15 Sep-16 Sep-17
Major Flooding
Moderate Flooding
Stream Bank Full
Event Tweets
Baseline Tweets
Audiences tune in during events…
TotalRain(Inches)
4
8
12
16
Sep-10 Sep-11 Sep-12 Sep-13 Sep-14 Sep-15 Sep-16 Sep-17
NewFollowers
1500
3000
4500
6000
Sep-10 Sep-11 Sep-12 Sep-13 Sep-14 Sep-15 Sep-16 Sep-17
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
IoT Examples
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Floods of Twitter Data - StampedeCon 2016
Jim Moffitt @snowman
Questions?

More Related Content

Floods of Twitter Data - StampedeCon 2016