The DBAccessLayer or DBSlayer (http://code.nytimes.com/projects/dbslayer) for short is a lightweight, open source, web aware proxying and pooling layer for MySQL used for backend architecture at nytimes.com.
From its very genesis, DBSlayer was designed to be simple to use and simple to maintain. Assembled out of a few open-source libraries, DBSlayer communicates with clients using HTTP as a protocol and JSON as an encoding, instead of the custom binary protocols common to other proxying mechanisms. This enables the DBSlayer to easily interoperate with any programming languages that speak HTTP and JSON (it’s hard to find ones that don’t at this point) without any adapter compilation required. And it allows us to change proxying settings, failover strategies, and even deploy new MySQL client libraries without affecting downstream consumers. Of course, this simplicity means the DBSlayer is not good for all potential proxying/pooling uses, but it’s been good for us in a production environment.
In this talk, Derek will cover the basics of using DBSlayer in your applications. If possible, we’ll also look into the internal construction of the DBSlayer program itself out of the open source APR and MySQL libs. Finally, we’ll talk about performance in real-world production environments.
Derek Gottfrid is a Senior Software Architect at The New York Times. He has been involved in building many key parts of the nytimes.com infrastructure, including search, web serving, e-mail distribution, and platform development. Derek has led efforts to improve the use of open source software within the Times and is responsible for the open source project dbslayer —a database connection pooling server. He also blogs regularly about his open source work at open.nytimes.com.
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com.
Download the MySQL Sponsor/Exhibitor Prospectus
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.
For media-related inquiries, contact confpr@oreilly.com.
To stay abreast of conference news and to receive email notification when registration opens, please sign up for the MySQL Conference newsletter.
View a complete list of MySQL contacts.