On Thu, Nov 12, 2009 at 10:36 AM, David Marcin <[email protected]> wrote:
> Thanks Bruce,
> One more question.  My client can't run long running processes, so no
> memcached and django via fcgi.  If I don't want the CC# written to disk, it
> seems that I need to use locmem, but there is a warning that says it "will
> not work properly at all in production."  What exactly does that mean?  The
> site is low traffic enough that it doesn't really matter if things are
> cached (when/if it matters, I'll get them to upgrade to a VPS), I just need
> for the CC# to be held long enough for the authorize.net module to work.

Locmem won't work because it isn't thread-aware.  Each thread would
have its own cache, and so you'd get cache-misses, AKA Mysteriously
Missing Information, if you saved the CC# to memory on one thread and
tried to read it with another.

I'm not sure what to suggest to use as a cache if you can't use
memcached.  Every other option would involve writing to disk in some
way.  It is encrypted, so you could just use filecache, and then have
some cron job which clears out files older than CACHE_TIMEOUT seconds
(Or maybe filecache does that on its own, I don't know).  I'm not sure
how acceptable that is to PCI standards.

Sounds like a bad server to run a store on, to be honest.

-- 
Bruce Kroeze
http://www.ecomsmith.com
It's time to hammer your site into shape.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to