WHY DO I NEED IT?

Siege was written for both web developers and web systems administrators.

siege是为了web开发者和网络系统管理员而诞生的。

It allows those individuals to test their programs and their systems under duress.

它允许这些人去测试他们的程序以及他们的系统在受到威迫下。

As a web professional, you are responsible for the intregrity of your product, yet you have no control over who accesses it.

作为一个专业的网络人士,你对你的产品是有责任的,但你无法去控制谁去访问它。

Traffic spikes can occur at any moment.

网络访问的高峰期。

How do you know if you're prepared?

你怎么知道你是否准备好了。

Siege will allow you to place those programs under duress, to allow you to better understand the load that they can with stand.

Siege将允许您将这些程序置于胁迫之下,以便您更好地了解它们可以使用的负载量。

You'll sleep better knowing your site can withstand the weight of 400 simultaneous transactions if your site currently peaks at 250.

如果您的网站目前达到峰值250,那么您知道您的网站可以承受400次同时的事物量。

A transaction is characterized by the server opening a socket for the client, handling a request, serving data over the wire and closing the socket upon completion.

一个事物的特点是通过服务器打开一个soket给客户端,服务器处理请求,通过网络提供数据,以及关闭socket就完成。

It is important to note that HUMAN internet users take time to digest the data which comes back to them.

值得注意的是,人类互联网用户需要花时间去接收返回给他们的数据。

Siege users do not.

siege 用户不需要。

In practice I've found that 400 simultaneous siege users to at least five times that amount in real internet sessions.

在实践中,我已经发现400个siege用户同时请求最少五次,在真实互联网会话中。

This is why siege allows you to set a delay ( --delay=NUM ). When set, each siege user sleeps for a random number of seconds between 1 and NUM.

这就是为什么siege允许你去设置延迟时间.当被设置后,每一个siege用户睡眠时间是一个随机数字,这个随机数字在1和NUM参数之间。

Through your server logs you should be able to get the average amount of time spent on a page.

通过你的服务日志,你应该能够得到花费在一个页面上的平均的时间。

It is recommended that you use that number for your delay when simulating iternet activity.

它是被推荐的,当你模拟浏览器的活动,你使用number这个参数去设置延迟。

siege官方文档(译)(二)的更多相关文章

  1. 转:ArcGIS API For JavaScript官方文档(二十)之图形和要素图层——①Graphics概述

    原文地址:ArcGIS API For JavaScript官方文档(二十)之图形和要素图层——①Graphics概述 ArcGIS JavaScript API允许在地图上绘制graphic(图形) ...

  2. OKHttp 官方文档【二】

    OkHttp 是这几年比较流行的 Http 客户端实现方案,其支持HTTP/2.支持同一Host 连接池复用.支持Http缓存.支持自动重定向 等等,有太多的优点. 一直想找时间了解一下 OkHttp ...

  3. Gora官方文档之二:Gora对Map-Reduce的支持

    参考官方文档:http://gora.apache.org/current/tutorial.html 项目代码见:https://code.csdn.net/jediael_lu/mygoradem ...

  4. Gora官方文档之二:Gora对Map-Reduce的支持 分类: C_OHTERS 2015-01-31 11:27 232人阅读 评论(0) 收藏

    参考官方文档:http://gora.apache.org/current/tutorial.html 项目代码见:https://code.csdn.net/jediael_lu/mygoradem ...

  5. siege官方文档(译)(一)

    WHAT IS siege? Siege is an open source regression test and benchmark utility. Siege是一款开源回归测试和基准测试工具. ...

  6. 【cocos2d-js官方文档】二十五、Cocos2d-JS v3.0中的单例对象

    为何将单例模式移除 在Cocos2d-JS v3.0之前.全部API差点儿都是从Cocos2d-x中移植过来的,这是Cocos2d生态圈统一性的重要一环.可惜的是,这样的统一性也在非常大程度上限制了C ...

  7. 【cocos2d-js官方文档】二、资源管理器Assets Manager

    这篇文档将介绍Cocos2d-JS 3.0的一个重量级新特性:资源管理器(仅支持JSB).资源管理器是为游戏运行时的资源热更新而设计的,这里的资源可以是图片,音频甚至游戏脚本本身.使用资源管理器,你将 ...

  8. 【cocos2d-js官方文档】二十一、v3相对于v2版本的api变动

    分类: cocos2d-js(28) 目录(?)[+] CCAudio.js SimpleAudioEngine.js改名为CCAudio.js. AudioEngine中删除了以下几个方法: pre ...

  9. 【cocos2d-js官方文档】二十、moduleConfig.json

    概述 该配置文件相当于v2版本号中的jsloader.js. 改造的目的是为了使得配置纯粹化,同一时候也能比較好的支持cocos-console.cocos-utils甚至是用户自己定义脚本工具. 字 ...

随机推荐

  1. 基于Appium、Python的自动化测试

    基于Appium.Python的自动化测试环境部署和实践   第一章 导言 1.1 编制目的 该文档为选用Appium作为移动设备原生(Native).混合(Hybrid).移动Web(Mobile ...

  2. 常用的Css命名方式

    常用的Css命名方式: CSS命名规范: 1.文件命名规范 全局样式:global.css: 框架布局:layout.css: 字体样式:font.css: 链接样式:link.css: 打印样式:p ...

  3. linux内核段属性机制【转】

    本文转载自:https://github.com/TongxinV/oneBook/issues/9 linux内核段属性机制 以subsys_initcall和module_init为例 subsy ...

  4. LightOJ1341 Aladdin and the Flying Carpet —— 唯一分解定理

    题目链接:https://vjudge.net/problem/LightOJ-1341 1341 - Aladdin and the Flying Carpet    PDF (English) S ...

  5. 步入C编程的第一天

    我想学ruby以后开发网站,但ruby是高级语言,隐藏了许多底层的东西,因此先熟悉c语言 首先c程序的文件名是以.c结尾的 c程序的格式: 第一行#include<stdio.h> #是一 ...

  6. zabbix常用命令

    1. 查看mysql 各数据库大小命令 "Database Size in MB" FROM information_schema.TABLES GROUP BY table_sc ...

  7. Eclipse 插件使用

    1. AmaterasUML:UML 类图(class diagram) 注意这里是先编写好代码,通过插件根据代码逻辑关系生成类图: 安装AmaterasUML前,需要先安装 GEF,采用 eclip ...

  8. XML 解析中 SelectSingleNode 与 SelectNodes 使用通配符介绍

    俺是 XML XPath的新手,最近因为项目需要,研究了一下基本的两个函数 SelectSingleNode和SelectNodes 是如何实用通配符的,分享以下基本经验: 假设有段XML 如下所示: ...

  9. python-pycharm 设置默认代码及注释

    pycharm

  10. xen添加网卡

    brctl addbr xenbr0 ifconfig xenbr0 up ifconfig xenbr0 192.168.0.1 /etc/xen/scripts/network-bridge st ...