in reply to embperl and Apache::Session::Memcached

I hope you're not putting anything in your session that you care about losing. Memcached is lossy storage, i.e. it will lose everything if the daemon hits a bug or the machine has problems. It also silenty drops things after it hits the size limit you set. It's intended to be a cache, not a database.
  • Comment on Re: embperl and Apache::Session::Memcached

Replies are listed 'Best First'.
Re^2: embperl and Apache::Session::Memcached
by samizdat (Vicar) on Mar 03, 2005 at 15:09 UTC
    Also, too, let me say that besides being well aware of the transient nature of RAM (I write code to analyze data on raw die from Teradyne testers for a living, these days!), as I stated, I'm interested in why the code doesn't work.

    Spending a few cycles finding out why something doesn't work leads to greater understanding of the process. I suspect that the answer to my Server Internal Error is in the raw newness of my embperl understanding and is unrelated to the use of memcached specifically.
Re^2: embperl and Apache::Session::Memcached
by samizdat (Vicar) on Mar 03, 2005 at 15:00 UTC
    I'm only using it for between-form per-session data, of course. In my real-world apps, MySQL does the database work.

    Should the machine fail, or be rebooted, or whatever, of course it will be lost, but then, so will the webserver. As for hitting the limit of the cache, that can be monitored. Of course!