Scalable PHP

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

    3 Favorites

    Scalable PHP - Presentation Transcript

    1. Scalable PHP Cal Henderson
    2. Oh hai
    3. Does PHP scale?
    4. Yes!
    5. No!
    6. Stupid question!
    7. Languages don’t scale
    8. Architectures scale
    9.  
    10.  
    11. Universe of marshy force. Field sense shallows the hatchery saying Hello,. World!.  Hydro. Power spring  sometimes; snowmelt       powers   snowmelt always.
    12. It’s all about the salmon And trees
    13. But PHP sucks
    14. No namespaces
    15. Random function names
    16. No quantum superpositions
    17. People whining
    18. Best of a bad bunch
    19. Ok, scaling What makes something scalable?
    20. Bigger dataset More traffic Maintainable
    21. NOT about performance
    22. But PHP is slow!
    23.  
    24. Who cares?
    25. PHP is not your bottleneck
    26. More traffic Push issues down the stack
    27. Horizontal vs Vertical
    28. Scale out vs Scale up
    29. Scale out (horizontal) ftw
    30. PHP sessions == bad /var/notshared
    31. Sessions in a DB
    32.  
    33. No sessions at all
    34. Sessions in cookies
    35. Bigger dataset Not really a PHP issue
    36. Pass big data by function foo(&$big){} reference
    37. Don’t serialize() big things
    38. All arrays are sparse So that’s ok
    39. Don’t keep much in memory
    40. Maintainable Small logical blocks include()
    41. Sucks about namespaces
    42. Classes are like namespaces kinda
    43. Many includes == bad
    44. APC + full paths + nostat == awesome
    45. Set root path via .htaccess ENV Or whatever
    46. deploy-time rollups also good
    47. Consistency is king
    48. # Comments # Also useful # (who knew?)
    49. The bottom line: PHP is used for big things
    50. Beauty is less important Than just working
    51. Photos!
      • http://flickr.com/photos/isolano/423026153/
      • http://flickr.com/photos/liberato/171610084/
      • http://flickr.com/photos/thomashawk/422057690/
      • http://flickr.com/photos/puja/138469909/
      • http://flickr.com/photos/stuckincustoms/177496023/
      • http://flickr.com/photos/maurymccown/289932747/
      • http://flickr.com/photos/lij/122525716/
      • http://flickr.com/photos/thomashawk/44667887/
      • http://flickr.com/photos/mr_fabulous/2033276270/
      • http://flickr.com/photos/re_verse/58362878/
      • http://flickr.com/photos/auntiep/3990731/
      • http://flickr.com/photos/arild_storaas/966725616/
      • http://flickr.com/photos/magnesaxegaard/1351464888/
      • http://flickr.com/photos/hughes_leglise/530542920/
      • http://en.wikipedia.org/wiki/Image:John_McCarthy_Stanford.jpg
    52. Moar Photos!
      • http://flickr.com/photos/bonnieshulman/566022330/
      • http://flickr.com/photos/hamed/155343130/
      • http://flickr.com/photos/pandiyan/186171830/
      • http://flickr.com/photos/fish_at_taipei/198024832/
      • http://flickr.com/photos/cdell/472665280/
      • http://flickr.com/photos/robh/142742990/
      • http://flickr.com/photos/neilw/204239787/
      • http://flickr.com/photos/big-e-mr-g/152643684/
      • http://flickr.com/photos/ozyman/155517365/
      • http://flickr.com/photos/ucumari/580865728/
      • http://flickr.com/photos/twob/8741933/
      • http://flickr.com/photos/ashclements/248887492/
      • http://flickr.com/photos/mr-outdoorguy/2100813932/
      • http://flickr.com/photos/good_day/450356635/
      • http://flickr.com/photos/thomashawk/72597356/
    53. Even Moar Photos!
      • http://flickr.com/photos/dcjohn/74907741/
      • http://flickr.com/photos/carplips/439902567/
      • http://flickr.com/photos/bretarnett/180654760/
      • http://flickr.com/photos/bunchofpants/27151349/
      • http://flickr.com/photos/stuckincustoms/870325399/
      • http://flickr.com/photos/cruzan/84636294/
      • http://flickr.com/photos/cayusa/384187184/
      • http://flickr.com/photos/mrclean/371372515/
      • http://flickr.com/photos/radiofree/113944690/
      • http://flickr.com/photos/fortphoto/320676608/
      • http://flickr.com/photos/hurleygurley/4338767/
    54. find these slides online iamcal.com/talks

    + Cal HendersonCal Henderson, 2 years ago

    custom

    1436 views, 3 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1436
      • 1436 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 27
    Most viewed embeds

    more

    All embeds

    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