Open topic with navigation

# Process Multiple Requests Simultaneously

HPE Media Server can process multiple requests simultaneously.

This means that if required, you can process multiple media sources concurrently. You can configure HPE Media Server to do this to increase throughput (the total amount of media processed in a fixed time), or so that you can process several live video streams at the same time.

## Process Asynchronous Requests Simultaneously

The way in which HPE Media Server handles asynchronous actions is defined in the `[Actions]` section of the configuration file.

To configure the number of requests to process concurrently from each action queue, set the configuration parameter `MaximumThreads`. For example, to configure HPE Media Server to simultaneously process up to two requests from each action queue set this parameter as follows:

    [Actions]
    MaximumThreads=2

You can override the value of `MaximumThreads` for specific actions by setting the parameter in the `[ActionName]` section of the configuration file (where `ActionName` is the name of the action). For example, if most of the requests received by your HPE Media Server are for the `Process` action, you could increase the number of `Process` actions that run simultaneously by setting the `MaximumThreads` parameter in the `[Process]` section.

In the following example, HPE Media Server runs up to four `Process` actions simultaneously, but for other asynchronous actions runs only one request at a time:

    [Actions]
    MaximumThreads=1

    [Process]
    MaximumThreads=4

NOTE:

The `MaximumThreads` parameter specifies the number of actions that run simultaneously, not the number of threads that are used. For example, the number of threads required to run a `Process` action depends on the analysis, encoding, and other tasks that are configured.

## Process Synchronous Requests Simultaneously

To configure the number of synchronous requests to process simultaneously, set the `Threads` parameter in the `[Server]` section of the configuration file. In the following example, HPE Media Server can process a total of eight synchronous requests simultaneously:

    [Server]
    Threads=8

NOTE:

HPE recommends that you only run `Process` actions synchronously if you expect them to complete within a few seconds.

© 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