Using the Memcached Add-in

Memcached is an open source, high-performance, distributed memory object caching system, and it’s easy to add to your application as an add-in.

The Memcached add-in is designed for use with Classic Rails and CSV1 (container stack, V1) stacks.
Newer CSV2 stacks should implement Memcached as a service

Add Memcached

To add Memcached to your application:

  1. Open the Application Overview from the Dashboard.
  2. Click Explore Add-ins or the green + in the Add-ins panel
  3. Click on Install Now under Memcached
  4. A panel will slide out from the left with options. Configure as needed and then click Add Server to continue.

You can now watch the logs, as usual to see the progress of the process.

Customize Memcached

To customize Memcached, use the below syntax in your manifest file and redeploy the application with Apply security upgrades option.

        shared_group: db
            memory: 1024
            port: 11215

Check Memcached

You can find the details about Memcached under your Settings & Information, Information tab. Since having Memcached as a separate server will not improve performance, Cloud66 will install it on each web server, not as a standalone server.