diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-14 20:16:48 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-14 20:16:48 +0100 |
commit | b7cea9cab71352516ec290b09495d456c8db3e64 (patch) | |
tree | 6f7567d2ab05b44c16bc56e6f1cac9290643fc65 /user_guide_src | |
parent | c02952d2e6ccf0ee227836683d33239c8ef4e2df (diff) |
[ci skip] Add notes about session locks for Redis, Memcached
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/libraries/sessions.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst index c8a1f1925..57c258519 100644 --- a/user_guide_src/source/libraries/sessions.rst +++ b/user_guide_src/source/libraries/sessions.rst @@ -630,6 +630,11 @@ also do the following, after creating the table:: Redis Driver ------------ +.. note:: Since Redis doesn't have a locking mechanism exposed, locks for + this driver are emulated by a separate value that is kept for up + to 5 seconds. You may experience issues if your page loads take + longer than that! + Redis is a storage engine typically used for caching and popular because of its high performance, which is also probably your reason to use the 'redis' session driver. @@ -663,6 +668,11 @@ sufficient:: Memcached Driver ---------------- +.. note:: Since Memcache doesn't have a locking mechanism exposed, locks + for this driver are emulated by a separate value that is kept for + up to 5 seconds. You may experience issues if your page loads take + longer than that! + The 'memcached' driver is very similar to the 'redis' one in all of its properties, except perhaps for availability, because PHP's `Memcached <http://php.net/memcached>`_ extension is distributed via PECL and some |