I hope you're all enjoying the 1.2.6
stable release of memcached. Don't want to hear no whining about
it crashing!
One of the most common questions in memcached land is the ever
obnoxious "how do I put my sessions in memcached?". The long
standing answer is usually "you don't", or "carefully", but
people often walk the dark path instead. Many libraries do this
as well, although I've seen at least one which gets it.
This isn't as huge of a deal as people make it out to be. I've
been asked about this over the mailing list, in IRC, in person,
and even in job interviews. What people end up doing gives me the
willies! Why! Why why why... Well, I know why.
So what is the deal with sessions? Why does everyone want
to jettison them from mysql/postgres/disk/whatever? Well, a
session is:
- Almost always larger than 250 bytes, …
I hope you're all enjoying the 1.2.6
stable release of memcached. Don't want to hear no whining about
it crashing!
One of the most common questions in memcached land is the ever
obnoxious "how do I put my sessions in memcached?". The long
standing answer is usually "you don't", or "carefully", but
people often walk the dark path instead. Many libraries do this
as well, although I've seen at least one which gets it.
This isn't as huge of a deal as people make it out to be. I've
been asked about this over the mailing list, in IRC, in person,
and even in job interviews. What people end up doing gives me the
willies! Why! Why why why... Well, I know why.
So what is the deal with sessions? Why does everyone want
to jettison them from mysql/postgres/disk/whatever? Well, a
session is:
- Almost always larger than 250 bytes, …