[rrd-users] Re: locking

Alex van den Bogaerdt alex at ergens.op.HET.NET
Wed Aug 28 00:01:10 MEST 2002


Abraham van der Merwe wrote:

> Is there some sort of locking for the RRD databases (i.e. is it safe to have
> multiple applications access the same database concurrently or do the apps
> have to take care of serializing access to the RRD databases)?

Exclusive locking when a process tries to write.  At that time,
no other process should be able to access the database.

I don't know what happens when two processes try to access the
same database at the same time.  If the locking is programmed
properly ( I didn't check this ) then at least you can be sure
no data corruption will occur.  Perhaps a read will fail when
another process writes, dunno.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list