OpenID Libraries should be stateless
Wichert Akkerman
wichert at wiggy.net
Tue Feb 5 14:10:01 PST 2008
Previously Kevin Turner wrote:
> On Tue, 2008-02-05 at 10:34 -0800, Ryan Ernst wrote:
> > So then what do I do? Read the objects manually and save out there
> > state, sign it, pass it through the return_to, and recreate the
> > objects and the session map? That seems like a lot of work that could
> > be avoided if the yadis library would just store its state in a format
> > independent of the application server it is running on.
>
> I could me missing something here, but it seems to me that it is in fact
> *exactly the same* amount of work.
It is much cheaper: you do not need to update central storage, with
all the cache invalidation, locking, replication, etc. that involves.
Basically anything you can do to avoid writing data server side is a
Good Thing.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Dev
mailing list