Re: [Zope-dev] GUF and SQL

2001-10-12 Thread Andre Schubert

Hi,

thanks, for this hint :). It works very well for me, and make the things
much faster.

thanks as

"R. David Murray" schrieb:
> 
> On Thu, 11 Oct 2001, Andre Schubert wrote:
> > I'am using GUF with ZSqlMethods and found out, that every time a object
> > is accessed the sql-method is called,
> [...]
> > Is there a why to implement such a AUTHENTICATION-String cache in the
> > GUF-Product, it brings a lot of performance, when using GUF with SQL.
> 
> Did you try using the caching built in to sql methods?  Granted that
> doesn't address 100% of the issue, but it might address high-90s% of it.
> 
> --RDM
> 
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] GUF and SQL

2001-10-11 Thread R. David Murray

On Thu, 11 Oct 2001, Andre Schubert wrote:
> I'am using GUF with ZSqlMethods and found out, that every time a object
> is accessed the sql-method is called,
[...]
> Is there a why to implement such a AUTHENTICATION-String cache in the
> GUF-Product, it brings a lot of performance, when using GUF with SQL.

Did you try using the caching built in to sql methods?  Granted that
doesn't address 100% of the issue, but it might address high-90s% of it.

--RDM


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] GUF and SQL

2001-10-11 Thread Andre Schubert

Hi all,

I'am using GUF with ZSqlMethods and found out, that every time a object
is accessed the sql-method is called,
which means to me that if i have many objects in my dtml-doc, then it
takes a long time it is rendered.
Thats why i wrote a little Product, which has a AccessRule that makes
User authentication over GUF.
I added a user-cache in my Product, which stores AUTHENTICATION-Strings
of authenticated-users a num of secs.
Is there a why to implement such a AUTHENTICATION-String cache in the
GUF-Product, it brings a lot of performance, when using GUF with SQL.

thanks as

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )