[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#512172: RFP: dbslayer -- lightweight database abstraction layer suitable for high-load websites



Package: wnpp
Severity: wishlist

* Package name    : dbslayer
  Version         : beta-12
  Upstream Author : Derek Gottfrid
* URL             : http://code.nytimes.com/projects/dbslayer
* License         : MIT
  Programming Lang: C/others
  Description     : lightweight database abstraction layer suitable for high-load websites

DBSlayer is a lightweight database abstraction layer suitable for high-load
websites where you need the scalable advantages of connection pooling. 
Written in C for speed, DBSlayer talks to clients via JSON over HTTP, 
meaning it's simple to monitor and can swiftly interoperate with any web 
framework you choose.

The DBSlayer originated as an internal tool at the New York Times. The 
typical LAMP strategy for scaling up data-driven applications is to 
replicate slave databases to every web server, but this approach can hit 
scaling limitations for high-volume websites, where processes can overwhelm 
their given backend DB's connection limits. Quite frankly, we wanted to 
scale the front-end webservers and backend database servers separately 
without having to coordinate them. We also needed a way to flexibly 
reconfigure where our backend databases were located and which applications 
used them without resorting to tricks of DNS or other such "load-balancing" 
hacks. Plus, it just seemed really cool to have a JSON-speaking DB layer 
that all our scriptable content could talk to. Thus, the DBSlayer was born. 

-- System Information:
Architecture: i386



Reply to: