DBSlayer數(shù)據(jù)庫抽象層
DBSlayer 是一個(gè)輕量級(jí)的用于高負(fù)荷的網(wǎng)站的數(shù)據(jù)庫抽象層,基于 HTTP + JSON 協(xié)議,當(dāng)你需要一個(gè)可伸縮的連接池時(shí),你會(huì)需要用到 DBSplayer。DBSlayer 采用C語言編寫,具有非常高的性能。
主要特點(diǎn):
- Simple HTTP interface
- JSON-format messages
- MySQL adapter (others possible in the future)
- Connection pooling
- Multithreaded
- Round-robin distribution of queries to slave instances
- Automatic failover to alternate databases
- Straight-forward configuration
- Simple yet powerful codebase.
評(píng)論
圖片
表情
