I must say, I think you lost me :-]

I understand the concern of having multiple users append the same file with no locking. But I'm not sure I follow either of your guys solutions to get around that..


On Oct 21, 2004, at 10:09 AM, David Grimberg wrote:

On Oct 20, 2004, at 5:51 PM, Nate Sanders wrote:
.tmda/conf:
CONFIRM_APPEND = "/home/tmda/confirmed"
PENDING_BLACKLIST_APPEND = "/home/tmda/blacklist"
PENDING_WHITELIST_APPEND = "/home/tmda/whitelist"

I'm not sure this will be reliable - you'll end up with each user's TMDA process potentially running in parallel and wishing to update the lists at the same time. I don't believe TMDA has the locking required to make this work, without the potential for losing data.

I'm not sure if t would be reliable using data files either, but I seem to
recall some discussion in the past about the atomicity of the append
processes. If however, your lists are maintained in a database you could
safely use the DB_BARE_APPEND and DB_CONFIRM_APPEND config vars to maintain
the global lists ([auto] CDB and DBM lists may also work for this). In fact
since these would be global lists appended to by all the potential for
having a large number of entries is quite good, so a DB based list would be
of benefit.


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

------
Nate Sanders                   Customer Support Manager
Sonic Studio, LLC           (763) 577-1535 ext. 2

RMA Requests - [EMAIL PROTECTED]
Keyfile Requests - [EMAIL PROTECTED]
Support Requests - [EMAIL PROTECTED]

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to