On Tue, Jun 15, 2010 at 6:33 PM, MRAB wrote:
> Vishal Rana wrote:
>
>> Hi,
>>
>> A module level dictionary 'd' and is accessed by different
>> threads/requests in a django web application. I need to update 'd' every
>> minute with a new data and the process takes about 5 seconds.
>> What could be
Vishal Rana wrote:
Hi,
A module level dictionary 'd' and is accessed by different threads/requests
in a django web application. I need to update 'd' every minute with a new
data and the process takes about 5 seconds.
What could be best solution where I want the users to get either the old
value
On Tue, Jun 15, 2010 at 7:04 PM, Vishal Rana wrote:
> Hi,
> A module level dictionary 'd' and is accessed by different threads/requests
> in a django web application. I need to update 'd' every minute with a new
> data and the process takes about 5 seconds.
> What could be best solution where I wa
Vishal Rana wrote:
Hi,
A module level dictionary 'd' and is accessed by different
threads/requests in a django web application. I need to update 'd' every
minute with a new data and the process takes about 5 seconds.
What could be best solution where I want the users to get either the old
v
Hi,
A module level dictionary 'd' and is accessed by different threads/requests
in a django web application. I need to update 'd' every minute with a new
data and the process takes about 5 seconds.
What could be best solution where I want the users to get either the old
value or the new and nothi