Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
php://memory andstreams for scalingNeal Anders - https://joind.in/6514
wuzzat?          2607:f8b0:4006:801::1012
whoamiNeal AndersSenior Software Engineer at Infobloxhttp://github.com/nanderoohttp://neal-anders.com@nanderoo
shameless plugInfoblox is working on some cool stuff...- DNS, DHCP, IPAM, NCCM- IPv6 Center of Excellence- IF-Map / DNSSec...
disclaimerThese thoughts and opinions are my own, andnot of my employer, bla bla bla...
whois $USERQuick poll:- Designers- Developers- Sys-Admins- Networking- Management- Other...?- Who is hiring? Looking?
overviewWhat we will cover:- What are streams?- Examples: memory / temp.- Scaling your app
inspiration
say what now?php://memory ...and temp... ...what is that? ...how can I use it?  
what are streams-   The flow of data..-   Going in...-   Coming out...-   stdin, stderr, stdout-   php://memory and temp.-...
what are streams-   Written to, read from..-   Seekable or sequential..-   Give your app room to breath..-   expect, phar,...
examplesWrite, Read, Seek....
examplesStore in memory..
examplesStore somewhere besides in memory..
examplesOr until that becomes scarce..
scaling your app            Doesnt that mean....         We need to use X or Y like   [hugely successful overnight start-u...
scaling your app        Rethink how data flows..
scaling your app          Apply elastic charm..
scaling your app        Instrument ...everything!
scaling your app     What you know, you dont know..
scaling your app    Be prepared to change a few flat tires.. 
scaling your app      Learn from your own mistakes..
resourceshttp://php.net/wrappers.phphttp://php.net/function.memory-get-usage.phphttp://baconipsum.com/ 
feedbackjoind.in - https://joind.in/6514email - neal.anders@yahoo.com 
fin      Thank you.
Upcoming SlideShare
Loading in …5
×

Tek12: php://memory and streams for scaling

4,678 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Tek12: php://memory and streams for scaling

  1. 1. php://memory andstreams for scalingNeal Anders - https://joind.in/6514
  2. 2. wuzzat? 2607:f8b0:4006:801::1012
  3. 3. whoamiNeal AndersSenior Software Engineer at Infobloxhttp://github.com/nanderoohttp://neal-anders.com@nanderoo
  4. 4. shameless plugInfoblox is working on some cool stuff...- DNS, DHCP, IPAM, NCCM- IPv6 Center of Excellence- IF-Map / DNSSec- Hiring (sales, services, support, engineering)
  5. 5. disclaimerThese thoughts and opinions are my own, andnot of my employer, bla bla bla...
  6. 6. whois $USERQuick poll:- Designers- Developers- Sys-Admins- Networking- Management- Other...?- Who is hiring? Looking?
  7. 7. overviewWhat we will cover:- What are streams?- Examples: memory / temp.- Scaling your app
  8. 8. inspiration
  9. 9. say what now?php://memory ...and temp... ...what is that? ...how can I use it?  
  10. 10. what are streams- The flow of data..- Going in...- Coming out...- stdin, stderr, stdout- php://memory and temp.- Wrappers and php resources 
  11. 11. what are streams- Written to, read from..- Seekable or sequential..- Give your app room to breath..- expect, phar, ssh2- Examples:
  12. 12. examplesWrite, Read, Seek....
  13. 13. examplesStore in memory..
  14. 14. examplesStore somewhere besides in memory..
  15. 15. examplesOr until that becomes scarce..
  16. 16. scaling your app Doesnt that mean.... We need to use X or Y like [hugely successful overnight start-up]?
  17. 17. scaling your app Rethink how data flows..
  18. 18. scaling your app Apply elastic charm..
  19. 19. scaling your app Instrument ...everything!
  20. 20. scaling your app What you know, you dont know..
  21. 21. scaling your app Be prepared to change a few flat tires.. 
  22. 22. scaling your app Learn from your own mistakes..
  23. 23. resourceshttp://php.net/wrappers.phphttp://php.net/function.memory-get-usage.phphttp://baconipsum.com/ 
  24. 24. feedbackjoind.in - https://joind.in/6514email - neal.anders@yahoo.com 
  25. 25. fin Thank you.

×