- To: Amos Shapira <amos.shapira@xxxxxxxxx>
- Subject: Re: [SLUG] WordPress & sessions [Was: WordPress, PHP]
- From: justin randell <justin.randell@xxxxxxxxx>
- Date: Mon, 10 May 2010 11:30:07 +1000
- Cc: richard.ibbotson@xxxxxxxxx, slug@xxxxxxxxxxx, Jeff Waugh <jdub@xxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=Eh7cR7A2W9WWEDC5bvHVQUYlYL2osI5s6We5VbeYvI4=; b=aesMxWPPOhMcD4OqiJM4DWmN/J4zFcGfrACxHnD7RNLFAuIKdyxv0HSKmhmXXPKxBH vd3CqFJxlpDIt44Idr9kiALEMiNFFKjBpOOv0En5ANHXcdWg2cUXhWdsZ3hG2C0rTaM8 TqjgqbRqv7kh9KFZV3QrjurX4CQ1X5W3BFxrg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=oOCQ87jLvhirWMO3Lca2w/OHg78qnWiPjSLiYZL36PzzgKEdm6pH4gDatoTh9czVZe Ys7/y/OSPPGJLgKe50p8mUl//qhYmmkdIz555m0gg9qgb4H06r9Tfz8zyMatu5c+RaY1 JDW1ALCOB7Hsxr0s4uGHmN39WXLuSJdHTp1u0=
hi,
On 9 May 2010 09:30, Amos Shapira <amos.shapira@xxxxxxxxx> wrote:
> On 8 May 2010 15:48, Jeff Waugh <jdub@xxxxxxxxxxxxxx> wrote:
>>
>> <quote who="justin randell">
>> > was it a desire to use a non-file based store and an aversion to using
>> > custom session handlers? was it a desire to control the strength of the
>> > cookie hash?
>
> Without getting into WordPress or the session storage options it
> provides - In principle I'd prefer none-file-based permanent session
> store simply to allow multiple front server to share the load of
> serving any session from any server.
>
> This usually leads to client-server style databases or things like
> memcachedb in redundant configuration.
yes, every time i see a load-balanced setup with sticky sessions, i
cringe. "i know, now that we've eliminated our single points of
failure, lets do extra work to bring a SPOF back into our redundant
setup."
in drupal land, there's been a bit of interest in mongo db for session
(and other) storage, as a lot more of the backend in drupal 7 is
pluggable. some of the people working on porting examiner.com to
drupal 7 released this, which includes using a mongodb session store:
http://drupal.org/project/mongodb
i'm not sold on replacing relational dbs for most things yet, but a
key-value session store seems like a good fit.
cheers
justin