IndexModulesHandlers

Handler: MySQL bridge

This handler offers a lightweight database abstraction layer that will provide all the benefits of connection pooling. This in turn offer scalable advantages for high-load websites.

The original implementation of DBSlayer was a MySQL to JSON over HTTP bridge. This handler outperforms any other implementation by far, and besides JSON the handler can also process Python, Ruby and PHP.

DBSlayer

It also makes use of a balancing strategy to manage at least one information source: the MySQL server being bridged.

Parameters

Parameter Description
user The MySQL user to authenticate as.
password The MySQL user password to use.
db Optional. A MySQL database name.
lang Language from which the information will be consumed: json | python | ruby | php

Note that for this module to be correctly compiled, the MySQL database development files are required.