Connection pool multi-threaded?
Posted: Mon 07 Mar 2005 20:17
Using MySQLDirect in an ASP.Net application. Specifying connection string with pooling=true, and using MySQL 4.1.10-nt via TCP/IP.
It looks like connection pooling is working just fine for all communications on the same thread (ie the same page load), but each new thread will not reuse the connection pool. They all seem to be loading new connections.
By the way, is there any way to make MySQL login faster? The server we're testing on is running at 2% CPU, but it still takes 2 seconds or so to login using MySQLDirect. The servers are on the same segment.
It looks like connection pooling is working just fine for all communications on the same thread (ie the same page load), but each new thread will not reuse the connection pool. They all seem to be loading new connections.
By the way, is there any way to make MySQL login faster? The server we're testing on is running at 2% CPU, but it still takes 2 seconds or so to login using MySQLDirect. The servers are on the same segment.