Score:0

PHP session store in cephfs

in flag

We need to support a lot of php version from 5.3 to 8.1 in K8s. Every version served by two or more pods. The sessions are stored localy in the pod's volumes, due to this solution we are using sticky sessions. I fed up with this solution and started to prepare the migration to shared sessions with memcached cluster. I started the migration from the newest version, so 8.x and 7.x version are ok. But with 5.3 I ran into a problem. When I created the k8s deplyoment for 5.3, I need to build it from source, and now I cannot add memcached support for this version. I ran into more problems: the php-memcached package which is available in ubuntu 16.04 repo is for PHP5 but not compatible with the latest php5.3 version. I tried to build memchached from source but libmemcached version not available in ubuntu repoistory...

I decided to try migrate session store to cephfs. Is that a bad idea? I heard that NFS is not suitable for php session store.

If cephfs not suitable either, how can I get work php5.3 with memcached support?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.