I'm not saying it is an apache issue Gary.

I was just suggesting a way you might be able to implement 
several different mysql server instances, and still have one 
apache instance for your users to connect to via port 80.

Each mysql server instance could be bound to an apache 
server instance via it's own php module.

So each apache instance can talk to a different mysql 
server, via php, on a different unix socket.

It may be possible for one apache listening on port 80 to 
forward requests to virtual servers, running on different 
apache servers on your machine, listening on different 
ports.

That way your users will not have to define a different port 
to connect to.

I've not tested this out yet, but it may be an option that 
would work for you.

Hope this poor diagram make sense!

 -----------------------------     
 | apache main server port 80 |
 -----------------------------
  |   |      |     |  
  |   |      |     |
  |   avs2  avs3  avs3 
  |
  |
  |
 -----------------------------------     
 | apache virtual server 1  port 81 |
 -----------------------------------
  | 
  v
 ----------------
 | php module 1 |
 ----------------
  |
  v
 ------------------
| mysqld server 1 |
 ------------------

ditto

 -----------------------------------     
 | apache virtual server x  port xx |
 -----------------------------------
  | 
  v
 ----------------
 | php module x |
 ----------------
  |
  v
 ------------------
| mysqld server x |
 ------------------

Regards

Keith

On Sat, 1 Apr 2006, Gary Huntress wrote:

> To: [EMAIL PROTECTED]
> From: Gary Huntress <[EMAIL PROTECTED]>
> Subject: Re: Tuning a Server with >10,000 databases
> 
> I really don't think this is an apache issue.  I get the same poor
> connection speeds using the mysql client.
> 
> Gary
> 
> [EMAIL PROTECTED] wrote:
> > I'm just wondering if it would be possible to use several apache
> > servers on different ports and using virtual servers, that would each
> > talk to a different instance of mysql, each running on different unix
> > sockets?
> > 
> > The main apache server listening on port 80 could then redirect
> > requests to the other apache virtual server instances.
> > 
> > Everything after that should be plain sailing I think.
> > 
> > Best place to ask would probably be the apache user mailing list on
> > this one.
> > 
> > Regards
> > 
> > Keith

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to