Skip to content

memcache_hazelcast job from memcache/2

Github source: 0243a135 or master branch

Properties

domain

The domain of the application

memcache_hazelcast

debug

Set debug port and enable debug mode.

hazelcast

client_event_thread_count

Thread count for handling incoming event packets.

Default
5
event_thread_count

Number of event handler threads.

Default
5
executor_pool_size

The size of the executor pool to handle asyncronous requests. A value of zero will use the default of cores * 2.

Default
0
io_thread_count

Number of input and output threads.

Default
3
local_member_safe_timeout

Number of seconds to wait for local member to be safe before shutting it down.

Default
120
machines

The machines in this hazelcast cluster.

max_cache_size

The maximum amount of heap you wish to be reserved for cache entries. Once total cache size gets bigger than this then node will start LRU evicting a % from each cache. Should be less than heap_size.

Default
5.36870912e+08
minimum_cluster_members

Minimum number of cluster members this node can see to determine if this node is healthy in the cluster.

Default
1
operation_generic_thread_count

Number of generic operation handler threads. -1 means CPU core count x 2.

Default
-1
operation_thread_count

Number of partition based operation handler threads. -1 means CPU core count x 2.

Default
-1
partition_count

How many partitions exist in this cluster. Effects total cluster scalability.

Default
271
percent_to_trim

When max cache size is exceeded how much should be evicted from each cache.

Default
20
port

The port this server will listen on for memcache requests.

Default
5701
trim_delay

How often in seconds should the node check to see if max cache size is exceeded.

Default
10

heap_size

The amount of Heap the cache should be configured with.

Default
1G

host

password

The memcache rest endpoint password.

port

The http port the Memcache hazelcast service will listen for REST calls on

Default
8080
username

The memcache rest endpoint username.

Default
hazelcast-user

memcache

port

The port this server will listen on for memcache requests.

Default
11211
secret_key

The shared secret used for memcache authentication.

plans

The plans this server will support.

nats

machines

The list of hosts running NATS server.

password

The password used to connect to the NATS server.

port

The port used to connect to the NATS server.

user

The user used to connect to the NATS server.

networks

apps

Collector network information.

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/memcache_hazelcast/ directory (learn more).

  • bin/memcache_hazelcast (from memcache_hazelcast.erb)
  • config/config.yml (from config.yml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.