apache benchmark 的简单安装与测试

摘要:
1.下载apachebenchmarkCopyFromhttps://blog.csdn.net/fyqaccpt96/article/details/43272001yuminstallapr-utilyum-utilsyum-utils.noarchmkdir/apache&&cd/apacheyumdownloaderhttpd-工具*rpm2cpiohttpd-*.rpm|cpio-

1. 下载apache benchmark

Copy From https://blog.csdn.net/fyqaccpt96/article/details/43272001

yum install apr-util yum-utils yum-utils.noarch

mkdir /apache && cd /apache

yumdownloader httpd-tools*

rpm2cpio httpd-*.rpm | cpio -idmv

2. 进行简单的测试:

ab -n 10000  -c 100  http://10.24.193.202/platform/runtime/sys/web/index.html#/login

# linux nginx   :Time taken for tests: 5.525 seconds

ab -n 10000  -c 100  http://10.24.193.202:5000/platform/runtime/sys/web/index.html#/login

# linux kestrel:Time taken for tests:   5.085 seconds

ab -n 10000  -c 100  http://10.24.193.201/platform/runtime/sys/web/index.html#/login

# Windows nginx:Time taken for tests: 15.421 seconds


ab -n 10000  -c 100  http://10.24.193.201:5000/platform/runtime/sys/web/index.html#/login

#windows kestrel:Time taken for tests:   10.855 seconds

免责声明:文章转载自《apache benchmark 的简单安装与测试》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇webapi-1 给现有MVC 项目添加 WebAPICSS伪元素before和after下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

框架dubbox的简单使用

之前: RPC: Remote Produedure Call :一种通过网络从远程计算机程序上请求服务,而不需要了解底层网络技术的协议 SOA: Service-oriented architecture面向服务的体系结构(SOA)是一个组件模型,它将应用程序的不同功能单元(称为服务)通过这些服务之间定义良好的接口和契约联系起来。接口是采用中立的方式进行定...

iOS开发-Runtime详解(简书)

简介 Runtime 又叫运行时,是一套底层的 C 语言 API,其为 iOS 内部的核心之一,我们平时编写的 OC 代码,底层都是基于它来实现的。比如: [receiver message]; // 底层运行时会被编译器转化为: objc_msgSend(receiver, selector) // 如果其还有参数比如: [receiver messag...

ThinkPHP 3.2 使用不当可能造成敏感信息泄露

ThinkPHP在开启DEBUG的情况下会在Runtime目录下生成日志,而且debug很多站都没关的,所以影响应该很大吧 我们来看一下ThinkPHP3.2版本生成日志结构: THINKPHP3.2 结构:ApplicationRuntimeLogsHome16_09_09.logTHINKPHP3.1结构:RuntimeLogsHome16_09_0...

gvisor debug

Stack traces Debugger ProfilingDocker Proxy To enable debug and system call logging, add the runtimeArgs below to your Docker configuration (/etc/docker/daemon.json): { "r...

《ArcGIS Runtime SDK for Android开发笔记》——数据制作篇:紧凑型切片制作(Server缓存切片)

1、前言 在ArcGIS 10中出现了一种新的切片缓存文件格式:紧凑型存储(Compact)。与之前的松散型存储(Exploded)相比,它有迁移方便、创建更快、减少存储空间等诸多优点,已经成为了现在创建切片缓存的默认格式。 紧凑型切片存储最主要的两种文件是bundle和bundlx文件,其中bundle文件用以存储切片数据,bundlx是bundle文件...

aarch64-linux-gnu交叉编译Qt4.7.3

到 Qt 官网下载合适的 Qt 版本,地址:http://download.qt-project.org/archive/qt/ 1.环境搭建: 1.安装automake、libtool 和主机上的 Qt 工具: $ sudo apt-get install automake autoconf libtool m4 $ sudo apt-get insta...