I need to manage concurrent database update activity for my workers. I
see that there is a lock() function in the Python API. Will it work
between threads in the same process as well as between different
worker processes?
Thanks,
Skip Montanaro
___
uWSG
> I need to manage concurrent database update activity for my workers. I
> see that there is a lock() function in the Python API. Will it work
> between threads in the same process as well as between different
> worker processes?
>
> Thanks,
>
> Skip Montanaro
> ___
I do. It's giving me fits. (Probably my problem, but this looks like a
reasonable short-term workaround.)
On Fri, Apr 13, 2018 at 9:35 AM, Roberto De Ioris wrote:
>
>> I need to manage concurrent database update activity for my workers. I
>> see that there is a lock() function in the Python API.
> Does the uWSGI caching system compute hit rates, or do I need to
> finagle that myself?
I found this info in the stats object. I was thinking that uwsgitop
displayed everything and hadn't peeked at the raw (JSON) data.
Skip
___
uWSGI mailing list
uWSG