store_http_write_retry_interval

The 'store_http_write_retry_interval' directive sets the interval for retries when writing HTTP data in the Kaltura Media Framework.

Syntaxstore_http_write_retry_interval interval;
Defaultnone
Context
Arguments1

Description

The 'store_http_write_retry_interval' directive is utilized within the Kaltura Media Framework to define the time interval between consecutive write attempts when sending HTTP data. This directive is particularly useful in scenarios where network issues or temporary failures prevent successful data transmission to a media storage service or other endpoints.

This directive requires a single argument that specifies the interval in milliseconds. If the data write operation fails, NGINX will wait for the specified interval before attempting to send the data again. By managing the retry intervals, it helps maintain efficient resource utilization and can improve the overall reliability of the media streaming process.

The value set for this directive should be chosen based on the expected reliability of the network and the performance characteristics of the media components. A shorter interval may improve latency but could increase the load on the server in the event of a persistent failure, while a longer interval would reduce load but might enhance the time taken to recover from failures. Lacking this configuration might lead to unwanted latency or resource exhaustion under stress conditions.

Config Example

store_http_write_retry_interval 200;

Specifying a very short interval can lead to excessive load due to rapid retry attempts.

Ensure the value is appropriate for the specific network conditions and media workflows; too long of an interval may cause delays in processing.

This directive is specific to Kaltura and not applicable to standard NGINX configurations.

← Back to all directives