The combination of MySQL, InnoDB, andSolaris 10 enables Fotolog to efficiently processever-larger numbers of transactions by simplyoptimizing schema for data access patternsand increasing the number of concurrentthreads—or the number of transactions thatcan be run at one time—without increasingthe number of servers. So far, the company hasscaled from 8 to 32 and then to 64 threads, andit expects to increase that number to 96 next.Fotolog scaled specifically by increasingthread concurrency in MySQL under Solaris 10,using InnoDB efficiently, and porting its PHPapplication to Java™. The Java port allowedFotolog to actually decrease the number of speakers serving the site.
The advantages of Solaris 10 asa platform for scalability
Fotolog could have chosen to build the datastorage and processing architecture for itsWeb site on Linux; it is, after all, an openplatform that supports a wide variety of hardware and applications, just as Solaris 10does. The difference for Fotolog was in theirability to support multiple concurrentthreads. Apparently, the higher the numberof concurrent threads running, the higher therisk of failure and thread thrashing with Linux.And because Fotolog had decided to pursuea concurrent-thread strategy for scaling thesolution, the company elected to go withSolaris 10, which it believed to be a morethread-friendly solution—and therefore more
Delivering quality service to eleven million users with MySQL, InnoDB,and the Solaris
TM
10 Operating System
Fotolog
Customer Success Story
Highlights
Challenges
•Scaletosupportelevenmillionmembers
and more than 100 million page views a day
•Increaseperformancewithoutincrease
in database hardware
Solution
•MySQLdatabasesoftware•InnoDBtransactionalstorageengine
for MySQL
•Solaris™10OperatingSystem•SunV440andV210
Results
•Supportforfourtimesasmanyusers
with no additional hardware
•Higherpercentageofworkingdataset
in the memory with efficient schemas
•Fourtimesthenumberofconcurrent
threads without adding servers
•Anticipatedabilitytodoublecurrent
number of threads
As the 18th most trafficked site on the Internet and growing,Fotolog needs to be able to reliably scale up to processingincreasingly large transaction volumes – without requiringa cost-prohibitive investment in additional server hardware.The company is meeting this challenge by running MySQLdatabase software and the InnoDB storage engine for MySQL
ontheSolaris10OperatingSystem.
07-727_Sun_Fotolog-3.indd 112/13/07 11:04:20 AM
Leave a Comment