input_bufs_size

The `input_bufs_size` directive configures the size of input buffers used by the Kaltura Media Framework for processing media requests in NGINX.

Syntaxinput_bufs_size size;
Defaultnone
Context
Arguments1

Description

The input_bufs_size directive specifies the amount of memory allocated for input buffers in the Kaltura Media Framework Common NGINX Module. This directive is essential for handling media requests efficiently, especially when large volumes of data are being processed. By tuning the buffer size, you can control memory usage and improve the performance of media streaming and processing operations.

Setting this directive involves specifying the size in bytes, kilobytes, or megabytes, allowing for flexibility based on the expected data load. A larger buffer size may reduce the number of read operations and improve overall throughput, but it can also lead to higher memory consumption. Conversely, a smaller size can lower memory usage but might increase the frequency of read operations, potentially affecting performance negatively under heavy load conditions. Therefore, finding the right balance is crucial for optimal performance.

The configuration change takes effect in real time once reloaded, and it is often best to monitor server performance and resource usage after adjusting this parameter to ensure it meets the desired operational standards.

Config Example

input_bufs_size 128k;

Using a buffer size that is too small may lead to performance degradation under high load.

Increasing the buffer size significantly could lead to excessive memory usage, especially on a heavily loaded server.

Changing this directive requires careful testing to balance input performance with memory constraints.

← Back to all directives