Archive for October, 2007

Squeezing More Performance Out Of Your Web Applications

October 10th, 2007

Steve Souders of Yahoo! gives a talk on the important steps to take for ‘High Performance Websites.’ What I found interesting is that he follows a different perspective than most people when it comes to high performance websites. His research shows that the largest amount of improvement you can make is in the actual frontend loading of the page. Which is to say, what it takes to get your web app displayed in the client’s browser.

He basically outlines the 14 rules used in the YSlow browser extension and why they’re important. An interesting video if you’re interested in making your web applications run faster.

http://video.yahoo.com/video/play?vid=1040890

An interesting talk which takes a different line of thinking than backend improvements for high performance & scalability. I’m about halfway through Theo Schlossnagle’s book on Scalable Internet Architectures. If I ever finish that book I’ll try and post a review of the interesting points.

CPAN Out of memory! Mac OS X

October 8th, 2007

If Google doesn’t have the answer, and it takes you more than 10 minutes to fix – it is your responsibility as a web publisher to document the solution.

Error I ran into today while trying to install some CPAN modules –


ucommbieber:~ bbieber$ sudo cpan install Encode::HanExtra
CPAN: Storable loaded ok
Going to read /Users/bbieber/.cpan/sources/authors/01mailrc.txt.gz
Going to read /Users/bbieber/.cpan/sources/modules/02packages.details.txt.gz
CPAN: Compress::Zlib loaded ok
Deep recursion on subroutine "Compress::Raw::Zlib::AUTOLOAD" at /Library/Perl/5.8.6/darwin-thread-multi-2level/Compress/Raw/Zlib.pm line 71.
perl(23237) malloc: *** vm_allocate(size=234504192) failed (error code=3)
perl(23237) malloc: *** error: can't allocate region
perl(23237) malloc: *** set a breakpoint in szone_error to debug
Out of memory!
Segmentation fault

You need to upgrade Compress::Zlib manually by downloading the Compress-Zlib-2.0007.tar.gz.

Once you have the file, uncompress it to a directory, and install it.

cd Compress-Zlib-2.007
perl Makefile.PL
make
sudo make install

Fixed.