Menu

What about threads? (and some info about current changes)

I divided pgsqlauthd into two separate parts: daemon (master - keeps connections, loads dynamically server's
code), libpgsqlauthd.so (did same with pgsqllogd).

At this time daemon forks child for every incoming connection.
I think about better connections' handling.
One of ideas is to use threads, and also make vq's
libraries threads safe. What do you think about it?
Does anyone need it?

Some things will be done in near future - I want
to create cdaemonvq class, programs will be linked
only with this library and all operations will be
done by daemon. This will cause that only daemon
will have to run setuid as vq. Also this will
allow to listen on TCP connections :-)
Yup, distributed and easy to maintain hosts' farm.

Posted by Anonymous 2004-01-20

Log in to post a comment.