Huawei's cloud servers use evaluation

Foreword

About me: a double non-school software engineering sophomore server for each developer has an important role, MBA think tank Encyclopedia above so is so described:

Servers are able to provide specific services to network users software and hardware. This definition includes the contents of the server the following two aspects: on the one hand, the role of the server is to provide a specific network service, and people usually server can provide a service to name servers, such as file-sharing service, said server as a file server, print queue to provide shared services server called print servers; on the other hand, server software and hardware unity, the program needs to run a specific service to complete service functions on a particular hardware or general use of computer completed by the service program service strategy, and to achieve the required service through hardware, such as file services rely on high-capacity hard disk, print service requires a high-speed printer.

Since the entire network of users are relying on different servers with different network service, therefore, the network server is a shared network resource management and core. Performance of the network server has a decisive influence on the share performance of the entire network.

As a quasi-programmer, then at least to look at the basic syntax and use basic Linux servers, set up about their own technology blog to share experiences and so on, so of course it is also a need to use the server! !

Before that bloggers often use overseas servers for blog and website building construction, including (https://windcry1.com) My blog is set up, the price of a month's top server in a foreign country, then about $ 5 (quite to 35 yuan) or so, the equivalent of one yuan for one more day. Price comparison standard for the mainstream server price is not too high. (Example aliyun burst performance 1vCPU (10% baseline performance), 1GB memory, 1Mbps 57.5 yuan per month; 1 Tencent cloud core CPU, 1G memory, 1Mbps 62.5 yuan per month). And foreign servers have bandwidth even more than an order of magnitude than the national server, it has also become a reason for their choice of foreign server.

experience

Previously used when many services are now being used Vultr such as foreign server vendors in Los Angeles server first drawback of course is the most intuitive access latency problem! I posted two well-known foreign service provider Vultr of Los Angeles server images from a delay-country visit (uses a 17ce wills a red ...... can see domestic access speed is really slow a bit .... .. of course, ssh access speed is extremely slow, too long to enter the command will be displayed

Then there is the domestic three networks (China Telecom, China Mobile, China Unicom) to the server TraceRoute friends (uses ipip.net site offers multiple domestic locations TraceRoute servers) (Thanks also to ipip.net Orz)

Nantong, Jiangsu Telecom

Nantong, Jiangsu Telecom

Guangzhou, Guangdong Mobile

Guangzhou, Guangdong Mobile

Tianjin Unicom

Tianjin Unicom

可以看到虽然网络跳数不是很多,但是网络丢包极其严重,在测试时仅发送三个数据包,三次测试共九个数据包,丢包两个......测试的时间是晚上20点左右(国内出口晚高峰时期),甚至就在出境出口边上的天津联通延迟达到了恐怖的220ms,如果在美国服务器上面架设网站服务器的话,国内用户的访问效果将会非常糟糕,甚至可能会出现无法访问(5xx)错误。并且虽然标注的带宽非常高,但是由于带宽共用的原因和机房接入带宽有限,路由单一,出口带宽紧张等因素,实际分到的带宽在网络高峰期不到10Mbps,使得网站的访问速度更加的雪上加霜。加之国外服务器大都不带任何DDOS防御(DDOS防御大都是收费项目,甚至比服务器本身每月价格都要高),对于不算非常大规模的DDOS攻击(20G以内),如果没有购买DDOS防御的话,国外主机服务商往往只有空路由一种方式,使得服务器访问中断,有的时候也会因为各种硬件故障使得网络中断,导致网站无法访问等问题。如果仅仅只是搭建一个技术博客的话,是完全没有办法忍受的。

接触华为云服务器

由于博主正在学习算法竞赛,也参与了牛客网的多校ACM训练营。加入了几个牛客的官方群,某天小运营突然在牛客多个群里面发消息说牛客正在搞活动,大概就是这样的:

【云服务器•学生福利第二波】 参加返现活动符合要求 即可获得返现≈免费买 活动链接:https://www.nowcoder.com/discuss/344341?from=HWY

从此因为嫌弃国内小带宽服务器的我,就开始... ~华为云真香~

购买服务器

首先通过牛客网的专属链接进入,按照要求注册账号,实名认证,填写个人信息 由于年龄小于25周岁,自动获得学生身份,可以购买华为云学生套餐(即我们俗称的学生机) 惊奇的发现套餐给的竟然是1核2G的服务器,这种配置放在国外的主机网站上面都是10美元一个月的高配版本呀 最后再填写下下牛客统计信息的表格(订单号和账户名称)就可以啦 本来华为学生机的价格是99元一年,和牛客的联动活动中购买一年云服务器即可返还90元 9元购买一年的服务器啊!!! 续费也只要99!! 还可以续费三年啊啊啊啊啊 (再吹一波华为云,那是真的香呀) 咳咳...有点点偏题 不打广告不打广告 (强行扯回来) 过了一天返现就到账啦 不得不吹一波牛客工作人员的效率 提现5分钟秒到账


性能评测

咳咳,终于到正文啦!! (前面好像扯得有点点多) 付款了过后就可以通过控制台进入 我拿到的服务器的物理位置是在北京四区 点开弹性云服务器ECS就可以看到我们的主机啦 首先先给服务器安装了Ubuntu 18.04

硬件信息

先放图 (此处查看信息的软件采用的是neofetch) hardware information 最新一代Intel® Xeon® Gold 6161不知道比前一代的e5好到哪里去了嘛 Intel®官网没有找到这款CPU的详细参数,下面是太平洋电脑网对于这款CPU的描述和信息 核心/线程:22核心44线程 主频:2.2GHz-3.7GHz 三级缓存:30.75MB 即使在服务器上也用的不太频繁的e5-2650(一般服务器CPU配置应该是不如这个的)配置是这样的 核心/线程:8核心16线程 主频:2.0GHz-2.8GHz 三级缓存:20MB CPU没什么好说的,就先跳过啦 (不好评价Orz)

网络测试

对于服务器来说,最重要的当然就是网络啦 首先要把控制台里面的安全组给调到Sys-FullAccess 即为关闭所有防火墙,否则无法ping到服务器(仅有22号端口是打开的) 当然不关闭所有防火墙的话,建站或者干一些其他的事情(基于网络)也是不可以的嗷 (毕竟一般也不会拿一个没有高级独立GPU的单核服务器跑算法嘛) 首先还是多个地点ping Huawei cloud delayed 2 因为服务器物理地址在北京,所以南方一些地方延迟可能稍微会有那么一点点高 平均延迟大约在35ms左右,相比于国外服务器的速度快了好多倍 虽然物理带宽比较少 如果你的网站不算很大的话 (当然那么大也不会作为技术博客嘛) 优秀的延迟加上技术博客本身的特点来说是绝对是充足的 下面来看下TraceRoute啦 同样使用和之前测试相同的三网的TraceRoute来进行测试 由于国内服务器一般直接接入三网,也就不存在不同电信商之间的交换的问题啦 听说还有多种算法防止DDOS 不知道是不是真的QAQ

江苏南通电信

Nantong, Jiangsu Telecom

广东广州移动

Guangzhou, Guangdong Mobile

天津联通

Tianjin Unicom
可以看出三网都是直入机房 之前出国线路比较爆炸的天津联通机房效果达到了最好的6.3ms(毕竟物理位置原因) 路由跳数较多并且大多跳数都在内网服务器上面 可能是内网路由比较复杂 高峰期测试,带宽还是稳定在1Mbps 当然和国外的大带宽没法对比 但是相比起丢包率来说 国内云服务器的效果还是非常不错的

缺点

Of course, the disadvantage of domestic server is also very obvious drawback is the largest domestic manufacturer of any one server is a common problem of bandwidth is too small causes the file download speed is extremely slow course, this is not the service provider pot Well here is an article of particular sensory analysis in place domestic mainstream network operators talk on international connection line there is, we feel more troublesome problem of filing out of the country even if the domain name servers also need to be filed before you can use may be wasting a lot of unnecessary waste of time, then additional some services are not domestic server can be achieved not start here say friends

to sum up

~ Quality is very good, exactly the same description with the seller, really like, completely beyond expectations, very fast delivery, packaging very carefully, tight, good service attitude logistics companies, shipping fast, very satisfied with the shopping ...... ~ h buying experience domestic first purchase of servers still OK except for relatively small bandwidth not used elsewhere is quite satisfactory (9 million a year, what dissatisfied) near the future will be to migrate to a whole personal blog on Huawei's cloud servers is especially recommended for students Party of purchase to buy the students pay attention to time: at 12:00 on November 2019 21 - December 15, 2019 23:59 pm.

Guess you like

Origin www.cnblogs.com/lanceyu/p/11974411.html