SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Twitter Rules!


        Sugree Phatanapherom
            sugree@gmail.com
             http://sugree.com/
Twitter

   Social messaging service
       140 characters
   Follow friends
   Notification – gtalk, sms
   Open APIs
   My twitter – http://twitter.com/sugree
   Clients – Twitterific, TwitterFox, Snitter, Spaz,
    Tweetr, TinyTwitter, Jitter
Behind Twitter

   Ruby on Rails
   Mongrel cluster
   Starling MemCache
   Master/slave MySQL
   Erlang ejabberd
Stability?

   Twitter is stable as long as there is no big
    event, e.g., MacWorld 2008
   In other words, it is scalability issue!
Scale of Twitter

   Assumption #1
       10,000 users
       1 update/hour = 3 req/sec
       3 minutes refresh interval = 55 req/s
   Assumption #2
       100,000 users
       1 update/hour = 27 req/sec
       3 minutes refresh interval = 555 req/s
BitTorrent Tracker

   Assumption #1
       10,000 users
       30 minutes announce interval = 8 req/s
   Assumption #2
       100,000 users
       30 minutes announce interval = 83 req/s
Fact Apr 2007

   http://www.slideshare.net/al3x/scaling-twitter-
    railsconf-2007
   200-300 req/s
   Spike at 800 req/s
   Peak at 11,000 req/s
   2,400 queries/s
Fact Apr 2007

   Mongrels 19 cores
   Message queue 16 cores
   Jabber 2 cores
   MySQL 8 cores (single box)
   16+ GB MemCache
   32 cores total
Why Twitter?

   E-mail
       Leave messages in mailbox
       Wait for read/reply or
       Call/SMS/IM to notify
   IM
       Wait for online
   Twitter
       Tweet to IM, to SMS and/or to e-mail
IRC and Twitter

   Per channel             Broadcast
    broadcast               Follow
   Join/part/kick/ban       +on/_/off/unfollow
   Direct message          Direct message
   On-line only            Always on-line
       Web                     Web
       IM                      IM
       Client                  SMS
                                APIs
What are actually in Twitter?

   What are your friends doing?
   Thoughts
   Questions
   Answers
   Opinions
   etc...
Fun to

   Follow friends
   Ask and reply on the road
   Get reply promptly
   Track words
How to Twitter

   Go to http://twitter.com/
   Sign up
   Bind your gtalk and twitter@twitter.com
   Bind your phone
       Charge rate depends on your career
            True Move – receive free / send 9 baht
Add-on services

   http://twitterfeed.com/
   http://www.loudtwitter.com/
   http://twitternotes.com/
   http://twittercal.com/
   http://twittervision.com/
Clients

   AIR – Spaz, Snitter, Tweetr
   Firefox – Tweetbar, TwitterFox
   Gnome – gTwitter
   J2ME – TinyTwitter, Jitter
   iPhone – Thincloud, Hahlo
   Binding – Python, Ruby, PHP
Wanna try?

   The best way to understand the power of
    Twitter is to give it a try
   Bind gtalk
   And ”follow sugree”

Weitere ähnliche Inhalte

Ähnlich wie Twitter Rules

Nathan Winters The Future Of Email Exchange And Online Services
Nathan Winters   The Future Of Email Exchange And Online ServicesNathan Winters   The Future Of Email Exchange And Online Services
Nathan Winters The Future Of Email Exchange And Online Services
Nathan Winters
 

Ähnlich wie Twitter Rules (11)

LaughTrack
LaughTrackLaughTrack
LaughTrack
 
Reification
ReificationReification
Reification
 
Twitter & Business
Twitter & BusinessTwitter & Business
Twitter & Business
 
Rise of the Autobots: Into the Underground of Social Network Bots
Rise of the Autobots: Into the Underground of Social Network BotsRise of the Autobots: Into the Underground of Social Network Bots
Rise of the Autobots: Into the Underground of Social Network Bots
 
I35s
I35sI35s
I35s
 
Http3 fullstackfest-2019
Http3 fullstackfest-2019Http3 fullstackfest-2019
Http3 fullstackfest-2019
 
TCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesTCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and Switches
 
Microapps for Fun and <s>profit</s>
Microapps for Fun and <s>profit</s>Microapps for Fun and <s>profit</s>
Microapps for Fun and <s>profit</s>
 
Solving HTTP Problems with Code and Protocols
Solving HTTP Problems with Code and ProtocolsSolving HTTP Problems with Code and Protocols
Solving HTTP Problems with Code and Protocols
 
Nathan Winters The Future Of Email Exchange And Online Services
Nathan Winters   The Future Of Email Exchange And Online ServicesNathan Winters   The Future Of Email Exchange And Online Services
Nathan Winters The Future Of Email Exchange And Online Services
 
VDay 2015 - Golang as the Dream of a Devops Engineer
VDay 2015 - Golang as the Dream of a Devops EngineerVDay 2015 - Golang as the Dream of a Devops Engineer
VDay 2015 - Golang as the Dream of a Devops Engineer
 

Mehr von Sugree Phatanapherom

Optimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile DevicesOptimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile Devices
Sugree Phatanapherom
 
Call for Students: Google Summer of Code 2008
Call for Students: Google Summer of Code 2008Call for Students: Google Summer of Code 2008
Call for Students: Google Summer of Code 2008
Sugree Phatanapherom
 

Mehr von Sugree Phatanapherom (15)

Twitter, Facebook and etc: Quick Startup Guide for Marketing
Twitter, Facebook and etc: Quick Startup Guide for MarketingTwitter, Facebook and etc: Quick Startup Guide for Marketing
Twitter, Facebook and etc: Quick Startup Guide for Marketing
 
Behind the madness
Behind the madnessBehind the madness
Behind the madness
 
drupal.in.th
drupal.in.thdrupal.in.th
drupal.in.th
 
Twitter API and Startup Ideas
Twitter API and Startup IdeasTwitter API and Startup Ideas
Twitter API and Startup Ideas
 
Readme Read Sugree
Readme Read SugreeReadme Read Sugree
Readme Read Sugree
 
SCMSWeb and Condor-G Demonstration
SCMSWeb and Condor-G DemonstrationSCMSWeb and Condor-G Demonstration
SCMSWeb and Condor-G Demonstration
 
Hand-on Resources II: Extending SCMSWeb
Hand-on Resources II: Extending SCMSWebHand-on Resources II: Extending SCMSWeb
Hand-on Resources II: Extending SCMSWeb
 
Drupal: blog and beyond
Drupal: blog and beyondDrupal: blog and beyond
Drupal: blog and beyond
 
The Spirit of Open Source
The Spirit of Open SourceThe Spirit of Open Source
The Spirit of Open Source
 
mbpurple - the replacement twitter im
mbpurple - the replacement twitter immbpurple - the replacement twitter im
mbpurple - the replacement twitter im
 
jibjib - ultimate twitter client for your phone
jibjib - ultimate twitter client for your phonejibjib - ultimate twitter client for your phone
jibjib - ultimate twitter client for your phone
 
Next Web Application - Brainstorm
Next Web Application - BrainstormNext Web Application - Brainstorm
Next Web Application - Brainstorm
 
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
 
Optimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile DevicesOptimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile Devices
 
Call for Students: Google Summer of Code 2008
Call for Students: Google Summer of Code 2008Call for Students: Google Summer of Code 2008
Call for Students: Google Summer of Code 2008
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
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...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
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
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Twitter Rules

  • 1. Twitter Rules! Sugree Phatanapherom sugree@gmail.com http://sugree.com/
  • 2. Twitter  Social messaging service  140 characters  Follow friends  Notification – gtalk, sms  Open APIs  My twitter – http://twitter.com/sugree  Clients – Twitterific, TwitterFox, Snitter, Spaz, Tweetr, TinyTwitter, Jitter
  • 3. Behind Twitter  Ruby on Rails  Mongrel cluster  Starling MemCache  Master/slave MySQL  Erlang ejabberd
  • 4. Stability?  Twitter is stable as long as there is no big event, e.g., MacWorld 2008  In other words, it is scalability issue!
  • 5. Scale of Twitter  Assumption #1  10,000 users  1 update/hour = 3 req/sec  3 minutes refresh interval = 55 req/s  Assumption #2  100,000 users  1 update/hour = 27 req/sec  3 minutes refresh interval = 555 req/s
  • 6. BitTorrent Tracker  Assumption #1  10,000 users  30 minutes announce interval = 8 req/s  Assumption #2  100,000 users  30 minutes announce interval = 83 req/s
  • 7. Fact Apr 2007  http://www.slideshare.net/al3x/scaling-twitter- railsconf-2007  200-300 req/s  Spike at 800 req/s  Peak at 11,000 req/s  2,400 queries/s
  • 8. Fact Apr 2007  Mongrels 19 cores  Message queue 16 cores  Jabber 2 cores  MySQL 8 cores (single box)  16+ GB MemCache  32 cores total
  • 9. Why Twitter?  E-mail  Leave messages in mailbox  Wait for read/reply or  Call/SMS/IM to notify  IM  Wait for online  Twitter  Tweet to IM, to SMS and/or to e-mail
  • 10. IRC and Twitter  Per channel  Broadcast broadcast  Follow  Join/part/kick/ban +on/_/off/unfollow  Direct message  Direct message  On-line only  Always on-line  Web  Web  IM  IM  Client  SMS  APIs
  • 11. What are actually in Twitter?  What are your friends doing?  Thoughts  Questions  Answers  Opinions  etc...
  • 12. Fun to  Follow friends  Ask and reply on the road  Get reply promptly  Track words
  • 13. How to Twitter  Go to http://twitter.com/  Sign up  Bind your gtalk and twitter@twitter.com  Bind your phone  Charge rate depends on your career  True Move – receive free / send 9 baht
  • 14. Add-on services  http://twitterfeed.com/  http://www.loudtwitter.com/  http://twitternotes.com/  http://twittercal.com/  http://twittervision.com/
  • 15. Clients  AIR – Spaz, Snitter, Tweetr  Firefox – Tweetbar, TwitterFox  Gnome – gTwitter  J2ME – TinyTwitter, Jitter  iPhone – Thincloud, Hahlo  Binding – Python, Ruby, PHP
  • 16. Wanna try?  The best way to understand the power of Twitter is to give it a try  Bind gtalk  And ”follow sugree”