Feeling since the mobile Internet is coming, the industry has been in solving the “weak under the network environment of the network connection quality”, “how to ensure long links open”, “how to solve the mobile wap gateway”, “how to differences between the different versions of the web API for different platforms adapted”, “how to make full use of network bandwidth, and so on” only under the mobile network problems, When the mobile Internet began, the plugged Internet was already stable.
Until there are already so many super App, there are many start-ups have not do the App, mobile Internet network problem is often mentioned, there has been no general solution, each all say do optimization, get the SDK to a try on their own projects, this is the case, the mobile Internet network of too many, 2 g, 3 g, 4G, WiFi, and the three operators have their own standards and hidden rules, so China is much more difficult than other countries. For example, have you heard of X-online-host? If you have, you are very old 🙂
WeChat recently open a lot of components, such as Tinker “WeChat – Tinker hot update plan, such as libco (a background coroutines solution), there is a solution to ensure consistency, coupled with this, there should be four, and should be a level of user authentication, blended silently read one sentence.
Mars is simply a network library, which is cross-platform (cross-platform means that it can run on Windows, MAC, iOS, Android and WP at the same time). Although “simple”, it is by no means simple. This library provides all aspects of the network, including log, socket, long connection, short connection, Network diagnosis, network connectivity and so on, it should be said that as long as you develop a network application, it should be enough, and wechat itself also use this set, this is a good endorsement.
The product manager can understand that when you make any product in the future, programmers will no longer have to worry about network problems. All kinds of connection failure, long connection without heartbeat, and network timeout should be well solved.
These open source projects of wechat should be the hottest issues under the mobile Internet. I think the open source projects of these projects and some open source projects of Facebook are world-class.
For example, the word “pull” is an abstraction or a component. Its main function is “pull”, and “bullshit”, “bullshit”, “bullshit”, are concrete business. In fact, wechat Mars is to complete this abstraction, simply do a network library.
Remember, this component is called Mars and is dedicated to solving network problems.
These days, I have been busy uploading all kinds of information to increase sesame credit points, when I will quickly upload all kinds of information, like a bolt from the blue, the campus circle was closed, somebody else’s pants are off, good……
When it comes to values, which is more serious, the circle event or the mooncake painting event?