For App Developers
For On-Demand plans, Redis has default configurations that App Developers can change using arbitrary parameters. These are listed in the table below:
||Sets the behavior Redis follows when `maxmemory` is reached|
||“”||Set a combination of the following characters (e.g., “Elg”): K, E, g, $, l, s, h, z, x, e, A||Sets the keyspace notifications for events that affect the Redis data set|
||10000||0-20000||Sets the threshhold execution time (seconds). Commands that exceed this execution time are added to the slowlog.|
||128||1-2024||Sets the length (count) of the slowlog queue.|
For Dedicated-VM and Shared-VM plans, Redis is configured with a
no-eviction. This policy means that the once memory is full, the service will not evict any keys and no write operations will be possible until memory becomes available.
Persistence is configured for both RDB and AOF. The default maximum number of connections, maxclients, is set at 10000 but this number is adjusted by Redis according to the number of file handles available.
Replication and event notification are not configured.
PCF Redis offers On-Demand, Dedicated-VM and Shared-VM plans. The memory allocated to the plans is determined by the operator at deploy time. For more information on the plans see the architecture and recommended usage pages.
Instructions for creating, binding to, and deleting an instance of the On-Demand, Dedicated-VM or Shared-VM plan are here.
PCF Dev is a small footprint version of PCF that’s small enough to run on a local developer machine. More info here https://pivotal.io/pcf-dev.
Sample ruby code that uses PCF can be found here https://github.com/pivotal-cf/cf-redis-example-app.
To learn more about Redis itself, visit redis.io.