[Empeg-general] Re: LDAP-interface to empeg-player

fvgestel@empegbbs-noreply.merlins.org fvgestel@empegbbs-noreply.merlins.org
Fri, 22 Sep 2000 08:49:00 GMT


You are quite right if you say the searches take too long...
It takes more than a minute for a complex query to finish.

But don't let that push the pleasure...

I rewrote the code to the following scenario.
the ldap server runs on a random linux machine in your network.
A small server program is run on the empeg (+- 10kb), which cats the fid files over a socket connection to the ldap-backend.
This makes it possible the run the empeg-server simultaneously with the player executable. 
Performance is much improved. Queries complete in a few seconds...

I will start testing this evening and post the new source and binaries in the weekend...

Is it really possible to update the fid-files without destroying the database that the player is using?

While I'm writing this, another idea is rising; I will take a look at the emptool source to directly connect to the player executable from the ldap-backend.

You are right when you state that writes are much slower on standard LDAP-servers, but this id due to the fact that after every write all indexes must be recreated. With the empeg this wouldn't be much of a problem...
Updating the database will be my next target...

Frank van Gestel