MySQL Forums
Forum List  »  Router & Proxy

Balancing based on shard key during query.
Posted by: Luca Olivari
Date: March 10, 2008 06:12AM

Hi all,

I need to create a pool of connection within proxy and then balance load between servers based on a shard key. For instance:

if query contains key=1 and is RW then send to server1
if query contains key=1 and is RO then send to server1ro
if query contains key=2 send to server2
.. etc ..

Is this possible?

Someone can help me with some examples (I've already looked at all the examples coming with 0.6.1 with no luck).

Many thanks,

Luca

Options: ReplyQuote


Subject
Views
Written By
Posted
Balancing based on shard key during query.
3771
March 10, 2008 06:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.