All Products
Search
Document Center

IoT Platform:Differences between the upgraded SDK and original SDK

Last Updated:Sep 13, 2023

The upgraded IoT Platform SDK is provided to resolve prevalent issues in the original SDK. This topic describes the differences between the upgraded SDK and original SDK.

Item

Original SDK

Upgraded SDK

Supported languages

Java, Python, PHP, .NET, and Go.

Java, Python, PHP, TypeScript in Node.js, Go, and .NET.

Sample codes

Fewer sample codes are provided.

For more information, see the demos of using IoT Platform SDK.

More sample codes are provided. IoT Platform provides more sample codes for calling API operations in various IoT scenarios.

For more information, see IoT Platform Sample Center.

The sample center is being continually improved. We also appreciate your contributions to this community. For more information about how to submit sample codes, see Submit Sample Code.

Performance

The performance of some SDKs, such as the SDK for .NET, degrades in high concurrency scenarios.

Asynchronous mode is supported. The SDK for .NET delivers better performance in high concurrency scenarios.

Experience consistency across cloud services

The API style, such as the resource-oriented architecture (ROA) or remote procedure call (RPC), varies with cloud services. As a result, the SDKs of cloud services differ in usage methods.

Upgraded SDKs of all cloud services are used in the same way, ensuring consistent experience.

Accessibility

The original SDK depends on the core library, and the installation is complicated.

SDKs for some languages no longer rely on the core library, making it more convenient to access IoT Platform by API operations.