Code Monkey home page Code Monkey logo

httpress's Introduction

= httpress

High performance HTTP server stress & benchmark utility.

Inspired by [[http://redmine.lighttpd.net/projects/weighttp/wiki|weighttp]] tool.

Main features:

  • event driven (low memory footprint, large number of connections)
  • multi-threaded (uses all cores of your CPU)
  • SSL support (via GNUTLS library) with cipher suite selection

Compared to weighttp, httpress offers the following improvements:

  • evenly distributes load between threads; does not allow one thread to finish much earlier than others
  • promptly timeouts stucked connections, forces all hanging connections to close after the main run, does not allow hanging or interrupted connections to affect the measurement
  • SSL support

== Usage

{{{ httpress -n num number of requests (default: 1) -t num number of threads (default: 1) -c num concurrent connections (default: 1) -k keep alive (default: no) -z pri GNUTLS cipher priority (default: NORMAL) -h show this help

example: httpress -n 10000 -c 100 -t 4 -k http://localhost:8080/index.html }}}

== Dependencies

== Building from source

Prerequisite: [[http://software.schmorp.de/pkg/libev.html|libev 4 library]] (your distro might have it in repo; otherwise build from source)

SSL prerequisite: [[http://www.gnu.org/software/gnutls/|GnuTLS 3.0 library]] (better build from source)

Run {{{make}}} or {{{make -f Makefile.nossl}}}

Collect executable from bin subdirectory

httpress's People

Contributors

itxx00 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.