SMProxy is a lightweight, high-performance MySQL proxy developed in PHP using the Swoole extension. It is designed to address the lack of native connection pooling in PHP, which can lead to database connection bottlenecks under high concurrency. By implementing its own connection pool and supporting read/write separation, SMProxy enhances database operation efficiency and stability. It is compatible with MySQL versions 4.1 through 8.0 and adheres to the MySQL native protocol, making it a versatile middleware solution for various applications.
Features
- Implements a connection pool to manage and reuse database connections efficiently
- Supports read/write separation to distribute database load effectively
- Adheres to the SQL92 standard for broad SQL compatibility
- Utilizes coroutine scheduling for high concurrency handling
- Allows multiple database connections, databases, and user configurations
- Fully compatible with MySQL versions 4.1 to 8.0 and supports the HandshakeV10 protocol
Categories
LibrariesLicense
MIT LicenseFollow SMProxy
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SMProxy!