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
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SMProxy!