8.8 Distributed Storage Profile

The Distributed Storage profile enables you to access a distributed storage solution from APL without having to provide details about its type or implementation.

The use of the Distributed Storage profile and profiles for specific distributed storage types, such as Couchbase and Redis, makes it easy to change the database setup with a minimum of impact on the configured business logic. This simplifies the process of creating flexible real-time solutions with high availability and performance.

Note!

If you switch between selecting Couchbase and Redis, the Distributed Storage iterator functions differ. For Couchbase you use dsCreateKeyIterator, and for Redis you use dsCreateREKeyIterator. For further information, see 13. Distributed Storage Functions in the APL Reference Guide.


Distributed Storage profile concept

APL provides functions to read, store and remove data in one or multiple distributed storage instances within the same workflow. It also provides functions for transaction management and bulk processing.For information about which APL functions that are applicable for the Distributed Storage profile, see the APL Reference Guide.

In the current version, the Couchbase and Redis profiles are available for use with the Distributed Storage profile. For further information about these profiles, see 8.5 Couchbase Profile and 8.15 Redis Profile.

The Distributed Storage profile is loaded when you start a workflow that depends on it. Changes to the profile become effective when you restart the workflow.

Configuration

To create a new Distributed Storage profile configuration, click the New Configuration button in the upper left part in Desktop, and then select  Distributed Storage Profile  from the menu.

The contents of the menus in the menu bar may change depending on which configuration type that has been opened in the currently displayed tab. The Distributed Storage profile uses the standard menu items and buttons that are visible for all configurations, and these are described in 2.1 Menus and Buttons.

The Distributed Storage profile dialog


SettingDescription
Storage TypeSelect a storage type from the drop-down list.
ProfileSelect the storage profile that you want to apply.