Scaling the synchronous web - Elaine Wherry

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Notes on slide 1

    Welcome to scaling the synchronous web.

    4 Favorites

    Scaling the synchronous web - Elaine Wherry - Presentation Transcript

    1. confidential scaling the synchronous web October 10 th , 2008
    2. scaling the synchronous web October 10 th , 2008 confidential Elaine Wherry Co-Founder, VP Products Paul Sowden Lead Software Engineer
    3.  
    4. www +
    5. 2 3 4 5 6 7
    6.  
    7. traditional versus nontraditional... traditional versus nontraditional...
    8. asynchronous versus synchronous ...
    9.  
    10. asynchronous versus synchronous ... page views versus persistence ... content versus application ... database versus memory ...
      • simpler is better
      • know your bottlenecks
      • quick fix or homerun
      • useful abstractions
    11. #1: simpler is better
    12. protocol plugins msn jabber yahoo oscar (aim) gaim 1.5.0 ui & core & services
    13. yahoo gaim 1.5.0 core & services protocol plugins msn jabber yahoo oscar (aim) meebo network layer
    14.  
    15.  
    16. confidential
    17.  
    18. #1: simpler is better
      • Don’t try to solve a scaling problem you don’t have (yet)
      • Build it as quickly and as inexpensively as possible
      • You want to save time to iterate upon other ideas in case this one doesn’t work
      • Setting yourself up for success – easier to optimize something you understand
    19. #2 know your bottlenecks confidential
    20.  
    21.  
    22. tools
      • strace
      • gdb
      • oprofile
      • httpanalyzer
      • monitoring
    23.  
    24. #2: know your bottlenecks
      • your type of app determines the type of scaling
      • don’t prematurely optimize
      • know system at different levels: oprofile, valgrind, gdb
      • know your bottlenecks: memory, cpu, bandwidth, storage, disk i/o
      confidential
    25. #3: quick fix or homerun! confidential
    26. kill –9 <pid>
    27.  
    28.  
    29.  
    30.  
    31. confidential
    32. confidential
    33.  
    34. cgi fastcgi mod_meebo
    35. #3: quick fix or homerun
      • users just want it to work (now)
      • use the time the quick fix affords you wisely
      • aim for small or big, avoid the middle
      • fix the root issue
    36. #4: useful abstractions
    37.  
    38.  
    39. meebo util.js ajax ui dlg menu button element IMDlg BuddyListDlg EventMgr NetworkMgr
    40. meeboApp meeboApp meeboApp meebo ui util ajax PubSub Buddy BuddyList Account EventMgr NetworkMgr dlg menu button element iPhone iPhone Firefox
    41. #4: useful abstractions
      • keep it simple, flexible, so you can adapt quickly to changes and scale with needs
      • abstractions allow you to reuse existing components to scale to new challenges
      • it’s hard to know where the useful abstractions are when you start a project
      • simpler is better
      • know your bottlenecks
      • quick fix or homerun
      • useful abstractions
    42. today
      • 3 years old
      • 45 people (2 dogs)
      • 35 million uniques per month
      • 350 years worth of usage per day
      • 200 million messages per day
      • 54,000 kiss emoticons each day :-*
      • 2.5 hour session length
    43. thank you confidential

    + Carsonified TeamCarsonified Team, 2 years ago

    custom

    1677 views, 4 favs, 2 embeds more stats

    Presentation from the Future of Web Apps Expo 2008 more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1677
      • 1615 on SlideShare
      • 62 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 30
    Most viewed embeds
    • 61 views on http://events.carsonified.com
    • 1 views on http://prologsource.wordpress.com

    more

    All embeds
    • 61 views on http://events.carsonified.com
    • 1 views on http://prologsource.wordpress.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories