Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support benchmarking of multiple HTTP(S) endpoints #76

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Commits on May 8, 2019

  1. handle EPOLLRDHUP and EPOLLHUP as read-events, so dead connection can…

    … be closed and re-opened
    janmejay authored and Dongsu Park committed May 8, 2019
    Configuration menu
    Copy the full SHA
    9bea8ae View commit details
    Browse the repository at this point in the history
  2. trigger read-event for EPOLLRDHUP

    janmejay authored and Dongsu Park committed May 8, 2019
    Configuration menu
    Copy the full SHA
    2e001cf View commit details
    Browse the repository at this point in the history
  3. fixed permanent CLOSE_WAIT_accumulation during load-generation

    janmejay authored and Dongsu Park committed May 8, 2019
    Configuration menu
    Copy the full SHA
    c8395f0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0dded10 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. src: handle EOF as reconnect without error

    When EOF gets received, it should reconnect the socket without
    increasing error counter. Otherwise we could see socket read errors
    even in case of ordinary reconnects.
    Dongsu Park committed May 14, 2019
    Configuration menu
    Copy the full SHA
    5851d46 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. LUA API: force reconnect when wrk.thread.addr is set

    This change forces a reconnect of all connections of a thread
    when wrk.thread.addr is set from a LUA script.
    
    wrk.thread.addr has always been writeable from LUA, but the
    actual socket connection was never updated in wrk'c C code.
    This change enables LUA scripts to connect to multiple servers,
    extending the feature set of wrk.
    
    Signed-off-by: Thilo Fromm <[email protected]>
    t-lo committed May 15, 2019
    Configuration menu
    Copy the full SHA
    9ff7b65 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from kinvolk/dongsu/fix-reconnect

    Re-connect when peer closes the connection
    t-lo authored May 15, 2019
    Configuration menu
    Copy the full SHA
    e055282 View commit details
    Browse the repository at this point in the history
  3. scripts: add multi-server.lua

    Signed-off-by: Thilo Fromm <[email protected]>
    t-lo committed May 15, 2019
    Configuration menu
    Copy the full SHA
    ecc99a2 View commit details
    Browse the repository at this point in the history
  4. reconnect: call reconnect from the correct LUA API function

    Signed-off-by: Thilo Fromm <[email protected]>
    t-lo committed May 15, 2019
    Configuration menu
    Copy the full SHA
    0052ff8 View commit details
    Browse the repository at this point in the history
  5. reconnect: fixed potential segfault

    Signed-off-by: Thilo Fromm <[email protected]>
    t-lo committed May 15, 2019
    Configuration menu
    Copy the full SHA
    7eded81 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. Merge pull request #2 from kinvolk/t-lo/thread-force-reconnect-when-a…

    …ddr-is-set
    
    LUA API: force reconnect when wrk.thread.addr is set
    t-lo authored May 16, 2019
    Configuration menu
    Copy the full SHA
    bebf908 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2019

  1. wrk.c: remove start-up banner

    Signed-off-by: Thilo Fromm <[email protected]>
    t-lo committed May 18, 2019
    Configuration menu
    Copy the full SHA
    996f8c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2019

  1. Generic multi-endpoint support for upstreaming

    This change makes multi-endpoint support more generic, with
    the motivation of making this feature useful for upstream.
    
    The LUA script 'multiple-endpoints.lua' allows for specifying
    an arbitrary number of HTTP(S) endpoints to include in the
    benchmark. Endpoints will be connected to in a random, evenly
    distributed fashion. After a run finished, the overall latency
    will be reported (i.e. there's currently no break-down per
    endpoint).
    
    The main purpose of running a benchmark over multiple endpoints
    is to allow benchmarking of e.g. a whole web application instead
    of the pages and/or restful resources that make up said
    application individually.
    
    Signed-off-by: Thilo Fromm <[email protected]>
    t-lo committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    b85ddb7 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. Configuration menu
    Copy the full SHA
    82c1642 View commit details
    Browse the repository at this point in the history