zoukankan      html  css  js  c++  java
  • siege官方文档(译)(二) 深圳

    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这个参数去设置延迟。

  • 相关阅读:
    VSCode Web Developement for Javascript. Must have plugins.
    Docker explainations
    如何在启用SharePoint浏览器功能的InfoPath 表单中添加托管代码以动态地加载并显示图片
    解决方案:带格式化文本控件( RichText)的模板如果在InfoPath的浏览器中加载可能出现 COM 组件的80040154错误
    springboot之本地缓存(guava与caffeine)
    java基础之泛型对象与json互转
    nginx动静分离
    网关鉴权后下游统一filter获取用户信息
    网关高可用之keepavlived全流程(安装/配置/验证/解析)
    微服务时代之网关及注册中心高可用架构设计
  • 原文地址:https://www.cnblogs.com/snailrunning/p/8542884.html
Copyright © 2011-2022 走看看