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

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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