dchub-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dchub-dev] [support #102320] configuration.


From: nobody
Subject: [Dchub-dev] [support #102320] configuration.
Date: Fri, 08 Aug 2003 09:35:22 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030428 Galeon/1.3.3


Support Request #102320, was updated on Thu 07/31/2003 at 15:29
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=102320&group_id=3963

Category: None
Status: Open
Priority: 5
Summary: configuration.

By: ericprev
Date: Fri 08/08/2003 at 15:35
Logged In: YES 
user_id=15899
Browser: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030428 Galeon/1.3.3

In fact, no. I also though xml is slower than sql but it is
not exact. There is 2 methods to use XML file: reread the
XML from file at each access or load it in memory, parse it
and work on the ready to use version (a lot faster).

----------------------------------------------------------------------

By: pakar
Date: Wed 08/06/2003 at 19:10
Logged In: NO 
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030427

The problem with xml would be that it's quite slow, that's
why i suggested the mysql-db.

One way (easy?? =) could be.
Hub starts,
 Hub gets the config/users etc from the mysql db and store
it in memory.
If a change to the database is made you could then do a
dchub::mysqlrefresh() and the settings would be reloaded.
(or just have a timer on it that would reload the db every
<x> seconds and then close the db-handle.


If you want i could probebly take a look at the problem (18h
disconnect) that you have with the db... Not to good in
c-programming and mysql... But (at least i think =) quite ok
knowledge about administrating and accessing throug perl..

Send me a mail if you want me to check it out.


----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=102320&group_id=3963

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]