mysql x

25 May 13

Mysql slave server-id selection ( permalink
Two slaves with the same server id will replicate successfully, but when they reach the end of the master's binary log, something freaks out and forces them to disconnect. This causes both slaves to reconnect, sync (no data needed), and have the connection die off quickly again. The result of this is rapid connection/disconnection by both slaves driving the load to 1+ on both slaves, and to around .3 on the master even in a completely idle system. This is bad. Therefore, server id collisions are bad.

10 May 12

Goodbye, CouchDB ( permalink hackernews
Here at Sauce Labs, we recently celebrated the completion of a significant project to improve our service uptime and reliability, as we transitioned the last of our CouchDB databases to MySQL.

19 Jun 11

MySQL Explain Output ( permalink
Joins are fast ( permalink
Joins are fast. Joins should be considered standard practice with a properly normalized database schema. Don't fear the join.

It's true that join performance degrades non-linearly as the size of the data set increases. Therefore, it doesn't scale as nicely as single table queries, but it still does scale.

It's also true that a bird flies faster without any wings, but only straight down.

18 Jun 11

Flickr Architecture ( permalink