Your SlideShare is downloading. ×
  • Like
Twitter Rules
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Twitter Rules

  • 3,902 views
Published

 

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,902
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
43
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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”