>>
>>> Try having timeouting locks. E.g.
>>> https://pypi.python.org/pypi/DistributedLock/ This mitigates the issue
>>> somehow.
>>>
>>
>> Are you using that project, and does it work well for you? I looked at
>> it,
>> but then I found out redis-py has a distributed lock that seems more
>> robust. We might decide to switch to Redis just for that.
>>
>
> Go for Redis.
>
> I only linked that project because memcached was mentioned.
>
> Redis is superior and easier on every account.
>
> -Mikko
>
>

I totally agree, not that memcached is bad, is that redis is at another
level :)

Btw, trying to avoid workers to reload is basically impossible, so
improving your locking system seems the best solution

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to