SlideShare una empresa de Scribd logo
1 de 16
Descargar para leer sin conexión
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”

Más contenido relacionado

Similar a Twitter Rules

Whither Twitter
Whither TwitterWhither Twitter
Whither Twitterrgkwml
 
I Tweet Therefore I Am
I Tweet Therefore I AmI Tweet Therefore I Am
I Tweet Therefore I AmMark Gibbs
 
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 BotsTom Eston
 
Http3 fullstackfest-2019
Http3 fullstackfest-2019Http3 fullstackfest-2019
Http3 fullstackfest-2019Daniel Stenberg
 
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 SwitchesNetProtocol Xpert
 
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>guesta2b753
 
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 ProtocolsC4Media
 
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 EngineerMáté Gulyás
 

Similar a Twitter Rules (11)

Whither Twitter
Whither TwitterWhither Twitter
Whither Twitter
 
LaughTrack
LaughTrackLaughTrack
LaughTrack
 
Reification
ReificationReification
Reification
 
I Tweet Therefore I Am
I Tweet Therefore I AmI Tweet Therefore I Am
I Tweet Therefore I Am
 
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
 
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
 

Más de Sugree Phatanapherom

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 MarketingSugree Phatanapherom
 
SCMSWeb and Condor-G Demonstration
SCMSWeb and Condor-G DemonstrationSCMSWeb and Condor-G Demonstration
SCMSWeb and Condor-G DemonstrationSugree Phatanapherom
 
Hand-on Resources II: Extending SCMSWeb
Hand-on Resources II: Extending SCMSWebHand-on Resources II: Extending SCMSWeb
Hand-on Resources II: Extending SCMSWebSugree Phatanapherom
 
mbpurple - the replacement twitter im
mbpurple - the replacement twitter immbpurple - the replacement twitter im
mbpurple - the replacement twitter imSugree Phatanapherom
 
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 phoneSugree Phatanapherom
 
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...Sugree Phatanapherom
 
Optimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile DevicesOptimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile DevicesSugree 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 2008Sugree Phatanapherom
 

Más de 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
 

Último

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Último (20)

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 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”