Jes Andersen wrote:
use TCP instead of creating mysql sockets all around your fs.
I'll rather have the higher efficiency from a unix socket and besides
my mysql is network disabled ;)
Then use DOS. your unix is spending too much time switching contexts and
checking permissions.
Do you have actual measurements or are you just speculating? the
benefits of a tcp connection generally outweight the handshake costs.
and with connection "caching", the handshake costs are irrelevant.
Moreover, in some implementations, localhost TCP is as fast as unix
streams.
Even looking for a way to handle some caching of the response. Also
working on a more push based system, but I don't like the need for
reloading postfix configuration either, but I'm sure I'll figure
something out.
there is no need to reload. postfix processes will pickup the new values
sooner or later. do you really change your config every second?