In-Memory data store - BloomReach Experience - Open Source CMS

In-Memory data store

Introduction

By default Targeting and Request Log data are stored in an in-memory based data store.

NOTE: The in-memory store expires items after 30 minutes

Use Couchbase data store in production

In-memory store is for development purposes and for the convenience of developers only. In production environments we use Couchbase datastore to share visitor data across a cluster and to persist visitor data across visits.

Experiments and Trends don't support In-Memory data store

In-Memory data stores cannot be used to aggregate Requests data and store Visits data, therefore when using Experiments and/or Trends the In-Memory stores cannot be used even in a local development environment.

Configuration

For Request Log data store it is configured to keep track of Request Log entries up to a certain number entries. The default value is 100 Request Log entries. That helps limiting how much memory the Request Log data store uses to store Request Log entries for a each visitor.

The Request Log data store can be configured as follows:

/targeting:targeting/targeting:datastores/targeting:requestlog
- max.request.log.size = 100  // maximum number of requests to keep for a visit
- max.size = 100              // maximum number of visits to track

To configure the maximum number of visitors that can be tracked by an in-memory data store, change the following property to the value of choice:

/targeting:targeting/targeting:datastores/targeting:targetingdata
- max.size = 100              // maximum number of visits to track
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?