SlideShare a Scribd company logo
1 of 30
TWITTER
AWESOMENESS

  Damon P. Cortesi
@DACORT

By Day                   By Night



Founder/Director of      Twitter Addict, including
Alchemy Security
                         TweetStats
Web app security         Twitter Timeline Viz

Security Product Dev     TweepSearch
                         Twitter Profile Search
Firewall Visualization
TWEETSTATS?
 GRAPHING TWITTER SINCE 2007

Visualize your Twitter timeline - tweetstats.com
  Tweets per month/hour
  Top replies and apps
  TweetCloud

Trend monitoring since September ’08

Global Twitter usage since December ’08
  Over 250M tweets (no content) logged
  Thanks, Gnip (http://gnip.com)
CHALLENGES

1. Data, data, data
  Twitter allows retrieval of up to 3,200 tweets/user
  Whitelisting allows 20,000 API queries/hour
  Not uncommon now for 20k + tweets
  Disparate - timeline vs. friends/followers

2. User experience
  It takes time to gather data, graph
TWEETSTATS V1
OMG, SCREENSCRAPING
TWEETSTATS V2
BEAUTIFUL GRAPHS
GRAPH LIBRARIES
                JAVASCRIPT

JavaScript



Honestly...
Kind of ugly


Limited functionality
Limited support
GRAPH LIBRARIES
                      FLASH

Flash - Interactive, beautiful

TweetStats currently uses FusionCharts Free edition

Gantt charts in disguise!!
BUT WAIT...

Raphaël JS - Hot new JavaScript graphing library

  Vector Library - SVG/VML

  Impressive capabilities

  http://raphaeljs.com
TWEETSTATS V2
  TWEETCLOUD
TWEETSTATS V2
TWEETCLOUD VIA WORDLE
USER EXPERIENCE

Average Twitter user attention span = seconds

Keep them informed
Queues and Quotes and Status Bars, oh my!
USER EXPERIENCE
        BACKGROUND QUEUES

Generate XML data
asynchronously

Activate charts via JavaScript
USER EXPERIENCE
                      K.I.S.S.


Tons of data, easy to get lost

Lots of features TweetStats _could_ have...

  Important to keep the experience simple

  And this doesn’t pay the bills ... yet. ;)

TweetStats v3 - More features? More analytics?
SCALING TWEETSTATS

The story of the Blockheads ...
SCALING TWEETSTATS
             WHY IT BROKE?

One server (affectionately named after @darkgracie)

  Web server + Rails stack

  Database w/150,000 tables
                                     = #FAIL
  Various other applications

  Synchronous DB queries

  Thousands of NKOTB Fans
SCALING TWEETSTATS
     TYPICAL TWITTER TRAFFIC

Peaks and valleys

Influential tweet = immediate need for resources
SCALING TWEETSTATS
                 “FIXING” IT

Nods to:

  Amazon EC2

  Scalr.net



Architecture: Scaled!

Wallet: Empty.
POST-NKOTB




New avatar for @TweetStats ->
DATA MINING

Other services - TweepSearch, TweetSum

Background Queues are King

  TweetStats - BackgroundRB

  TweepSearch - Workling

  TweetSum - BackgroundJob

Why so many? Can’t judge without experience.
DATA MINING
                   VOLUME

TweepSearch - ~4.5M Twitter Profiles Indexed

  Just a small fraction of actual users

TweetStats - Global twitter usage via Gnip

  Previously - 2M updates/day

  Now        - ~10M updates/day
               ~9,000 updates/minute

  aka ... my servers hate me.
DATA MINING
                   OPTIONS

Brute Force (historical)

  Crawl profiles, timelines

  Twitter Search - 1,500 results or 20-30(??) days

Official Twitter Streaming API

  “spritzer”, “gardenhose”, “firehose” streams

Gnip - Not just Twitter!
Other Glances
 Friends and Followers
Other Glances
 Friends and Followers
Other Glances
 Friends and Followers
Other Glances
 Friends and Followers
Other Glances
  Friends and favorites
Other Glances
  Friends and favorites
Other Glances
  Friends and favorites
THANKS

 TweetStats - Graph your Twitter Timeline
TweepSearch - Profile Search Awesomeness

            Damon P. Cortesi

                @dacort
         dacort@tweetstats.com

More Related Content

Viewers also liked

Microapps Story
Microapps StoryMicroapps Story
Microapps Storychikee7808
 
The Frog Frenzy
The Frog FrenzyThe Frog Frenzy
The Frog Frenzylfenn
 
UXD and IA for the Internet of Things - Internetome 2010 London
UXD and IA for the Internet of Things - Internetome 2010 London  UXD and IA for the Internet of Things - Internetome 2010 London
UXD and IA for the Internet of Things - Internetome 2010 London Gerd Kortuem
 
Resol 533 97 Act 03 01 08
Resol 533 97 Act 03 01 08Resol 533 97 Act 03 01 08
Resol 533 97 Act 03 01 08polloarq
 
Survey Results - Welfare Benefits
Survey Results - Welfare BenefitsSurvey Results - Welfare Benefits
Survey Results - Welfare BenefitsMark
 
B-sides Las Vegas - social network security
B-sides Las Vegas - social network securityB-sides Las Vegas - social network security
B-sides Las Vegas - social network securityDamon Cortesi
 
Demografi Movie Zine Feb 2010
Demografi Movie Zine Feb 2010Demografi Movie Zine Feb 2010
Demografi Movie Zine Feb 2010Daniel Feldt
 
Social Media in the Job Search - #ACPA11
Social Media in the Job Search - #ACPA11Social Media in the Job Search - #ACPA11
Social Media in the Job Search - #ACPA11Michael Severy
 
Social Media in the Job Search - #naca2011
Social Media in the Job Search - #naca2011Social Media in the Job Search - #naca2011
Social Media in the Job Search - #naca2011Michael Severy
 
A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...
A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...
A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...maristelaroget
 
Greeks
GreeksGreeks
Greeksttoney
 
Survey Results - Your Me
Survey Results - Your MeSurvey Results - Your Me
Survey Results - Your MeMark
 
Liferay cloud services lnlug-6-march-2014
Liferay cloud services lnlug-6-march-2014Liferay cloud services lnlug-6-march-2014
Liferay cloud services lnlug-6-march-2014Ruud Kluivers
 

Viewers also liked (20)

Group project photos @ Beijing Institute of Technology
Group project photos @ Beijing Institute of TechnologyGroup project photos @ Beijing Institute of Technology
Group project photos @ Beijing Institute of Technology
 
Microapps Story
Microapps StoryMicroapps Story
Microapps Story
 
The Frog Frenzy
The Frog FrenzyThe Frog Frenzy
The Frog Frenzy
 
November 2010 CPYF Dialogue Newsletter: People Centered Organizations
November 2010 CPYF Dialogue Newsletter: People Centered OrganizationsNovember 2010 CPYF Dialogue Newsletter: People Centered Organizations
November 2010 CPYF Dialogue Newsletter: People Centered Organizations
 
UXD and IA for the Internet of Things - Internetome 2010 London
UXD and IA for the Internet of Things - Internetome 2010 London  UXD and IA for the Internet of Things - Internetome 2010 London
UXD and IA for the Internet of Things - Internetome 2010 London
 
CPYF October 2010 newsletter
CPYF October 2010 newsletterCPYF October 2010 newsletter
CPYF October 2010 newsletter
 
Resol 533 97 Act 03 01 08
Resol 533 97 Act 03 01 08Resol 533 97 Act 03 01 08
Resol 533 97 Act 03 01 08
 
Survey Results - Welfare Benefits
Survey Results - Welfare BenefitsSurvey Results - Welfare Benefits
Survey Results - Welfare Benefits
 
B-sides Las Vegas - social network security
B-sides Las Vegas - social network securityB-sides Las Vegas - social network security
B-sides Las Vegas - social network security
 
Demografi Movie Zine Feb 2010
Demografi Movie Zine Feb 2010Demografi Movie Zine Feb 2010
Demografi Movie Zine Feb 2010
 
Evoking & Creating wisdom
Evoking & Creating wisdomEvoking & Creating wisdom
Evoking & Creating wisdom
 
Social Media in the Job Search - #ACPA11
Social Media in the Job Search - #ACPA11Social Media in the Job Search - #ACPA11
Social Media in the Job Search - #ACPA11
 
January 2011 CPYF Dialogue Newsletter: A Year in Review
January 2011 CPYF Dialogue Newsletter:  A Year in ReviewJanuary 2011 CPYF Dialogue Newsletter:  A Year in Review
January 2011 CPYF Dialogue Newsletter: A Year in Review
 
April 2011 CPYF Dialogue Newsletter: Prototyping
April 2011 CPYF Dialogue Newsletter: PrototypingApril 2011 CPYF Dialogue Newsletter: Prototyping
April 2011 CPYF Dialogue Newsletter: Prototyping
 
Social Media in the Job Search - #naca2011
Social Media in the Job Search - #naca2011Social Media in the Job Search - #naca2011
Social Media in the Job Search - #naca2011
 
A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...
A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...
A EVOLUÇÃO DO COMPROMISSO DO SISTEMA INTERAMERICANO EM FAVOR DOS PRINCIPIOS D...
 
Greeks
GreeksGreeks
Greeks
 
Survey Results - Your Me
Survey Results - Your MeSurvey Results - Your Me
Survey Results - Your Me
 
Liferay cloud services lnlug-6-march-2014
Liferay cloud services lnlug-6-march-2014Liferay cloud services lnlug-6-march-2014
Liferay cloud services lnlug-6-march-2014
 
2010 STeLA Progress Report
2010 STeLA Progress Report2010 STeLA Progress Report
2010 STeLA Progress Report
 

Similar to Twitter Awesomeness

How Twitter Works (Arsen Kostenko Technology Stream)
How Twitter Works (Arsen Kostenko Technology Stream) How Twitter Works (Arsen Kostenko Technology Stream)
How Twitter Works (Arsen Kostenko Technology Stream) IT Arena
 
The Open Source... Behind the Tweets
The Open Source... Behind the TweetsThe Open Source... Behind the Tweets
The Open Source... Behind the TweetsChris Aniszczyk
 
Evolution of The Twitter Stack
Evolution of The Twitter StackEvolution of The Twitter Stack
Evolution of The Twitter StackChris Aniszczyk
 
Social Media Data
Social Media DataSocial Media Data
Social Media DataWill Simm
 
Elastic Data Analytics Platform @Datadog
Elastic Data Analytics Platform @DatadogElastic Data Analytics Platform @Datadog
Elastic Data Analytics Platform @DatadogC4Media
 
[System design] Design a tweeter-like system
[System design] Design a tweeter-like system[System design] Design a tweeter-like system
[System design] Design a tweeter-like systemAree Oh
 
Twitter API, Streaming and SharePoint 2013
Twitter API, Streaming and SharePoint 2013Twitter API, Streaming and SharePoint 2013
Twitter API, Streaming and SharePoint 2013Sebastian Huppmann
 
Twitter - What, Why, Who & How
Twitter - What, Why, Who & HowTwitter - What, Why, Who & How
Twitter - What, Why, Who & Howpoint2five
 
Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers Angus Fox
 
Stress Testing at Twitter: a tale of New Year Eves
Stress Testing at Twitter: a tale of New Year EvesStress Testing at Twitter: a tale of New Year Eves
Stress Testing at Twitter: a tale of New Year EvesHerval Freire
 
Twitter - Architecture and Scalability lessons
Twitter - Architecture and Scalability lessonsTwitter - Architecture and Scalability lessons
Twitter - Architecture and Scalability lessonsAditya Rao
 
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureMLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureData Science Milan
 
Introduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful SoupIntroduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful SoupTushar Mittal
 
Atlassian User Group NYC April 27 2017 Presentations
Atlassian User Group NYC April 27 2017 PresentationsAtlassian User Group NYC April 27 2017 Presentations
Atlassian User Group NYC April 27 2017 PresentationsMarlon Palha
 

Similar to Twitter Awesomeness (20)

500Startups @ Twitter
500Startups @ Twitter500Startups @ Twitter
500Startups @ Twitter
 
How Twitter Works (Arsen Kostenko Technology Stream)
How Twitter Works (Arsen Kostenko Technology Stream) How Twitter Works (Arsen Kostenko Technology Stream)
How Twitter Works (Arsen Kostenko Technology Stream)
 
The Open Source... Behind the Tweets
The Open Source... Behind the TweetsThe Open Source... Behind the Tweets
The Open Source... Behind the Tweets
 
Jinchao demo v3
Jinchao demo v3Jinchao demo v3
Jinchao demo v3
 
Evolution of The Twitter Stack
Evolution of The Twitter StackEvolution of The Twitter Stack
Evolution of The Twitter Stack
 
Social Media Data
Social Media DataSocial Media Data
Social Media Data
 
Twitter System Design
Twitter System DesignTwitter System Design
Twitter System Design
 
Elastic Data Analytics Platform @Datadog
Elastic Data Analytics Platform @DatadogElastic Data Analytics Platform @Datadog
Elastic Data Analytics Platform @Datadog
 
[System design] Design a tweeter-like system
[System design] Design a tweeter-like system[System design] Design a tweeter-like system
[System design] Design a tweeter-like system
 
Developing apps using Perl
Developing apps using PerlDeveloping apps using Perl
Developing apps using Perl
 
Twitter API, Streaming and SharePoint 2013
Twitter API, Streaming and SharePoint 2013Twitter API, Streaming and SharePoint 2013
Twitter API, Streaming and SharePoint 2013
 
We are losing our tweets!
We are losing our tweets!We are losing our tweets!
We are losing our tweets!
 
Twitter - What, Why, Who & How
Twitter - What, Why, Who & HowTwitter - What, Why, Who & How
Twitter - What, Why, Who & How
 
Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers
 
Stress Testing at Twitter: a tale of New Year Eves
Stress Testing at Twitter: a tale of New Year EvesStress Testing at Twitter: a tale of New Year Eves
Stress Testing at Twitter: a tale of New Year Eves
 
Twitter - Architecture and Scalability lessons
Twitter - Architecture and Scalability lessonsTwitter - Architecture and Scalability lessons
Twitter - Architecture and Scalability lessons
 
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML InfrastructureMLOps with a Feature Store: Filling the Gap in ML Infrastructure
MLOps with a Feature Store: Filling the Gap in ML Infrastructure
 
Analyzing social media with Python and other tools (2/4)
Analyzing social media with Python and other tools (2/4) Analyzing social media with Python and other tools (2/4)
Analyzing social media with Python and other tools (2/4)
 
Introduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful SoupIntroduction to Web Scraping using Python and Beautiful Soup
Introduction to Web Scraping using Python and Beautiful Soup
 
Atlassian User Group NYC April 27 2017 Presentations
Atlassian User Group NYC April 27 2017 PresentationsAtlassian User Group NYC April 27 2017 Presentations
Atlassian User Group NYC April 27 2017 Presentations
 

Recently uploaded

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Recently uploaded (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Twitter Awesomeness

  • 2. @DACORT By Day By Night Founder/Director of Twitter Addict, including Alchemy Security TweetStats Web app security Twitter Timeline Viz Security Product Dev TweepSearch Twitter Profile Search Firewall Visualization
  • 3. TWEETSTATS? GRAPHING TWITTER SINCE 2007 Visualize your Twitter timeline - tweetstats.com Tweets per month/hour Top replies and apps TweetCloud Trend monitoring since September ’08 Global Twitter usage since December ’08 Over 250M tweets (no content) logged Thanks, Gnip (http://gnip.com)
  • 4. CHALLENGES 1. Data, data, data Twitter allows retrieval of up to 3,200 tweets/user Whitelisting allows 20,000 API queries/hour Not uncommon now for 20k + tweets Disparate - timeline vs. friends/followers 2. User experience It takes time to gather data, graph
  • 7. GRAPH LIBRARIES JAVASCRIPT JavaScript Honestly... Kind of ugly Limited functionality Limited support
  • 8. GRAPH LIBRARIES FLASH Flash - Interactive, beautiful TweetStats currently uses FusionCharts Free edition Gantt charts in disguise!!
  • 9. BUT WAIT... Raphaël JS - Hot new JavaScript graphing library Vector Library - SVG/VML Impressive capabilities http://raphaeljs.com
  • 10. TWEETSTATS V2 TWEETCLOUD
  • 12. USER EXPERIENCE Average Twitter user attention span = seconds Keep them informed Queues and Quotes and Status Bars, oh my!
  • 13. USER EXPERIENCE BACKGROUND QUEUES Generate XML data asynchronously Activate charts via JavaScript
  • 14. USER EXPERIENCE K.I.S.S. Tons of data, easy to get lost Lots of features TweetStats _could_ have... Important to keep the experience simple And this doesn’t pay the bills ... yet. ;) TweetStats v3 - More features? More analytics?
  • 15. SCALING TWEETSTATS The story of the Blockheads ...
  • 16. SCALING TWEETSTATS WHY IT BROKE? One server (affectionately named after @darkgracie) Web server + Rails stack Database w/150,000 tables = #FAIL Various other applications Synchronous DB queries Thousands of NKOTB Fans
  • 17. SCALING TWEETSTATS TYPICAL TWITTER TRAFFIC Peaks and valleys Influential tweet = immediate need for resources
  • 18. SCALING TWEETSTATS “FIXING” IT Nods to: Amazon EC2 Scalr.net Architecture: Scaled! Wallet: Empty.
  • 19. POST-NKOTB New avatar for @TweetStats ->
  • 20. DATA MINING Other services - TweepSearch, TweetSum Background Queues are King TweetStats - BackgroundRB TweepSearch - Workling TweetSum - BackgroundJob Why so many? Can’t judge without experience.
  • 21. DATA MINING VOLUME TweepSearch - ~4.5M Twitter Profiles Indexed Just a small fraction of actual users TweetStats - Global twitter usage via Gnip Previously - 2M updates/day Now - ~10M updates/day ~9,000 updates/minute aka ... my servers hate me.
  • 22. DATA MINING OPTIONS Brute Force (historical) Crawl profiles, timelines Twitter Search - 1,500 results or 20-30(??) days Official Twitter Streaming API “spritzer”, “gardenhose”, “firehose” streams Gnip - Not just Twitter!
  • 23. Other Glances Friends and Followers
  • 24. Other Glances Friends and Followers
  • 25. Other Glances Friends and Followers
  • 26. Other Glances Friends and Followers
  • 27. Other Glances Friends and favorites
  • 28. Other Glances Friends and favorites
  • 29. Other Glances Friends and favorites
  • 30. THANKS TweetStats - Graph your Twitter Timeline TweepSearch - Profile Search Awesomeness Damon P. Cortesi @dacort dacort@tweetstats.com