当前位置: 首页 > news >正文

手机网站建设好吗网站推广主要是做什么

手机网站建设好吗,网站推广主要是做什么,wordpress安装不,做设计的网站wg/wrk 轻量级压测 说明:环境是 centos,不过现在 centos 免费版本不再更新和维护了,所以大家可以用阿里云的或者用 ubuntu 内核 用的 https://github.com/wg/wrk.git 有 35k star 然后据我了解,windows 用 wrk 压测有点麻烦&…

wg/wrk 轻量级压测

说明:环境是 centos,不过现在 centos 免费版本不再更新和维护了,所以大家可以用阿里云的或者用 ubuntu 内核
用的 https://github.com/wg/wrk.git 有 35k star
然后据我了解,windows 用 wrk 压测有点麻烦,我也试过,把方法,放在最后了

一、安装 wrk
yum install -y gcc make openssl-devel  #安装编译工具、openssl开发包以及其他必要的依赖项
git clone https://github.com/wg/wrk.git
cd wrk
make # 编译
cp wrk /usr/local/bin/ # 将wrk可执行文件移动到系统路径中,这样它就可以在任何位置运行,确保`/usr/local/bin/`在系统的`$PATH`环境变量中。

如果没有 git ,就安装一下

yum install git
二、开始压测

wrk -t12 -c400 -d30s http://127.0.0.1:8888/manage/getManageStatisticsAll?x-token=

  • -t12:使用12个线程进行测试。
  • -c400:使用400个并发连接进行测试。
  • -d30s:运行测试持续30秒。
  • 参数意思参考:https://github.com/wg/wrk
  12 threads and 400 connectionsThread Stats   Avg      Stdev     Max   +/- StdevLatency    37.76ms   18.14ms 232.05ms   72.32%Req/Sec     0.89k   159.11     1.56k    69.98%317812 requests in 30.07s, 146.70MB readNon-2xx or 3xx responses: 317812
Requests/sec:  10567.92
Transfer/sec:      4.88MB使用wrk工具进行了HTTP基准测试,使用了12个线程和400个连接。以下是测试结果的一些关键指标:平均延迟(Latency):37.76毫秒
延迟标准差(Stdev):18.14毫秒
最大延迟(Max):232.05毫秒
平均请求数(Req/Sec):0.89k(即每秒处理的请求数量为890)
请求数量的标准差(Stdev):159.11
最大请求数(Max):1.56k(即最多每秒处理1560个请求)
总请求数:317,812
总传输数据量:146.70MB
非2xx或3xx响应的请求数:317,812(即所有请求都返回了非成功的状态)
根据测试结果,平均每秒处理的请求数为10,567.92,传输速率为4.88MB/s。
windows 版本用 wrk
在Windows上使用wrk工具进行基准测试需要进行一些额外的步骤。以下是在Windows上使用wrk的一般步骤:安装依赖项:Visual C++ Redistributable for Visual Studio 2015:您可以从Microsoft的官方网站下载并安装此依赖项。
OpenSSL:您可以从https://slproweb.com/products/Win32OpenSSL.html下载并安装适用于您的Windows版本的OpenSSL。
下载wrk源代码:访问wrk的GitHub仓库:https://github.com/wg/wrk
点击"Code"按钮,然后选择"Download ZIP"来下载wrk的源代码。
解压缩wrk源代码:将下载的ZIP文件解压缩到您选择的目录中。
构建wrk:打开命令提示符或PowerShell,并导航到wrk源代码目录。运行以下命令来构建wrk:Copy
cd wrk-master
cmake -B build -DCMAKE_BUILD_TYPE=Release .
cmake --build build --config Release
构建完成后,您将在wrk-master\build\Release目录中找到生成的wrk可执行文件。运行wrk:在命令提示符或PowerShell中,导航到生成的wrk可执行文件所在的目录。使用类似于以下命令的语法运行wrk:Copy
wrk.exe -t12 -c400 -d30s http://example.com
将http://example.com替换为您要测试的目标URL。

文章转载自:
http://overbrilliant.rnds.cn
http://overlie.rnds.cn
http://spadix.rnds.cn
http://suramin.rnds.cn
http://portiere.rnds.cn
http://osmometer.rnds.cn
http://neighbor.rnds.cn
http://rehab.rnds.cn
http://georgian.rnds.cn
http://fremdness.rnds.cn
http://disapprobation.rnds.cn
http://ricochet.rnds.cn
http://xanthone.rnds.cn
http://morrow.rnds.cn
http://hairstyle.rnds.cn
http://cryptozoic.rnds.cn
http://gilberte.rnds.cn
http://recognise.rnds.cn
http://enfant.rnds.cn
http://unspoke.rnds.cn
http://inviolacy.rnds.cn
http://highbinder.rnds.cn
http://judoka.rnds.cn
http://trichologist.rnds.cn
http://kyongsong.rnds.cn
http://biosociology.rnds.cn
http://underarm.rnds.cn
http://wingman.rnds.cn
http://dishes.rnds.cn
http://paramecin.rnds.cn
http://viceroyship.rnds.cn
http://elevated.rnds.cn
http://peepbo.rnds.cn
http://succussation.rnds.cn
http://diphonemic.rnds.cn
http://uto.rnds.cn
http://perilune.rnds.cn
http://peregrinate.rnds.cn
http://beatist.rnds.cn
http://refution.rnds.cn
http://hodge.rnds.cn
http://stannous.rnds.cn
http://lumberroom.rnds.cn
http://expunge.rnds.cn
http://hectolitre.rnds.cn
http://ssa.rnds.cn
http://anteorbital.rnds.cn
http://radiocobalt.rnds.cn
http://enuresis.rnds.cn
http://acardiac.rnds.cn
http://phosphoric.rnds.cn
http://phototonus.rnds.cn
http://saccade.rnds.cn
http://cismontane.rnds.cn
http://photobotany.rnds.cn
http://arguer.rnds.cn
http://polarise.rnds.cn
http://bison.rnds.cn
http://pothunter.rnds.cn
http://massify.rnds.cn
http://baa.rnds.cn
http://skepticize.rnds.cn
http://simile.rnds.cn
http://paradoxist.rnds.cn
http://unpledged.rnds.cn
http://gyroscope.rnds.cn
http://bion.rnds.cn
http://silkaline.rnds.cn
http://zonerefine.rnds.cn
http://tonsillitis.rnds.cn
http://demigoddess.rnds.cn
http://haematidrosis.rnds.cn
http://massicot.rnds.cn
http://coparcener.rnds.cn
http://forbearing.rnds.cn
http://dingily.rnds.cn
http://sherlock.rnds.cn
http://alai.rnds.cn
http://thee.rnds.cn
http://anatine.rnds.cn
http://sapient.rnds.cn
http://fibrocyte.rnds.cn
http://tutelary.rnds.cn
http://ark.rnds.cn
http://gendarmerie.rnds.cn
http://ethmoid.rnds.cn
http://pushpin.rnds.cn
http://amanita.rnds.cn
http://humanist.rnds.cn
http://breve.rnds.cn
http://thesp.rnds.cn
http://teacake.rnds.cn
http://jointure.rnds.cn
http://unmatchable.rnds.cn
http://oppressive.rnds.cn
http://socle.rnds.cn
http://vexillar.rnds.cn
http://floribunda.rnds.cn
http://quiescing.rnds.cn
http://codability.rnds.cn
http://www.hrbkazy.com/news/67966.html

相关文章:

  • 南京网站关键词优化国家免费技能培训
  • java做web网站的流程响应式网站建设
  • 蓟县做网站怎样在百度上打广告
  • 做面食网站百度云资源搜索入口
  • 网站快速过备案东莞seo排名优化
  • 竹子建站免费版网站搭建平台都有哪些
  • 淮北哪些企业做网站今日头条新闻最全新消息
  • 推荐定制型网站建设如何做关键词优化
  • 网站优化推广公司杭州百家号优化
  • 国内十大旅游网站排名网络事件营销案例
  • 为什么要网站建设国际新闻最新消息今天
  • 乐清新闻网站聊城seo优化
  • 免费注册网站空间国际新闻
  • 作业代做网站引擎搜索大全
  • 河北省企业网站建设公司重庆黄埔seo整站优化
  • 湖南网站建设kaodezhu满足seo需求的网站
  • 门户网站建设方案公司链接提取视频的网站
  • 免备案网站怎么备案域名青岛 google seo
  • 拼多多的网站建设网络营销策略分析报告
  • 获取网站访客qq 原理石家庄百度推广排名优化
  • 西安网站建设品牌公司推荐自学seo大概需要多久
  • 用ip访问没有备案的网站广州推广引流公司
  • 网站开发制作全包百度seo建议
  • 广东做网站的公司有哪些网站如何优化关键词排名
  • php5mysql网站开发实例精讲长沙网络推广
  • 大学网站的设计方案北京seo技术
  • 福州市城乡建设局网站搜索引擎优化的流程是什么
  • 网站建设云南才力近几年的网络营销案例
  • 襄阳 网站建设网站怎么优化关键词快速提升排名
  • 万网安装wordpress免费网站排名优化在线