Is there a standard mysql connection pooling libra

2019-03-30 01:43发布

I have a C application using the MySQL library for database access.

Is there a standard way to implement database connection pooling for such an application? The C connector doesn't appear to support it.

1条回答
Rolldiameter
2楼-- · 2019-03-30 02:26

The Zild Database Library, "a thread-safe high level multi-database connection pool library", looks very promising.

Previously I suggested that SQL Relay could be used to do this, amongst many other useful things, such as

  • client-side caching
  • load-balancing across database instances
  • translating between different database access APIs

If the MySQL library is dynamically linked this can be done without recompiling the application.

When I last looked in 2009, the mailing list suggested SQL Relay might not be fully ready for production use, but that appears to have changed.

查看更多
登录 后发表回答