Scalability In 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

    7 Favorites

    Scalability In PHP - Presentation Transcript

    1. Scalability in PHP Optimizing your code, and building your apps to scale Ian Selby Senior Web Developer at Aptana www.aptana.com
    2. So, how do I … at least how do I do it in PHP? Build a Scalable App?
    3. We can optimize in three places:
    4. Bad Practices in Coding…
    5. Bad Practices in Coding…
    6. Bad Practices in Coding…
    7. Bad Practices in Coding…
    8. Bad Practices in Coding…
    9. Good Practices in Coding…
    10. Good Practices in Coding…
    11. Good Practices in Coding…
    12. Good Practices in Coding…
    13. Now that my code is optimized, How do I make it run faster?
    14. Easy! Use Opcode Caching! Duh!
    15. What is opcode caching? Opcode caching optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory.
    16.  
    17. What is opcode caching? Basically, your code is pre-compiled, and then stored in memory. So, it runs faster.
    18. APC – Alternative PHP Cache http://pecl.php.net/apc http://php.net/apc
    19. But, it gets better… You can actually cache your own data with APC! Let’s take a look at that now…
    20. Source code available at gen-x-design.com
    21. So, my code is gooder and cached.. What can I do to speed up my database stuff?
    22. Speed up your database stuff…
    23. Speed up your database stuff…
    24. Speed up your database stuff…
    25. Cool, my databases are tuned… What kind of infrastructure should I set up?
    26. Building a scalable infrastructure
    27. Building a scalable infrastructure http://code.google.com/p/netgearman/
    28. Building a scalable infrastructure Gearman Client
    29. Building a scalable infrastructure Gearman Job
    30. Building a scalable infrastructure Gearman Worker
    31.  
    32. Building a scalable infrastructure http://www.aptana.com/cloud
    33. I’ll Show You Now!
    34.  
    35. That’s It! For more information, and to ask any questions, visit us on the web: www.aptana.com Contact me: ian@aptana.com To download studio, visit www.aptana.com/studio

    + Ian SelbyIan Selby, 2 years ago

    custom

    2977 views, 7 favs, 10 embeds more stats

    Optimizing code, opcode caching, and building PHP a more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2977
      • 2496 on SlideShare
      • 481 from embeds
    • Comments 0
    • Favorites 7
    • Downloads 87
    Most viewed embeds
    • 427 views on http://www.gen-x-design.com
    • 39 views on http://www.pro-php.it
    • 4 views on http://endorfine.od.ua
    • 2 views on http://blog.strategeek.fr
    • 2 views on http://www.laplacesdemon.com

    more

    All embeds
    • 427 views on http://www.gen-x-design.com
    • 39 views on http://www.pro-php.it
    • 4 views on http://endorfine.od.ua
    • 2 views on http://blog.strategeek.fr
    • 2 views on http://www.laplacesdemon.com
    • 2 views on http://gxdlabs.com
    • 2 views on http://66.196.80.202
    • 1 views on http://www.soup.io
    • 1 views on http://209.85.135.104
    • 1 views on http://74.125.43.102

    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