Le lundi 19 septembre 2016 18:40:03 UTC+2, Cédric Krier a écrit :
>
> On 2016-09-19 09:07, Ali Kefia wrote: 
> > 
> > 
> > Le lundi 19 septembre 2016 17:40:03 UTC+2, Cédric Krier a écrit : 
> > > 
> > > On 2016-09-19 08:19, Ali Kefia wrote: 
> > > > the issue with cache on multi workers is that invalidation does not 
> > > > propagate. 
> > > 
> > > Could you proof your statement? 
> > > 
> > 
> > Context: multi-process. 
> > I could miss something (that is why I am asking) 
> > 
> >    - cache.clear: empty cache and sets ir.cache on database 
> >    - cache.get: reads from memory (does not check ir.cache) 
> > 
> > => No synchronization between workers to invalidate cache horizontally 
>
> It is done on each request when starting the transaction: 
> http://hg.tryton.org/trytond/file/tip/trytond/protocols/dispatcher.py#l167 
>

Ok got it ! So we keep the situation of transaction start
Thx for information
 

>
>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: cedric...@b2ck.com <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/17cb992a-410e-4382-a090-d30c9c64275d%40googlegroups.com.

Reply via email to