当前位置:网站首页>Comparison and evaluation of code on cloud - devcloud
Comparison and evaluation of code on cloud - devcloud
2022-06-09 11:19:00 【Hua Weiyun】
1 Preface
This article is mainly through the study of Huawei “ One line of code second cloud application development training camp ” Theoretical knowledge and cloud operation practice in the course , Understand Huawei software development platform DevCloud, Then compare the code to use DevCloud Cloud and original non cloud operations , Description in project creation 、 code 、 compile 、 The similarities and differences of deployment and other steps .
Before the clouds , There are two main ways to deploy the code from development to online deployment , The first is that the whole process is made by hand ; The second one is divided into two stages , The first stage is compilation, packaging and before , It is completely handmade , The latter uses automated script .
2 Overall process comparison
The following table shows , For pure manual 、 manual + Tools to automate deployment and cloud code 、 Development machine requirements 、 Server requirements 、 Development convenience, etc .
The way Contrast item | By hand | manual + Automated Deployment | Code on the cloud |
Tools | Development : Use different development tools according to the language , Such as Eclipse、VSCode、pycharm、 Database tools, etc ; | Development : It is the same as pure manual ; | browser (DevCloud: Huawei cloud account is required ) |
Development machine requirements | According to the differences of development projects , There needs to be a corresponding CPU、 Memory 、 Storage and other requirements | It is the same as pure manual | You can use the browser |
Server requirements | Deploy the application server , According to the single machine 、 double-click 、 Distributed and other specific methods , The number of servers varies . | Except for the content that is different from the pure manual method , It also needs to be used for deployment “ Automated services ” Machine , According to their own requirements ,1 To n The machines are unequal . | In addition to the machines required by the pure manual method , You also need a server for storing the contents of the compile run package , Usually 1 It's enough . |
Development convenience | Generally, a single development tool is enough , Development 、 compile 、 debugging 、 Modify the source code | It is the same as pure manual | Jump to multiple function pages , More complicated |
compile | Development tools or plug-ins have built-in compilers , One click compilation | It is the same as manual work or compilation tools , Such as java Of ant | According to the language 、 The application type , Customize the compilation process and script in a visual way . And you need to confirm the path of the stored server . |
Upload the running package | Upload according to application type | Upload to the intermediate server , Then automatically distribute .( Configure related servers in advance ) | According to the language 、 The application type , Customize the deployment process and scripts in a visual way . |
Time consuming | Development : normal | Development : normal | Development : tedious |
3 summary
From the perspective of comparison , By hand 、 manual + Automated Deployment and code cloud deployment have their own advantages and disadvantages , Through the overall evaluation , The main conclusions are as follows , You can choose according to different projects and deployment methods :
1. Purely manual and manual + Automated Deployment Development is more convenient , Can be very simple to code 、 debugging 、 Modify the code, etc , and Code on the cloud The operation is relatively complicated ;
2. Pure handmade and handmade + Automated Deployment The requirements for development machines are relatively high , Code on the cloud The tools that need to be prepared are simple , Usually you just need a browser ;
3. From the perspective of the servers required for deployment , Pure manual requires the least resources , Code on the cloud second , manual + Automated Deployment A lot of additional resources may be added ;
4. manual + Automated Deployment And code cloud is very convenient for uploading and running packages , Just prepare the content according to the rules .
边栏推荐
- Course design of network sniffer design based on C language
- Go zero micro Service Practice Series (II. Service splitting)
- MOS tube from entry to mastery
- 面试题快速排序 递归和非递归实现
- 最新Camtasia 2022免费版电脑录屏工具
- Tamidog knowledge - Interpretation of the new regulations on non-public agreement transfer of state-owned property rights in 2022!
- Object instantiation and access
- 6% equity transfer of Fujian tulougou Cultural Tourism Development Co., Ltd., shared by tamigou
- 4.【素短语,最左素短语】
- 软件那些事
猜你喜欢

使用 KubeKey 搭建 Kubernetes/KubeSphere 环境的“心路(累)历程“

MKS H3615NS 直流电机驱动 使用说明书

企评家用杜邦分析法剖析:华东建筑集团股份有限公司企业财务状况

MySQL learning notes - Chapter 5 - data backup and recovery, MySQL logs

NFT market has entered the era of aggregation, and okaleido has become the first aggregation platform on BNB chain

Daily question -1232 Dotted line

福建土楼沟文化旅游开发有限公司6%股权转让,来自塔米狗分享

自己建设网站需要做哪些准备

計網 | OSI模型中各層單比特

Tencent, Shanghai Jiao Tong and Zhejiang University proposed pyramid clip to align the semantic within the hierarchy and cross hierarchy relationship. The zero shot effect is better than clip
随机推荐
每日一题-1200. 最小绝对差
From "no one cares" to comprehensive competition, the first 10 years of domestic industrial control safety
EasyRecovery15免费版本数据恢复软件
Openkruise v1.2: add persistentpodstate to realize stateful pod topology fixation and IP reuse
自己建设网站需要做哪些准备
jvm内存溢出练习记录
How to realize face verification quickly and accurately?
用80%的工时拿100%的薪水,英国正式开启“四天工作制”试验!
Protobuf介绍以及简单使用
計網 | OSI模型中各層單比特
Quartz multiple schedulers + thread pool mode to schedule tasks separately
这6种开源协议(GPL,LGPL,BSD,MIT,Apache)
C# 图片验证码简单例子
啥是腾讯PBD ,看我给讲讲
米尔嵌入式CPU模组亮相工业控制技术研讨会
对象的实例化和访问
【mysql进阶】利用执行计划explain优化sql(二)
Amazing SQL query experience, group by slow query optimization!
float-float 模拟CPU和GPU上double双精度计算
Forty five - regular expressions (? =pattern) and (?! pattern)