On 9/12/13 1:34 PM, Willy Tarreau wrote: > I'm sorry but I still don't understand what you're trying to achieve. > Having *two* default backends makes no sense, how would we decide > which one to use ? If they're both to be used, simply merge both > servers :-/ Regards, Willy Now, if only HAProxy had load balancing capabilities... ;-)
Basically I need multiple frontends - some go to one backend, some to another, some to both. This is easy if you duplicate servers into a third backend as you say - but then you have two sets of maxconn - meaning you no longer have ability to effectively limit max overall sessions to each server. A specific example is a search server that serves public and private data for some customers. A query for public data returns only public data, but a query for private data returns private data+public data. Now private queries are directed to the cluster the data is at - but public queries can be handled by ANY of the servers. Makes sense now? -M

