First, if you only put something in memcache, you should be fine by losing it. For everything else, there is persistent storage.
Secondly, memcached simply does not work very often. No moving parts, such as disc plates. The only times I ever lost a session were caused by a restart of kernel updates. But the loss of these sessions was not a big problem because of the first point.
So, to answer your question directly, if the zero date is ok to lose, saving it in the memcache session is only ok. If you fail to lose, save it to persistent storage and possibly cache it in memcache for speed.
John douthat
source share