|
|
- The design of the underlying database is very much up to you.
The only thing you need to guarantee is the order of the returned
data. You can construct as complex an SQL query as you like. I have
an installation where the getpwnam query is 367 characters long!
- The database connection is persistent across a process. Running an
'ls -l' of a directory with 5000 files owned by MySQL users will
open only one MySQL connection.
- The library is thread-safe. It is not, however,
multi-threaded. The library locks at the outset, and unlocks
on exit. This will provide for poor performance in an environment
where nss routines (ie getpwnam) are frequently called from within
a multi-threaded application. Using 'nscd' should help alleviate
this problem. I will be making the library much more
thread-friendly in the future. My current goal is more towards
functionality and stability.
|
|
Praise
|
I love the fact your code allows me to specify the SQL to pass to mysql.
That really made integration into my complex system easy.
I can not tell you how much I appreciate this library, it is so
flexible and a huge time saver for administrators.
- Eric L. Blevins
|
|
|