资 源 简 介
DBMojo is a database proxy over HTTP intended to make connecting to your databases a no brainer.
DBMojo provides:
* Stateless HTTP/JSON based access to your database(s)
* Access any database that has a JDBC driver
* Connection pooling
* Auto batching of updates
* Supports raw SQL and prepared statements w/bind variables
* Result sets are cacheable via HTTP reverse proxy
* Has been benchmarked to handle > 5K requests per second
Requirements:
* Java 1.5 or higher
* JDBC jars necessary to connect to your database(s)
Configuration:
* Create a config file (config.json)
{serverPort: 9091, maxConcurrentRequests: 50, useGzip: false, dbAliases: [{alias: "mysql", maxConnections: 30, expirationTime: 300, connectTimeout: 5, driver: "com.mysql.jdbc.Driver", ds