diff --git a/admin_manual/configuration/performance_tips.rst b/admin_manual/configuration/performance_tips.rst new file mode 100644 index 000000000..5f70c35eb --- /dev/null +++ b/admin_manual/configuration/performance_tips.rst @@ -0,0 +1,43 @@ +Performance Tips +================ + +The performance of ownCloud, like any `LAMP application `_, +is dependent on all components of the stack. +Maximizing performance can be achieved by optimizing the operations and interactions +of the underlying network, hardware, operating systems, webservers, databases, and storage. + +This guide cannot cover all possible configurations and will instead +cover tips that are specific to ownCloud or give the greatest benefit. + +SSL / Encryption App +-------------------- + +SSL (HTTPS) and file encryption/decryption can be offloaded to a processor's AES-NI extension. +This can both speed up these operations while lowering processing overhead. +This requires a processor with the `AES-NI instruction set `_. + +OPcache Extension +----------------- + +OPcache improves PHP performance by storing precompiled script bytecode in shared memory, +thereby removing the need for PHP to load and parse scripts on each request. +This extension is bundled with PHP 5.5.0 and later, and is available in PECL for PHP versions 5.2, 5.3, and 5.4. + +Object Caching +-------------- + +ownCloud is written to take advantage of object caching. +Object caching can be done locally with the APCu extension, +or for distributed PHP environments using Memcached. +Memcached servers must be specified in the "memcached_servers" array in ownCloud's config file. + +`Serving static files via web server `_ +----------------------------------- + +`Using cron to perform background jobs `_ +------------------------------------- + +`Using MySQL instead of SQLite `_ +----------------------------- + +MySQL or MariaDB should be preferred because of the `performance limitations of SQLite with highly concurrent applications `_, like ownCloud.