Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nginx.sh for PONG

  • Loading branch information...
commit 734aeffe0df9f616490e5226548e3292b2620837 1 parent aae7a53
@snoyberg snoyberg authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 pong/nginx.sh
View
9 pong/nginx.sh
@@ -0,0 +1,9 @@
+#!/bin/bash -x
+
+d=$(readlink -f $(dirname $0))
+
+/usr/local/nginx/sbin/nginx -c $d/nginx.conf &
+nx=$!
+
+httperf --hog --server=localhost --port=3000 --uri=/ --rate=1000 --num-conns=200 --num-calls=100 --burst-length=20
+kill $nx
Please sign in to comment.
Something went wrong with that request. Please try again.