advance-tuning async-threading

Configures threading configuration for HTTP outgoing request from PCF.

Command Mode

Exec > Global Configuration

Syntax

advance-tuning async-threading { default-drop-oldest-when-full { false | true } | default-priority default_priority | default-processing-threads processing_thread_number | default-queue-size default_queue_size | default-worker-threads default_number_worker_threads | request-timeout-ms request_timeout | thread-configuration service_name drop-oldest-when-full { false | true } | priority thread_priority | queue-size queue_size | threads thread_number} 

default-drop-oldest-when-full { false | true}

Specify to drop the oldest packet when queue is full.

Must be one of the following:

  • false

  • true

Default Value: false.

default-priority default_priority

Specify the default priority of thread.

Must be an integer.

Default Value: 5.

default-processing-threads processing_thread_number

Specify the default number of processing threads.

Must be an integer.

Default Value: 10.

default-queue-size default_queue_size

Specify the default size of the queue.

Must be an integer.

Default Value: 100.

default-worker-threads default_number_worker_threads

Specify the default number of worker threads.

Must be an integer.

Default Value: 20.

http2-connect-timeout-ms http2_connect_timeout

Specify the request timeout period in milliseconds.

Must be an integer.

Default Value: 100.

http2-idle-connection-timeout-sec http2_client_idle_connect_timeout

Specify the idle connection timeout for HTTP2 client.

Must be an integer.

Default Value: 60.

max-timeouts-to-reconnect max_requests_timeouts

Specify the maximum request timeouts to reconnect HTTP2 connection.

Must be an integer.

Default Value: 0.

Usage Guidelines

Use this command to configure threading configuration for HTTP outgoing request from PCF.

Example

The following command configures the threading configuration for HTTP outgoing request from PCF with default priority of 5:
advance-tuning async-threading default-priority 5