This article has participated in the call for good writing activities, click to view: back end, big front end double track submission, 20,000 yuan prize pool waiting for you to challenge!
preface
A few days ago, BY chance, I listened to the sharing of Serverless implementation practice by some great leaders of Internet leading companies at the GMTC Summit through online live broadcast. Not only did I gain a lot, but at least I got rid of my previous superficial cognition of Servlerless concept level. Later, I had a general understanding of SCF of Tencent Cloud, and suddenly I had a very unique idea: Is Serverless really the future development direction of cloud computing as Daishen said? My current contact with Servless is not very deep, and my opinion may be one-sided or even subjective. The following is purely my personal opinion: the right case is a good solution, otherwise it may be poison.
What exactly is Serverless?
Serverless= Serverless + Serverless= Serverless + Serverless Here no server is not really no server, just do not need to have their own operation of the server. To facilitate understanding, here is a brief description of the development of servers, from the beginning of physical machine deployment, to VM, Docker container, cloud computing, and now Serverless
The concept of cloud native with the K8S surge, cloud hosting, cloud services, Xaas concept is also quite hot. From the perspective of IAAS, PAAS and SAAS, the three structural layers of cloud computing, the essence of which is the continuous integration of hardware, basic components and middleware, seems to be missing the cloud of the last business layer, so Serverless suddenly emerges and takes the leading role. What is Serverless? The more widely accepted explanation in the industry is a combination of Faas and Baas. Faas cloud function provides logic processing, while Baas cloud background provides data & file storage, message push and other middleware services, which is like a cloud micro-service after combination. Serverless for its finer granularity, cheaper and more convenient, on-demand service is widely respected by major cloud computing vendors!
What exactly does Serverless bring to the table?
1. Developers no longer need to care about the underlying server resources and o&M
2. Quickly set up services to go online, use resources as needed, and reduce server costs
3. Improve the efficiency of front-end and back-end collaboration
Do and when do we really need Serverless?
The purpose of reducing cost and improving efficiency, the process of development comes naturally, seems to indicate that Serverless will prevail. Indeed for individual developers or smaller startups, lacking the support of a strong financial strength and early new business model of market expectations of unclear, rushed into a large amount of server resources and operational costs, may well become a camel’s the last straw, lead to products in the dark before dawn. With the support of Serverless, applications can be built quickly and the amount of traffic can be paid. The company no longer needs to invest high server costs to help the technology cooperate with the business in rapid iteration and trial and error, so as to speed up the opportunity to seize the market. Finally, the dawn has dawned and the product has entered the period of rapid growth. The following products of various formats, operation modes emerge in endlessly, business complexity of geometric level rise. Serverless’s function cloud feature, at least at present, is not friendly to back-end engineering, especially the overall architecture design. It is easy to form a smokestack code structure, which will give subsequent optimization and iteration a hole if it is careless.
In addition, currently Serverless has a fatal problem, that is, there is no unified industry standard. Major manufacturers are making efforts to provide faster loading, cover more languages, provide more convenient SDKS and so on to quickly capture users and expand market share. There is nothing wrong with saying business, but in some ways it raises the barrier of compatibility and makes it harder to form a unified standard. Once the Serverless service of manufacturer A is used, the service of manufacturer B cannot be used losslessly due to the inconsistent standards. Besides, the internal operation of Serverless cloud function does not allow related external network operations for security reasons. And to reach a certain size of the company, a variety of cloud mixing is very common, no matter from the economy or from the safety of the consideration will not be tied to their own strong ship, a loss is unacceptable.
Write in the last
The above is purely personal views, Serverless as an emerging concept, along with the popularity and development of cloud computing, must have a promising future!