I just finished the packaging of the daemon backend so I'll start using and testing it (I never use unpackaged software on my systems).
As you all know, Elektra can operate without a daemon. But it is vital for us because all backends (except the filesys one) can't provide real security by themselves. The daemon, running in a different proccess space from the client program, can effectivly make security happen with the help of the Elektra backend it is using.
Also, with a daemon, doors are open for more efficient notification infrastructure, and makes us closer to get rid of the huge storage footprint of the filesys backend.
We are closer than ever from a 1.0 version.
Regards,
Avi
On 6/29/06, Yannick Lecaillez <[EMAIL PROTECTED]> wrote:
Hi !
Daemon is near finished, here a quick TODO :
* Rework error handling ;
* Launch daemon automagicaly when libelektra-daemon doesn't
detect it ;
* Change socket to NON_BLOCKING for remove potential deadlock (?) ;
* <insert your proposition here>
Main daemon "features" :
* Works always in UTF-8 independently of current locale (do
convertion
if needed)
* Use pthread_create() rather than fork() (allowing fast
concurent writing
synchronization using mutex in backends) ;
* One client = one thread ;
* Privilege separation : get credentials from socket, insured by
kernel ;
* Not too much overhead : usage of thread, one message = 1
write() / 2 read() in most
cases, only stricly necessary memory copy are done ;
Thanks to download latest SVN version and test it. There are
probably some
functions (kdb* stuff) which doesn't work at all and of course bugs.
Thanks to do some
reports.
berkeleydb isn't finished too. There are some problem about key
remove. Moreover,
it seems there are some memory leak problem. But, from my first bench,
berkeleydb
throught daemon is simply by two time faster than filesys in a massive
key importation
scheme.
We were never so near of a 1.0 ;-)
Regards,
Yannick.
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Registry-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/registry-list
