Re: Aktualisieren sich Volatiles in Object Caches?

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Zechmeister wrote:
> Hm...
>
> ich will ein paar aufwändige Sachen volatile cachen (Varname z.B.:
> self._v_foobar)
>
> Allerdings weiß ich nicht, wie sich das in Bezug auf die object
> caches verhält, oder wenn ZEO im Spiel ist.
>
> Wenn self._v_foobar gesetzt oder verändert wird, schlägt sich das
> sofort auf alle Abzüge des betroffenen Objektes durch, die in den
> Object Caches, bzw in den ZEO-Clients verteilt liegen?
_v_ ist nur lokal bzgl. des aktuellen Workerthreads. Für übergreifendes
Caching gibt es andere Lösungen
>
>
> In einem einfachen Test bei mir scheint es so, dass das gleich
> überall wirkt, aber der Schein könnte trügen.
Huh? Insb. sind _v_ Variablen nur innerhalb des *aktuellen* Requests
und damit innerhalb des aktuellen Workerthreads gültig.

Was genau hast Du vor?

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuXofMACgkQCJIWIbr9KYx1cACgirApU1qyNOS5XXwx6yuGfam+
yxoAn2RttsSYxDhXwEAIqQ+QqyDNHXK5
=Wo8Z
-----END PGP SIGNATURE-----



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 331 B)
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.