Configuring Horizon caching with memcached

To better address large-scale environments while using the Horizon dashboard service, with a large amount of users, it is recommended to configure a caching layer in front of the dashboard. This reduces the amount of calls httpd needs to address and allows Horizon dashboard to serve a larger amount of users.

Getting started

In this recipe, we will configure Horizon to use a memcached caching service. We will need to install and configure the memcached service first.

Install the memcached service with dependent packages:

[root@controller ~]# yum install -y memcached memcached-selinux

Edit the memcached configuration file:

[root@controller ~]# vi /etc/sysconfig/memcached

Make sure that the following settings ...

Get Production Ready OpenStack - Recipes for Successful Environments now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.