Your SlideShare is downloading. ×
Tek12: php://memory and streams for scaling
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Tek12: php://memory and streams for scaling

2,164
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,164
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
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. php://memory andstreams for scalingNeal Anders - https://joind.in/6514
  • 2. wuzzat? 2607:f8b0:4006:801::1012
  • 3. whoamiNeal AndersSenior Software Engineer at Infobloxhttp://github.com/nanderoohttp://neal-anders.com@nanderoo
  • 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. disclaimerThese thoughts and opinions are my own, andnot of my employer, bla bla bla...
  • 6. whois $USERQuick poll:- Designers- Developers- Sys-Admins- Networking- Management- Other...?- Who is hiring? Looking?
  • 7. overviewWhat we will cover:- What are streams?- Examples: memory / temp.- Scaling your app
  • 8. inspiration
  • 9. say what now?php://memory ...and temp... ...what is that? ...how can I use it?  
  • 10. what are streams- The flow of data..- Going in...- Coming out...- stdin, stderr, stdout- php://memory and temp.- Wrappers and php resources 
  • 11. what are streams- Written to, read from..- Seekable or sequential..- Give your app room to breath..- expect, phar, ssh2- Examples:
  • 12. examplesWrite, Read, Seek....
  • 13. examplesStore in memory..
  • 14. examplesStore somewhere besides in memory..
  • 15. examplesOr until that becomes scarce..
  • 16. scaling your app Doesnt that mean.... We need to use X or Y like [hugely successful overnight start-up]?
  • 17. scaling your app Rethink how data flows..
  • 18. scaling your app Apply elastic charm..
  • 19. scaling your app Instrument ...everything!
  • 20. scaling your app What you know, you dont know..
  • 21. scaling your app Be prepared to change a few flat tires.. 
  • 22. scaling your app Learn from your own mistakes..
  • 23. resourceshttp://php.net/wrappers.phphttp://php.net/function.memory-get-usage.phphttp://baconipsum.com/ 
  • 24. feedbackjoind.in - https://joind.in/6514email - neal.anders@yahoo.com 
  • 25. fin Thank you.