[bind10-dev] Multiple b10-auth processes

Shane Kerr shane at isc.org
Wed May 19 09:29:20 UTC 2010


All,

I picked - at random - the topic of running multiple b10-auth processes
for this week's agenda point from the "too hard" list.

Conceptually this is quite simple: We want to run multiple b10-auth
processes to get better performance out of our server. (BIND 9 uses 1
thread per core, which is certainly a good place to start.)

Some ideas:

      * Each b10-auth should be able to run in isolation.
      * In Unix, we need to give the b10-auth it's socket somehow. This
        can be done before the boss does the fork() or it can be done
        via sendmsg() (also to the boss?).
      * Commands to the b10-auth module should act as if they are sent
        to a group, not one process.
      * Backends need to be able to handle multiple readers. This may
        not always be possible? If so, we'll add something to the API to
        handle that. (We may still want to run more than one b10-auth
        process, so we can do the non-DB part of the query handling in
        parallel.)

I don't think this is too complicated, but we should explore a bit to be
sure. Feel free to discuss on list here, and we can have a chat about it
on our call tomorrow.

--
Shane




More information about the bind10-dev mailing list