Add to your personal schedule

Scaling Heavy Concurrent Writes In Real Time

Flickr implemented a real-time collection of referrers to Photos, streams, sets and collections. Currently the data is gathered real time for every single user on Flickr. The data is then cooked and reported with a 24 hour lag for filtering out referrer SPAM. MySQL myISAM/INNODB, curl, Java are the only component used in the setup and it scales linearly. This talk is about building a model for capacity planning, scaling for triple the request rate, and scaling linearly for an intensive application.

  • Disk I/O is not an issue capacity is based off of Disk consumption rate.
  • Java is used to buffer the writes to INNODB and myISAM
  • The data is federated across many servers
  • The goal is to keep unlimited stats for the lifetime of the pro account
  • Transactions are used to keep the data insync among multiple table views.
  • Detail data is kept on a per day, week, month, year for every view class recorded
  • Distributed locks across the cluster using mySQL’s GET_LOCK

Dathan Pattishall

Flickr

Flickr Database Guru

Sponsors

Diamond Sponsors

  • Kickfire
  • Zmanda, Inc.

Platinum Sponsors

  • Continuent
  • EDS
  • JasperSoft
  • Sun Microsystems
  • Symantec
  • XAware

Gold Sponsors

  • Data Direct Technologies
  • Dolphin Interconnect Solutions
  • Hewlett Packard
  • Infobright, Inc
  • Linagora
  • Microsoft
  • OpSource
  • Oracle
  • Pentaho
  • R1Soft
  • Red Hat
  • Ticketmaster

Premier Media Partner

  • TechRepublic

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com.

Download the MySQL Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact Avila Reese at mediapartners@oreilly.com.

Press and Media

For media-related inquiries, contact confpr@oreilly.com.

MySQL Conference Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the MySQL Conference newsletter.

Contact Us

View a complete list of MySQL contacts.