Open topic with navigation

# Store Action Queues in Memory

HPE Connector Framework Server provides asynchronous actions. Each asynchronous action has a queue to store requests until threads become available to process them. These queues are usually stored in a datastore file or in an external database hosted on a database server. However, to increase performance you can store these queues in memory.

NOTE:

Storing action queues in memory means that the queues (including queued actions and the results of finished actions) are lost if HPE Connector Framework Server stops unexpectedly, for example due to a power failure. This could result in some requests being lost, and if the queues are restored to a previous state some actions could run more than once.

NOTE:

Storing queues in memory will increase memory use. The amount of memory required depends on the size of the queues. Ensure that the server has sufficient memory.

NOTE:

You can not store action queues in memory if you want multiple components to share the same queues.

If you stop HPE Connector Framework Server cleanly, HPE Connector Framework Server writes the action queues from memory to disk so that it can resume processing when it is next started.

To configure HPE Connector Framework Server to store asynchronous action queues in memory, follow these steps.

To store action queues in memory

1. Stop HPE Connector Framework Server, if it is running.
2. Open the HPE Connector Framework Server configuration file and find the `[Actions]` section.

3. If you have set any of the following parameters, remove them:

   - `AsyncStoreLibraryDirectory`
   - `AsyncStoreLibraryName`
   - `ConnectionString`
   - `UseStringentDatastore`

4. Set the following configuration parameters.

   `UseInMemoryDatastore` | A Boolean value that specifies whether to keep the queues for asynchronous actions in memory. Set this parameter to `TRUE`.
   `InMemoryDatastoreBackupIntervalMins` | (Optional) The time interval (in minutes) at which the action queues are written to disk. Writing the queues to disk can reduce the number of queued actions that would be lost if HPE Connector Framework Server stops unexpectedly, but configuring a frequent backup will increase the load on the datastore and might reduce performance.

   For example:

       [Actions]
       UseInMemoryDatastore=TRUE
       InMemoryDatastoreBackupIntervalMins=30

5. Save and close the configuration file.

   When you start HPE Connector Framework Server, it stores action queues in memory.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm