AW: [Zope3-Users] efficiency of PAU authentication

Roger Ineichen dev at projekt01.ch
Tue Apr 29 23:26:31 EDT 2008


Hi Nixon

> Betreff: [Zope3-Users] efficiency of PAU authentication
>=20
> Hi, dear all,
>=20
> PAU authenticates 2 times each request, before and after traversal.

Really?=20
Can you explain why this happens?

> What if I make an authentication plugin based on relational database?
> Everytime the plugin has to create a pricipal from database,=20
> assign roles to it, ...
> When the website is under heavy load, there must be huge=20
> number of authentication request.
> Is RDB based PAU efficient enough to do authentication?
>=20
> I have an idea of session-cache authentication: fetch=20
> credentials from RDB and cache them in session. Is this more=20
> efficient?

Yes, of corse, I recommend caching if you need to run a heavy loaded =
site.

Regards
Roger Ineichen

> Best Regards
> Nixon
>=20
>=20
> ________________________________
>=20
> =
=D1=C5=BB=A2=D3=CA=CF=E4=A3=AC=C4=FA=B5=C4=D6=D5=C9=FA=D3=CA=CF=E4=A3=A1 =
<http://cn.mail.yahoo.com/>=20
>=20



More information about the Zope3-users mailing list