Percona Live MySQL Conference 2012 – Day 1 Review
Apr 17, 2012 / By Singer Wang
Day 1 is the fist official day of the Percona Live MySQL Conference; the day began with two mini-keynotes by Peter Zaitev and Baron Schwarz of Percona talking about the history of MySQL and how he got started in the open source movement respectively. Very nostalgic and I’m sure it brought a tear to a few people’s eyes.
Following the dynamic duo was full keynotes by followed by Mårten Mickos (Eucalyptus Systems) speaking on “Making LAMP a Cloud” and Brian Aker (HP) on “The New MySQL Cloud Ecosystem”. To be honest I found the full keynotes to be quite disappointing. For me the keynotes speeches should be about a topic that is visionary or notable in some way. What I got from the keynotes were: MySQL is good, MySQL is growing, let me show you my product around MySQL, and buy/use my product. For me, they felt far more like glorified sales pitches. Remember back to the last conference I attended, SXSW Interactive, the keynotes by Ray Kurzweil and Jennifer Pahlka were about their vision of the future and the innovative work they have done respectively. Kurzweil spoke on how technology will enable us to expand our intelligence without limits and achieve digital immortality. Pahlka’s work on the non-profit Code For America, similar to the Peace Corps or Teach for America, brings technology innovators employing opens source, crowd source, and other technologies to promote openness, participation, and efficiency in municipal governments
The most interesting session of the day for me was “The Etsy Shard Architecture: Starts with S and Ends With Hard” by John Goulah of Etsy. The most interesting fact for me was that the way the shading was done. Having worked on similar environments, an online multi-merchant, I had though range or hash partition would’ve been the easy way to go. However Estsy choose to explicitly shard its users using manual assignments and have a set of servers to do lookup tables. This gave them a few benefits that wouldn’t be possible using the other methods. They include ability to arbitrarily move users across shards easily (relatively speaking) and do non-linear consolidations when the server is upgraded. When I asked was the reason for choosing the lookup sharding, the answer was that they wanted flexibility.
The last session of the day for me was “The Right Read Optimization is Actually Write Optimization” by Leif Walsh of Tokutek. If anything this talk deserves the award of most academic session of the conference for bringing in heavy amounts of Big-O analysis (for those who remember Introduction To Algorithms) and amortized cost analysis. Tokutek attempts to solve the problem of updating large number of secondary indexes, which are often used for faster selects, requiring random I/O to bring the B-tree blocks into memory by using a new data structure called Fractal Trees. The amortized Big-O analysis is quite interesting and does indeed show an asymptotic performance improvement, but one wonders how big is the constant in the analysis. Another interesting fact is that the performance improvement is lost, in that it is no better then a standard B-tree, if the index is a unique index. A quick count of the indexes by type for one of our environments shows only 17% are unique indexes (which also include primary keys), so the loss is not huge but not insignificant either.
Leave a Reply
You must be logged in to post a comment.

Recent Comments