Can anyone explain me the memcache session parameters used to save Magento sessions in Memcache?
Also are there any more parameters allowed besides these 4 general?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
This is a boolean expressed as integer (1=true, 0=false). If true, PHP will leave open its connections to Memcached, which removes approximately 10–100 ms of overhead from each page load (mostly depending on network distance and congestion).
This defines server priority (I think a higher weight means the server is chosen first), assuming you have multiple Memcached instances defined. This supports architectural goals of increased redundancy and decreased outages by providing alternate session storage locations.
How many seconds should PHP wait for a connection to this server? In practice, Memcached should respond very quickly and there’s little value in waiting more than 1 second for a server to respond.
How many seconds should PHP wait before retrying a connection to this server? This configuration parameter is also not worth setting to more than 1 second (because when experiencing failures you might as well fail fast and show something, rather than making users wait a long time).