aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-22 19:41:46 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-22 19:41:46 +0100
commit96350677c89d46dbaabf8d1813ca494b56efb02d (patch)
tree085c1322567aba637b76b77f87dfacbf9c739c89 /README.md
Inital import
Diffstat (limited to 'README.md')
-rw-r--r--README.md58
1 files changed, 58 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4e67dbd
--- /dev/null
+++ b/README.md
@@ -0,0 +1,58 @@
+# Goxy -- a go (reverse) proxy
+
+## Goals
+
+- Listen for HTTP and HTTPS on public IP
+- Terminate SSL (SNI)
+- HTTP/2.0 out of the box
+- Proxy to backends (HTTP/1.1, wsgi, fcgi?)
+- Zero downtime (re-)configuration
+
+## Configuration unit
+
+- Hostname(s)
+- Upstream(s) (Round-robin if many)
+- Optional TLS Certificate and Key
+
+## Testing
+
+ ab -n 10000 -c 1000 -H 'Host: gowiki.moccu' http://127.0.0.1/view/Home
+
+Concurrency Level: 1000
+Time taken for tests: 1.694 seconds
+Complete requests: 10000
+Failed requests: 0
+Total transferred: 18130000 bytes
+HTML transferred: 16950000 bytes
+Requests per second: 5902.56 [#/sec] (mean)
+Time per request: 169.418 [ms] (mean)
+Time per request: 0.169 [ms] (mean, across all concurrent requests)
+Transfer rate: 10450.54 [Kbytes/sec] received
+
+Connection Times (ms)
+ min mean[+/-sd] median max
+Connect: 0 17 120.9 0 1001
+Processing: 1 94 98.1 64 1009
+Waiting: 1 93 98.1 64 1009
+Total: 1 111 152.9 67 1132
+
+ ab -n 10000 -c 1000 http://gowiki.moccu/view/Home
+
+Concurrency Level: 1000
+Time taken for tests: 1.590 seconds
+Complete requests: 10000
+Failed requests: 0
+Total transferred: 18130000 bytes
+HTML transferred: 16950000 bytes
+Requests per second: 6291.16 [#/sec] (mean)
+Time per request: 158.953 [ms] (mean)
+Time per request: 0.159 [ms] (mean, across all concurrent requests)
+Transfer rate: 11138.54 [Kbytes/sec] received
+
+Connection Times (ms)
+ min mean[+/-sd] median max
+Connect: 0 52 214.2 1 1005
+Processing: 0 48 53.8 33 427
+Waiting: 0 48 53.6 33 427
+Total: 1 100 223.2 37 1424
+