Using caching with applications

You can improve performance and scalability of IBM Bluemix PaaS applications by using caching.

Using the Compose for Redis service to store application data

Compose for Redis supports distributed caching scenarios for web and mobile applications Compose for Redis  is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, and geospatial indexes with radius queries. It provides near linear scalability, predictable performance, and fault-tolerance through replication. It supports set, get, delete, and more operations on entries in a cache through multiple programming language SDKs.

Using the Session Cache service to store and persist HTTP session objects

The IBM Bluemix Session Cache service provides a distributed session cache for HTTP sessions. No code changes are required for applications that use J2EE standard HTTP sessions. Session data is replicated to provide fault-tolerance and persistence of session data. The Session Cache is a singleton service; only one Session Cache instance should be bound to an application.

Related links

Getting started with Compose for Redis

Redis introduction

Session cache overview