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 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 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 to the Distributed Storage profile, see the /wiki/spaces/MD82/pages/3781270.
In the current version of, the Couchbase Profile and Redis Profile.
profiles are available for use with the . For further information about these profiles, seeThe 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 of in Build View, and then select from the menu.
The contents of the menus in the menu bar may change depending on which configuration type 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 Build View.
Setting | Description |
---|---|
Storage Type | Select a storage type from the drop-down list. |
Profile | Select the storage profile that you want to apply. |