Locking around
linuxnow at gmail.com
linuxnow at gmail.com
Thu Aug 7 05:24:40 EDT 2008
On Aug 6, 8:33 pm, Nikolaus Rath <Nikol... at rath.org> wrote:
> Tobiah <t... at tobiah.org> writes:
> > On Mon, 04 Aug 2008 15:30:51 +0200, Nikolaus Rath wrote:
> > Do you think you could use an SQL database on the network to
> > handle the locking?
>
> Yeah, I could. It wouldn't even have to be over the network (I'm
> synchronizing access from within the same program). But I think that
> is even more resource-wasteful than my original idea.
You could use Amazon SQS to queue the requests, as you are talking
about files kept in S3 anyway, that way it would be fully distributed,
--
Pau
More information about the Python-list
mailing list