• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Tek12: php://memory and streams for scaling
 

Tek12: php://memory and streams for scaling

on

  • 2,157 views

 

Statistics

Views

Total Views
2,157
Views on SlideShare
2,102
Embed Views
55

Actions

Likes
0
Downloads
7
Comments
0

3 Embeds 55

http://neal-anders.com 50
http://www.linkedin.com 3
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Tek12: php://memory and streams for scaling Tek12: php://memory and streams for scaling Presentation Transcript

    • 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- Hiring (sales, services, support, engineering)
    • 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.- Wrappers and php resources 
    • what are streams- Written to, read from..- Seekable or sequential..- Give your app room to breath..- expect, phar, ssh2- Examples:
    • 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-up]?
    • 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.