I do all of my memcached stuff , including sessions, with mysql failover. its barely more code - i just make every public function address two private functions.

ie:

sub save {
        $_[0]->_save_memcached();
        $_[0]->_save_mysql();
}

sub load {
        if ( !$_[0]->_load_memcached() )
        {
                $_[0]->_load_mysql();
        }
}


I thought about the same thing last night, but is there any race condition problem if I use it for session?

---
Badai Aqrandista
Cheepy (?)

_________________________________________________________________
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site. http://ninemsn.seek.com.au?hotmail

Reply via email to