There are currently three mainstream ways to deploy websites:
1.Virtual space
2.Cloud server
3.Serverless
Virtual Host
It is to divide a certain amount of disk space on the server for users to place sites, application components, etc., and provide necessary site functions, data storage and transmission functions.
Virtual space is cost-sharing among multiple users. The price is much lower than that of the server. It is maintained by the space provider and is easy to use.
shortcoming:
- Not flexible enough
- Only simple deployment of a single project
- The website space is more restricted, sharing a server with other users, and relatively few available resources
- Traditional architecture: php + mysql + apache/nginx
Suitable:
- Newbie
- Personal webmaster
- Small business website
Cloud Server
Independent system, the cost of renting or purchasing is high, and the maintenance is relatively complicated and professional. The server has abundant resources such as CPU, hard disk, memory, traffic, etc., and high performance configuration
shortcoming:
- Need professional operation and maintenance personnel
Suitable:
- Complex projects
- Large portal
- Large companies with high requirements for websites
Serverless
A serverless cloud computing technology that has been newly launched in the past few years. Pays based on usage. For webmasters, there is no need to operate and maintain servers once deployed. Cloud vendors will automatically scale according to load.
shortcoming:
- Difficult to monitor and debug
- Cold start time
- Lack of debugging and development tools
- Need to master modern development technology and related deployment processes
Suitable:
- Asynchronous concurrency, components can be deployed and expanded independently
- Responding to sudden or unpredictable service usage (mainly to save costs, because Serverless applications do not charge when they are not running)
- Short-term, stateless applications, not sensitive to cold start time
- Iterative business needs to be developed quickly (because there is no need to apply for resources in advance, it can speed up the speed of business launch)
Post comment 取消回复