Friday, January 14, 2011

Scaling myVidster Part 2: Caching

I would love to announce that I have deployed a new ground breaking feature for myVidster, but most of my time has been spent on code optimization and scaling.  One tip I have for those who want to start their own social service is caching!  To add more clarification you want to cache static data in memory cache and avoid disk cache when possible.  The benefits of disk cache are not worth the performance hit you take for disk access.  myVidster runs on a LAMP solution and for caching I have opted for PHP APC for server scripts and Memcached for user sessions.  These updates have drop server load dramitically which avoids the need to purchase additional servers.

As I have mention before I decided to stop posting stats on myVidster's traffic (it caused me some drama), but I would like to tell everyone that myVidster has a positive growth rate at 15-20%.  This rate has been steady and all organic!  You can see people tweet about myVidster everyday!  Thanks again for all the love and support.  Take care