Marcus: > > You need to use a more efficient implementation. Why do you need a > > UNIX-domain server in the first place? > > Because that's the only way I could think of that would work given that > the solution must work with pseudo-random transport. > > I'm after something that works as follows > # sometimes 'example.com' is sent down 'foo' and other times it's > # sent down 'bar' > example.com foo: > example.com bar:
Looks like the proposed randmap that was discussed a week or so ago. In that thread, the MySQL RANDOM() function turned out to be a usable alternative. > > - Use a persistent server. > such as? If you're worried about performance use a server that doesn't close the connection after every response. A server that creates one process per query is even worse and should not be used at all. Wietse