Sponsors
  • Intel
  • Microsoft
  • Google
  • Sun Microsystems
  • BT
  • IBM
  • Yahoo! Inc.
  • Zimbra
  • Atlassian Software Systems
  • Disney
  • EnterpriseDB
  • Etelos
  • Ingres
  • JasperSoft
  • Kablink
  • Linagora
  • MindTouch
  • Mozilla Corporation
  • Novell, Inc.
  • Open Invention Network
  • OpSource
  • RightScale
  • Silicon Mechanics
  • Tenth Planet
  • Ticketmaster
  • Voiceroute
  • White Oak Technologies, Inc.
  • XAware
  • ZDNet

Sponsorship Opportunities

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

Media Partner Opportunities

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

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com.

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON newsletter (login required).

Contact Us

View a complete list of OSCON 2008 Contacts

Eat My Data: How Everybody Gets File IO Wrong

Stewart Smith (Percona)
Programming
Location: D137
Average rating: ****.
(4.44, 16 ratings)

Too many applications don’t deal with important files in a safe way. Along with that, they don’t check error codes properly or do things like blindly rely on fsync() actually sending data to disk (which becomes a problem if you intend your application to be portable). Write to temp file, close, rename is not a safe operation. We’ll discuss why—along with the various behaviors of different file systems and platforms and all the different ways you can expect your important data to get mangled.

More importantly, we’ll talk about how to write code using the POSIX file IO api and get it right—keeping your application portable, fast, and most importantly—respecting the data that users trust in it.

We’ll discuss:

  • when data hits disk
  • what causes data to hit disk
  • how you can ensure that data is on disk
  • how applications get this wrong
  • how a file system is not a database (and vice versa)
Photo of Stewart Smith

Stewart Smith

Percona

Stewart Smith works for MySQL AB as a software engineer working on MySQL Cluster. He is an active member of the free and open source software community, especially in Australia. Although Australian, he does not dress like Steve Irwin—although if he wrestled crocodiles he probably would. He is a fan of great coffee, great beer, and is currently 39,000 feet above sea level.

OSCON 2008