All Products
Search
Document Center

Alibaba Cloud SDK:Advanced settings

Last Updated:Jun 17, 2026

Alibaba Cloud SDK provides advanced settings for HTTPS requests, proxies, timeouts, and retries. You can use these settings to improve performance, security, and reliability in high-concurrency or restricted network environments.

HTTPS request settings

Scenarios

  • Data security: HTTPS encrypts data transmission over SSL/TLS to prevent eavesdropping and tampering, ensuring data integrity.

  • Compliance requirements: Industries such as finance and healthcare enforce strict data transmission security standards that require HTTPS.

Examples

  • An application retrieves sensitive data, such as billing information or user privacy data, by calling Alibaba Cloud API operations.

  • An application must comply with the General Data Protection Regulation (GDPR) or other data protection regulations.

For more information, see Configure HTTPS and TLS settings in the SDK.

Proxy settings

Scenarios

  • Restricted network access: If your application runs behind a proxy server, such as in an enterprise internal network or a firewall-controlled environment, you can configure a proxy to access external services.

  • Traffic monitoring: During development and debugging, you can use a proxy to capture and analyze requests.

Examples

  • An application deployed in an enterprise internal network 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.

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 waiting when a service is unavailable.

Examples

  • If the network connection is interrupted when a user uploads large files to OSS, a proper timeout terminates the request promptly and allows the user to retry the upload.

  • A proper timeout for long-running API operations, such as batch operations, prevents indefinite waiting.

For more information, see Configure a timeout period.

Retry settings

Scenarios

  • Network jitter: Requests may fail in an unstable network. A retry mechanism automatically resends failed requests to increase the success rate.

  • Temporary service unavailability: If an Alibaba Cloud service becomes temporarily unavailable, a retry mechanism helps your application recover automatically.

Examples

If your application encounters intermittent network issues when calling an Alibaba Cloud service, you can configure the retry count and retry interval to increase the request success rate.

For more information, see Configure a retry mechanism.