Re: [SQLObject] load balancing and SQLObject cache
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Oleg B. <ph...@ph...> - 2011-07-19 13:35:06
|
On Tue, Jul 19, 2011 at 05:30:43PM +0400, Oleg Broytman wrote:
> Expired cache stores weak references. I.e. while the program is
> holding a (non-weak) reference to a row the cache will return the same
> row.
This is to prevent having two different (unsynchronized) objects to
represent the same row.
Oleg.
--
Oleg Broytman http://phdru.name/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|