Hi, New to Python, but with Java background I'm interested in comments/suggestions for something I'm trying...
I've got a series of events (basically a dictionary of a few key:value pairs) which I'd like to forward onto a web service. That should be no problem, but I'm investigating what I can do when the web service is down for a bit. What I'm considering is to persist the event and trigger a seperate thread to retry the forwarding. What I'm wondering about is if there's a storage method that allows 1 thread writing to the storage while the other thread reads and then deletes from the storage... I had a look at using ZODB but hit problems when trying to have two connections to the same FileStorage DB, but a second look at things suggested that dbm might well do what I need, if I ensure only one thread at a time can access it. /Gwyn _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor