Concept of pre –
1. Mid-long tail applications
Long tail apps are those that have little or no traffic for most of the day.
2. Load balancing service
The load balancing service distributes traffic evenly to application machines.
3. Reverse proxy
The reverse proxy resolves the domain name information from the request and forwards the request to the upstream listening address. Common examples are: Nginx.
Serverless
What is the
Serverless
= Server
+ less
Server
Server, yesServerless
Resolving the boundaries of the problem;less
Less care, yesServerless
The purpose of solving the problem.
Serverless “care less about the server side”.
1. Server
The service side
MVC
The architecture of theWeb
application
Developer icon | Internet User Icon |
---|---|
Modern R&D system is mainly divided into front-end and back-end:
- The front end is responsible for the customer terminal experience, i.e
View
Layer; - The back end is responsible for the business logic and data processing of the business, i.e
Control
Layer and theModal
Layer.
Serverless the frontier of problem solving is the frontier of the server side, namely the server-side operation and maintenance, which is responsible for the online operation and maintenance of applications or code.
2. less
Less concerned about
Serverfull
vs. Serverless
concept | describe |
---|---|
Serverfull |
We are responsible for the operation and maintenance of the server. |
Serverless |
We are less responsible for the service side operation and maintenance, and most of the operation and maintenance work is handed over to usAutomation toolBe responsible for. |
Serverless is an extreme abstraction of an o&M system that provides a minimalist model for application development and deployment. This highly abstract model allows a person with zero operational experience to deploy and service a Web application online in a matter of minutes.
3. Serverless
The server is o&M free
Server defines the boundary of Serverless to solve problems, that is, the Server is free of operation and maintenance; Less describes the problem solving purpose of Serverless, which is to avoid operating and maintaining NoOps.
Serverless: The server does not need o&M.
-
Serverless = Serverless Computing architecture = FaaS architecture = Trigger (event-driven) + FaaS (function-as-a-service) + BaaS (back-end as-a-service, persistent or third-party services) = FaaS + BaaS
FaaS
:Function as a Service
或Service Computing
, functions as services;BaaS
:Backend as a Service
, back-end as a service;XaaS
:X as a Service
.X
As a service. Such as:SaaS
,PaaS
,IaaS
And so on.
The narrow sense
Serverless
=Serverless Computing
Architecture =Trigger
+FaaS
+BaaS
-
The generalized
Serverless
= Server o&M free = YesServerless
Feature cloud services- Users do not need to care about the service side (fault tolerance, DISASTER recovery, security verification, automatic capacity expansion, log debugging, etc.).
- Pay by usage (number of calls, duration, etc.), low cost and high performance in parallel, saving in most scenarios;
- Fast iteration and trial-and-error ability (multi-version control, gray scale, etc.).
MVC
The architecture of theWeb
application
Trigger + FaaS improved |
BaaS + View + FaaS refactoring |
---|---|