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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow SMProxy

SMProxy Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

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.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SMProxy!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Libraries

Registered

2025-05-23