HTTPDNS open source Android SDK, empowering more developers to participate in joint construction

In order to empower more developers to participate in the joint construction, Alibaba Cloud HTTPDNS open source Android SDK, iOS SDK is also preparing for open source, and will soon be open to developers. HTTPDNS is a domain name resolution service provided by the Alibaba Cloud Mobile R&D platform for multi-terminal applications (mobile terminal APP, PC client application). It has the characteristics of domain name anti-hijacking, precise scheduling, and real-time resolution.

Open source introduction

Based on the original HTTP interface, HTTPDNS Android SDK provides the following functional packages and extensions for client applications in terms of ease of use, reliability, and cost:

1. Regularly update the service IP. As the application environment changes and the server is updated, the service IP is updated regularly to ensure the availability of the HTTPDNS function and avoid the loss of users' business due to some network attacks.
2. IP preferred. After analyzing the IP, measure the service connection speed through the Socket connection, and give the user the fastest IP first.
3. IP resolution strategy optimization, through the local storage of the analysis results, provide pre-analysis and IP expired, re-analysis options when the network changes, reduce the probability that users can not obtain the analysis results, and improve the accuracy of IP.
4. Downgrade the self-check function. In some extreme network situations, when the HTTPDNS service is unavailable, downgrade to sniffing mode, reducing the frequency of user requests, reducing network request consumption, and automatically recovering after the network becomes better. When the service is unavailable, use the initial IP, update the service IP, and switch to the available service IP in time.

The HTTPDNS launched by the Alibaba Cloud Mobile R&D platform team not only solves the problem of the accuracy of traditional domain name hijacking, but also provides developers with a more flexible DNS management method. By properly applying HTTPDNS management policies on the client side, we can even achieve zero delay in DNS resolution, greatly improving the efficiency of network communication in a weak network environment. For developers who use the HTTPDNS API interface, you can customize the more efficient HTTPDNS management logic on the client side and meet your needs.

Participate in co-construction

Now the mobile R&D platform team has open sourced the HTTPDNS Android SDK, so that developers can see how it is implemented and use the SDK to develop services running locally or on other clouds. In the future, as the HTTPDNS version is updated, more content will be open sourced one after another, enabling more developers to participate in the joint construction.

Currently the code is officially open on GitHub:
GitHub address: https://github.com/aliyun/alibabacloud-httpdns-android-sdk

Guess you like

Origin blog.51cto.com/14989488/2549258