Archive for April, 2006

Presentation by Larry Wall at OSDC::Isreal::2006 about Perl 5 and Perl 6 and Perl in general (gzipped PPT, mp3, transcript)

Some quotes:

  • Irrationalities in Other Languages (5:54)
    • “If I wanted it fast, I’d write it in C” - That’s almost a direct quote from the original awk page.
    • “I thought of a way to do it so it must be right” - That’s obviously PHP. (laughter and applause
  • Now, we’re changing from arrow to dot, because … because … Well, just ‘cuz I said so!

Comments No Comments »

Presentation about Flickr using PHP (PDF, PPT)

screenshot

Looks like flickr is BIG application and they managed to use PHP and MySQL to develop it.

Interesting quotes:

    • Big system:
      • One programmer, one designer, etc.
      • ~60,000 lines of PHP code
      • ~60,000 lines of templates
      • ~70 custom smarty functions/modifiers
      • ~25,000 DB transactions/second at
      • ~1000 pages per second at peak
    • Snapshot of db1.flickr.com
      • SELECT’s 44,220,588
      • INSERT’s 1,349,234
      • UPDATE’s 1,755,503
      • DELETE’s 318,439
      • 13 SELECT’s per I/U/D
    • Stateless
      • We can bounce people around servers
      • Everything is stored in the database
      • Even the smarty cache\
      • “Shared nothing”
      • (so long as we avoid PHP sessions)
    • JOIN’s are slow
      • Normaliseddata is for sissies
      • Keep multiple copies of data around
      • Makes searching faster
      • Have to ensure consistency in the application logic

Comments No Comments »