Tencent Cloud upgrades five advantages to support applet development
As early as the internal testing stage of WeChat applets, Tencent Cloud launched an exclusive applet solution for the internal testing version, and released related scenarios Demo. Xu Hualong said that Tencent Cloud's upgraded one-stop solution not only provides developers with basic network storage and acceleration services such as COS and CDN, but also provides full-stack basic resources of channel and session services, as well as one-click cloud deployment capabilities such as domain name application filing, background architecture, resource procurement, resource deployment, scalability and security.
1. One-stop building cloud resources
The existing SDK and DEMO of applets lack support for the cloud, and rely on developers to build cloud services module by module, which is a tedious process; And the communication with the server must be completed through HTTPS, and it is inefficient to rely on the developer to complete the certificate application and deployment. Tencent Cloud applet solution can support one-click automatic domain name registration and resolution and cloud resource allocation initialization, quickly build a dedicated applet with cloud capability, and improve the efficiency of applet development.
2. Flexible configuration of elastic scaling
In view of the possible traffic surge caused by the spread of WeChat applet, the elastic scaling ability provided by Tencent Cloud WeChat applet solution supports automatic expansion at a specific time or when the CPU/ memory reaches a certain threshold, and then automatically shrinks the capacity, thus easily coping with high concurrency.
3. Matching to solve the interface problem
Applet provides the client API of WebSocket long connection communication, but it lacks the supporting of the server, so it is difficult for developers to realize it by themselves. Tencent Cloud uses its own basic services with Socket.IO image to help developers build a long connection server supporting WebSocket protocol, so that developers can realize WebSocket long connection communication more efficiently and quickly.
4. Simple security escort deployment
Domain names and protocols that do not meet the requirements in WeChat applets cannot be requested, and all network requests must follow the Https protocol. Tencent Cloud provides free Https certificate service, which is matched with Tencent Cloud Mobile Resolution Service (HttpDNS) to help developers easily solve the certificate deployment problem. In view of the characteristics of high authentication security required by small programs, Tencent Cloud provides a complete authentication session management service to ensure account security and improve the efficiency of small program development. In addition, Tencent Cloud is also equipped with multiple security protection systems such as BGP high defense, intelligent domain name resolution and anti-hijacking.
5. High-speed interconnection of intranet communication
Tencent Cloud uses a dedicated BGP link for WeChat applet interface, and communicates through Tencent intranet, thus realizing seamless connection between cloud and WeChat platform, and ensuring high-speed interconnection of user cloud data and interface data.
According to reports, Tencent Cloud applet solutions will continue to be upgraded, reducing the development cost and maintenance difficulty of applets through richer scenarios and more optimized technical capabilities. "Tencent Cloud will work with WeChat to provide more support capabilities in the applet ecosystem and work with developers to enrich and improve the applet ecosystem."