All Products
Search
Document Center

Alibaba Cloud SDK:Advanced settings

Last Updated:Jun 22, 2026

Alibaba Cloud SDK provides advanced settings for proxies, SSL authentication, timeouts, logging, and asynchronous calls. These settings help you optimize performance, strengthen security, and improve reliability in high-concurrency or network-restricted environments.

Proxy settings

Scenarios

  • Restricted network access: If your application runs in an environment that requires a proxy server to reach external networks, such as an enterprise intranet or a firewall-restricted network, you can configure a proxy to access Alibaba Cloud services.

  • Traffic monitoring: During development or testing, you can use a proxy to capture and analyze request traffic for troubleshooting.

Examples

  • An application deployed on an enterprise intranet uses an HTTP or HTTPS proxy to access Alibaba Cloud services.

  • Multiple applications in an enterprise share a proxy server that manages and routes requests to external services.

For more information, see Configure a proxy.

SSL authentication settings

Scenarios

  • Network security: Verify SSL certificates in HTTPS requests to ensure secure communication.

  • Disable authentication (not recommended): In some scenarios, such as environments that use self-signed certificates, you can temporarily disable SSL authentication.

Examples

  • By default, SSL authentication is enabled to secure communication between your application and Alibaba Cloud.

  • During development or debugging, you may need to disable SSL authentication to bypass certificate issues. Make sure that you re-enable SSL authentication in your production environment.

For more information, see Configure SSL authentication.

Timeout settings

Scenarios

  • Network stability: When network latency is high or server responses are slow, a proper timeout prevents requests from hanging indefinitely.

  • User experience: A proper timeout for user-facing applications prevents prolonged waits when a service is unavailable.

Examples

  • If the network connection drops while uploading large files to OSS, a proper timeout terminates the stalled request so the user can retry the upload.

  • For time-consuming API operations such as batch operations, a proper timeout prevents requests from waiting indefinitely.

For more information, see Configure a timeout period.

Log settings

Scenarios

  • Record request and response details to help troubleshoot API failures such as signature errors and missing parameters.

  • Analyze log data to monitor key metrics such as request duration and success rate, helping you identify performance issues.

Examples

  • If creating Elastic Compute Service (ECS) instances fails, you can check the logs to verify whether the HTTPS request signature is valid and whether parameters are correctly configured.

  • Identify performance bottlenecks by monitoring the duration of Object Storage Service (OSS) upload API operations.

For more information, see Configure a logger.

Asynchronous call settings

Scenarios

  • High concurrency: When you need to process many concurrent tasks, asynchronous operations can significantly improve throughput.

  • Non-blocking operations: For time-consuming operations, asynchronous calls keep the main thread responsive by running tasks without blocking.

Examples

  • When creating multiple ECS instances, you can send requests asynchronously to reduce total wait time.

  • When uploading a large number of files, you can use asynchronous operations to fully utilize the coroutine pool and increase throughput.

For more information, see Use the asynchronous calls feature.