Sha256: e973e1c0e1839fc914d3d4009ef9bc98c1ac45f954a33c4e9341892ddd8b2c91
Contents?: true
Size: 998 Bytes
Versions: 29
Compression:
Stored size: 998 Bytes
Contents
# Sets up memcached server and client as dalli # # !!!IMPORTANT!!! add the following lines inside your application.rb class: # # dalli_config = Rails.root.join('config','dalli.rb') # if File.exists?(dalli_config) # require dalli_config; include ::Rubber::Dalli::Config # end memcached_pid_file: /var/run/memcached.pid memcached_log_dir: /var/log/memcached memcached_port: 11211 # MB memory max to use for object storage in megabytes. # Accepts either a single value or a hash by instance size memcached_max_mem: micro: 64 # 613MB max small: 768 # 1.7GB max medium: 2048 # 3.7GB max large: 4096 # 7.5GB max xlarge: 10240 # 15GB max 2xlarge: 20480 # 30GB max 4xlarge: 51200 # 60GB max # Set size of each slab page in bytes, i.e. maximum item size # that memcached will accept. Recommended not to set above 1 MB # for performance reasons. memcached_max_slab_bytes: "#{1024*1024}" gems: [dalli] roles: memcached: packages: [memcached, libcache-memcached-perl]
Version data entries
29 entries across 29 versions & 1 rubygems