From 63bdb43b1616b3d29591f48ebfef66ccb9752f11 Mon Sep 17 00:00:00 2001 From: RealRancor Date: Sun, 24 Apr 2016 19:59:09 +0200 Subject: [PATCH] Performance tuning: Recommend redis based file locking --- .../configuration_files/files_locking_transactional.rst | 5 +---- admin_manual/configuration_server/oc_server_tuning.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/admin_manual/configuration_files/files_locking_transactional.rst b/admin_manual/configuration_files/files_locking_transactional.rst index 5981e2514..a2710e488 100644 --- a/admin_manual/configuration_files/files_locking_transactional.rst +++ b/admin_manual/configuration_files/files_locking_transactional.rst @@ -30,10 +30,7 @@ locking does not prevent this. Rather, it prevents simultaneous file saving. must visit your Apps page to verify that it is disabled; the File Locking app and Transactional File Locking cannot both operate at the same time. -When you see the warning on your ownCloud admin page "Transactional file locking -is using the database as locking backend, for best performance it's advised to -configure a memcache for locking", you are not required to use a memcache. File -locking is enabled by default, using the database locking backend. This +File locking is enabled by default, using the database locking backend. This places a significant load on your database. Using ``memcache.locking`` relieves the database load and improves performance. Admins of ownCloud servers with heavy workloads should install a memcache. (See diff --git a/admin_manual/configuration_server/oc_server_tuning.rst b/admin_manual/configuration_server/oc_server_tuning.rst index 0170e0738..58b1dcc65 100644 --- a/admin_manual/configuration_server/oc_server_tuning.rst +++ b/admin_manual/configuration_server/oc_server_tuning.rst @@ -36,6 +36,14 @@ configure ownCloud for MySQL or MariaDB. If your installation is already running SQLite then it is possible to convert to MySQL or MariaDB using the steps provided in :doc:`../configuration_database/db_conversion`. +Using Redis-based Transactional File Locking +-------------------------------------------- + +File locking is enabled by default, using the database locking backend. This +places a significant load on your database. See the section +:doc:`../configuration_files/files_locking_transactional` for how to +configure ownCloud to use Redis-based Transactional File Locking. + SSL / Encryption App --------------------