Optional: Configuring system data persistence

Configure Decision Server Insights to write data to a backend database either synchronously (write-through), or asynchronously (write-behind). By default, it holds all the data in memory, and does not write data to persistent storage.

Before you begin

Before you configure persistence, you must consider how important your data is, and whether you want changes to system data to be synchronized with the database. You must also consider how often changes are likely to occur to system data, and the effect that persistence can have on system performance.

The performance of a system that is enabled to persist data can be greatly improved by using the eventCacheDuration property. This property can be used to evict events from memory and restore them from the database when they are needed. Your decision to persist data in a database is not only a question of disaster recovery. You can configure database persistence on a production server and tune the system to handle higher loads and improve performance.