Redis for PCF v1.7

For App Developers

Redis Configuration

Redis is configured with a maxmemory-policy of 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.

Service Plans

PCF Redis offers 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.

Using Redis for PCF

Instructions for creating, binding to, and deleting an instance of the dedicated-VM or shared-VM plan are here.

Getting Started

Using PCF Redis with Spring

Spring Cloud Connectors can connect to PCF Redis. Spring Cloud Cloud Foundry connectors will automatically connect to PCF Redis.


PCF Dev is a small footprint version of PCF that’s small enough to run on a local developer machine. More info here

Redis Example App

Sample ruby code that uses PCF can be found here


To learn more about Redis itself, visit

Create a pull request or raise an issue on the source for this page in GitHub