sql store for ruby-openid

Andrew Arrow oneone at gmail.com
Sat Feb 16 09:54:19 PST 2008


"Had you been invoking Store.clean?"

Yes, but even with that the nonces directory can still have several
thousands files in it since each nonce lasts for 5 hours.  A little
more traffic and just doing an ls on the directory could take a few
minutes.  Another option would be to write the nonces into a deeper
directory structure like 00/00/01/nonce01.txt etc.


------
Message: 4
Date: Tue, 12 Feb 2008 12:27:56 -0800
From: Kevin Turner <kevin at janrain.com>
Subject: Re: sql store for ruby-openid
To: dev at lists.openidenabled.com
Message-ID: <1202848076.2456.95.camel at localhost>
Content-Type: text/plain

Okay, now that I have the mail...

On Tue, 2008-02-12 at 07:10 -0800, Andrew Arrow wrote:
> I've been running openid in production for a few weeks now and the
> db/cstore/nonce directory has WAY too many files in it.

Had you been invoking Store.clean?

But, in any case, a SQL Store is a good addition; thank you for your
contribution.  I haven't used DataMapper at all and we'll have to look
in to it.  I won't be able to get to it right away, so I've filed it as
http://trac.openidenabled.com/trac/ticket/126

Thanks,

 - Kevin



More information about the Dev mailing list