Skip to content

Commit

Permalink
Remove any refererence to traefik_toml or TraefikTomlProxy from the
Browse files Browse the repository at this point in the history
documentation, examples and performance test suite. These are replaced by
`traefik_file` and `TraefikFileProviderProxy`, respectively.
  • Loading branch information
alexleach committed Jun 18, 2021
1 parent faa2832 commit 8459b13
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The [documentation](https://jupyterhub-traefik-proxy.readthedocs.io) contains a
guide](https://jupyterhub-traefik-proxy.readthedocs.io/en/latest/install.html)
with examples for the three different implementations.

* [For TraefikFileProviderProxy](https://jupyterhub-traefik-proxy.readthedocs.io/en/latest/toml.html#example-setup)
* [For TraefikFileProviderProxy](https://jupyterhub-traefik-proxy.readthedocs.io/en/latest/file.html#example-setup)
* [For TraefikEtcdProxy](https://jupyterhub-traefik-proxy.readthedocs.io/en/latest/etcd.html#example-setup)
* [For TraefikConsulProxy](https://jupyterhub-traefik-proxy.readthedocs.io/en/latest/consul.html#example-setup)

Expand Down
4 changes: 2 additions & 2 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Module: :mod:`jupyterhub_traefik_proxy`
.. autoconfigurable:: TraefikProxy
:members:

:class:`TraefikTomlProxy`
:class:`TraefikFileProviderProxy`
-------------------------

.. autoconfigurable:: TraefikTomlProxy
.. autoconfigurable:: TraefikFileProviderProxy
:members:

:class:`TKvProxy`
Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Moreover it offers *HTTPS* support through a straight-forward `ACME (Let's Encry
There are three versions for the proxy, depending on how traefik stores the routes:

* *for* **smaller**, *single-node deployments*:
* TraefikTomlProxy
* TraefikFileProviderProxy
* *for* **distributed** *setups*:
* TraefikEtcdProxy
* TraefikConsulProxy
Expand All @@ -39,7 +39,7 @@ Getting Started
.. toctree::
:maxdepth: 1

toml
fileprovider
etcd
consul

Expand Down
14 changes: 7 additions & 7 deletions docs/source/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
## Enabling traefik-proxy in JupyterHub
[TraefikTomlProxy](https://github.com/jupyterhub/traefik-proxy/blob/master/jupyterhub_traefik_proxy/toml.py), [TraefikEtcdProxy](https://github.com/jupyterhub/traefik-proxy/blob/master/jupyterhub_traefik_proxy/etcd.py) and [TraefikConsulProxy](https://github.com/jupyterhub/traefik-proxy/blob/master/jupyterhub_traefik_proxy/consul.py) are custom proxy implementations that subclass [Proxy](https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/proxy.py) and can register in JupyterHub config using `c.JupyterHub.proxy_class` entrypoint.
[TraefikFileProviderProxy](https://github.com/jupyterhub/traefik-proxy/blob/Traefik_v2/jupyterhub_traefik_proxy/fileprovider.py), [TraefikEtcdProxy](https://github.com/jupyterhub/traefik-proxy/blob/Traefik_v2/jupyterhub_traefik_proxy/etcd.py) and [TraefikConsulProxy](https://github.com/jupyterhub/traefik-proxy/blob/Traefik_v2/jupyterhub_traefik_proxy/consul.py) are custom proxy implementations that subclass [Proxy](https://github.com/jupyterhub/jupyterhub/blob/Traefik_v2/jupyterhub/proxy.py) and can register in JupyterHub config using `c.JupyterHub.proxy_class` entrypoint.
On startup, JupyterHub will look by default for a configuration file, *jupyterhub_config.py*, in the current working directory. If the configuration file is not in the current working directory,
you can load a specific config file and start JupyterHub using:
Expand All @@ -78,13 +78,13 @@ you can load a specific config file and start JupyterHub using:
$ jupyterhub -f /path/to/jupyterhub_config.py
```
There is an example configuration file [here](https://github.com/jupyterhub/traefik-proxy/blob/master/examples/jupyterhub_config.py) that configures JupyterHub to run with *TraefikEtcdProxy* as the proxy and uses dummyauthenticator and simplespawner to enable testing without administrative privileges.
There is an example configuration file [here](https://github.com/jupyterhub/traefik-proxy/blob/Traefik_v2/examples/jupyterhub_config.py) that configures JupyterHub to run with *TraefikEtcdProxy* as the proxy and uses dummyauthenticator and simplespawner to enable testing without administrative privileges.
In *jupyterhub_config.py*:
```
c.JupyterHub.proxy_class = "traefik_toml"
# will configure JupyterHub to run with TraefikTomlProxy
c.JupyterHub.proxy_class = "traefik_file"
# will configure JupyterHub to run with TraefikFileProviderProxy
```
```
Expand All @@ -110,9 +110,9 @@ c.JupyterHub.proxy_class = "traefik_consul"
The port on which traefik-proxy's api will run, as well as the username and password used for authenticating, can be passed to the proxy through `jupyterhub_config.py`, e.g.:
```
c.TraefikTomlProxy.traefik_api_url = "http://127.0.0.1:8099"
c.TraefikTomlProxy.traefik_api_password = "admin"
c.TraefikTomlProxy.traefik_api_username = "admin"
c.TraefikFileProviderProxy.traefik_api_url = "http://127.0.0.1:8099"
c.TraefikFileProviderProxy.traefik_api_password = "admin"
c.TraefikFileProviderProxy.traefik_api_username = "admin"
```
Check out TraefikProxy's **API Reference** for more configuration options.
<br/><br/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
"""sample jupyterhub config file for testing
configures jupyterhub to run with traefik_toml.
configures jupyterhub to run with traefik_file.
configures jupyterhub with dummyauthenticator and simplespawner
to enable testing without administrative privileges.
requires jupyterhub 1.0.dev
"""

c.JupyterHub.proxy_class = "traefik_toml"
c.TraefikTomlProxy.traefik_api_username = "admin"
c.TraefikTomlProxy.traefik_api_password = "admin"
c.TraefikTomlProxy.traefik_log_level = "INFO"
c.JupyterHub.proxy_class = "traefik_file"
c.TraefikFileProviderProxy.traefik_api_username = "admin"
c.TraefikFileProviderProxy.traefik_api_password = "admin"
c.TraefikFileProviderProxy.traefik_log_level = "INFO"

# use dummy and simple auth/spawner for testing
c.JupyterHub.authenticator_class = "dummy"
Expand Down
44 changes: 22 additions & 22 deletions performance/ProxyPerformance.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"metadata": {},
"outputs": [],
"source": [
"toml_df_concurrent = pd.read_csv('~/results/toml_methods_concurrent.csv')\n",
"file_df_concurrent = pd.read_csv('~/results/file_methods_concurrent.csv')\n",
"etcd_df_concurrent = pd.read_csv('~/results/etcd_methods_concurrent.csv')\n",
"chp_df_concurrent = pd.read_csv('~/results/chp_methods_concurrent.csv')\n",
"consul_df_concurrent = pd.read_csv('~/results/consul_methods_concurrent.csv')\n",
"patched_consul_df_concurrent = pd.read_csv('~/results/patched_consul_methods_concurrent.csv')\n",
"patched_consul_df_concurrent = patched_consul_df_concurrent.replace('ConsulProxy', 'PatchedConsulProxy')\n",
"\n",
"frames = [toml_df_concurrent, etcd_df_concurrent, consul_df_concurrent,\n",
"frames = [file_df_concurrent, etcd_df_concurrent, consul_df_concurrent,\n",
" patched_consul_df_concurrent, chp_df_concurrent]\n",
"proxies_df_concurrent = pd.concat(frames)"
]
Expand Down Expand Up @@ -179,7 +179,7 @@
],
"source": [
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"TomlProxy\", \"add\", \"concurrent\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"FileProviderProxy\", \"add\", \"concurrent\")\n",
"plt.gca().set_ylabel(\"Time (s)\")\n",
"\n",
"fig, ax = plt.subplots()\n",
Expand Down Expand Up @@ -301,7 +301,7 @@
],
"source": [
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"TomlProxy\", \"delete\", \"concurrent\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"FileProviderProxy\", \"delete\", \"concurrent\")\n",
"plt.gca().set_ylabel(\"Time (s)\")\n",
"\n",
"fig, ax = plt.subplots()\n",
Expand Down Expand Up @@ -421,7 +421,7 @@
],
"source": [
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"TomlProxy\", \"get_all\", \"concurrent\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"FileProviderProxy\", \"get_all\", \"concurrent\")\n",
"plt.gca().set_xlabel(\"Iteration no\")\n",
"plt.gca().set_ylabel(\"Time (s)\")\n",
"\n",
Expand Down Expand Up @@ -459,15 +459,15 @@
"metadata": {},
"outputs": [],
"source": [
"toml_df_seq = pd.read_csv('~/results/toml_methods_sequential.csv')\n",
"file_df_seq = pd.read_csv('~/results/file_methods_sequential.csv')\n",
"etcd_df_seq = pd.read_csv('~/results/etcd_methods_sequential.csv')\n",
"chp_df_seq = pd.read_csv('~/results/chp_methods_sequential.csv')\n",
"consul_df_seq = pd.read_csv('~/results/consul_methods_sequential.csv')\n",
"patched_consul_df_seq = pd.read_csv('~/results/patched_consul_methods_sequential.csv')\n",
"patched_consul_df_seq = patched_consul_df_seq.replace('ConsulProxy', 'PatchedConsulProxy')\n",
"\n",
"\n",
"frames = [toml_df_seq, etcd_df_seq, consul_df_seq, patched_consul_df_seq, chp_df_seq]\n",
"frames = [file_df_seq, etcd_df_seq, consul_df_seq, patched_consul_df_seq, chp_df_seq]\n",
"proxies_df_seq = pd.concat(frames)"
]
},
Expand Down Expand Up @@ -579,7 +579,7 @@
],
"source": [
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"TomlProxy\", \"add\", \"sequential\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"FileProviderProxy\", \"add\", \"sequential\")\n",
"plt.gca().set_ylabel(\"Time (s)\")\n",
"\n",
"fig, ax = plt.subplots()\n",
Expand Down Expand Up @@ -703,7 +703,7 @@
],
"source": [
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"TomlProxy\", \"delete\", \"sequential\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"FileProviderProxy\", \"delete\", \"sequential\")\n",
"plt.gca().invert_xaxis()\n",
"plt.gca().set_ylabel(\"Time (s)\")\n",
"\n",
Expand Down Expand Up @@ -815,7 +815,7 @@
],
"source": [
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"TomlProxy\", \"get_all\", \"sequential\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"FileProviderProxy\", \"get_all\", \"sequential\")\n",
"plt.gca().set_ylabel(\"Time (s)\")\n",
"\n",
"fig, ax = plt.subplots()\n",
Expand Down Expand Up @@ -1105,52 +1105,52 @@
"%matplotlib inline\n",
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"CHP\", \"add\", \"sequential\", \"Proxies\", \"cpu_time\", \"blue\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"TomlProxy\", \"add\", \"sequential\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"FileProviderProxy\", \"add\", \"sequential\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"EtcdProxy\", \"add\", \"sequential\", \"Proxies\", \"cpu_time\", \"green\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"ConsulProxy\", \"add\", \"sequential\", \"Proxies\", \"cpu_time\", \"red\")\n",
"plt.gca().legend(('CHP','TomlProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().legend(('CHP','FileProviderProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().set_ylabel(\"CPU Time (s)\")\n",
"\n",
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"CHP\", \"add\", \"concurrent\", \"Proxies\", \"cpu_time\", \"blue\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"TomlProxy\", \"add\", \"concurrent\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"FileProviderProxy\", \"add\", \"concurrent\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"EtcdProxy\", \"add\", \"concurrent\", \"Proxies\", \"cpu_time\", \"green\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"ConsulProxy\", \"add\", \"concurrent\", \"Proxies\", \"cpu_time\", \"red\")\n",
"plt.gca().legend(('CHP','TomlProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().legend(('CHP','FileProviderProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().set_ylabel(\"CPU Time (s)\")\n",
"\n",
"#DELETE\n",
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"CHP\", \"delete\", \"sequential\", \"Proxies\", \"cpu_time\", \"blue\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"TomlProxy\", \"delete\", \"sequential\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"FileProviderProxy\", \"delete\", \"sequential\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"EtcdProxy\", \"delete\", \"sequential\", \"Proxies\", \"cpu_time\", \"green\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"ConsulProxy\", \"delete\", \"sequential\", \"Proxies\", \"cpu_time\", \"red\")\n",
"plt.gca().legend(('CHP','TomlProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().legend(('CHP','FileProviderProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().set_ylabel(\"CPU Time (s)\")\n",
"\n",
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"CHP\", \"delete\", \"concurrent\", \"Proxies\", \"cpu_time\", \"blue\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"TomlProxy\", \"delete\", \"concurrent\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"FileProviderProxy\", \"delete\", \"concurrent\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"EtcdProxy\", \"delete\", \"concurrent\", \"Proxies\", \"cpu_time\", \"green\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"ConsulProxy\", \"delete\", \"concurrent\", \"Proxies\", \"cpu_time\", \"red\")\n",
"plt.gca().legend(('CHP','TomlProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().legend(('CHP','FileProviderProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().set_ylabel(\"CPU Time (s)\")\n",
"\n",
"#Get all\n",
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"CHP\", \"get_all\", \"sequential\", \"Proxies\", \"cpu_time\", \"blue\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"TomlProxy\", \"get_all\", \"sequential\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"FileProviderProxy\", \"get_all\", \"sequential\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"EtcdProxy\", \"get_all\", \"sequential\", \"Proxies\", \"cpu_time\", \"green\")\n",
"plot_proxy_method_perf(ax, proxies_df_seq, \"ConsulProxy\", \"get_all\", \"sequential\", \"Proxies\", \"cpu_time\", \"red\")\n",
"plt.gca().legend(('CHP','TomlProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().legend(('CHP','FileProviderProxy', 'EtcdProxy', 'ConsulProxy'))\n",
"plt.gca().set_ylabel(\"CPU Time (s)\")\n",
"\n",
"fig, ax = plt.subplots()\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"CHP\", \"get_all\", \"concurrent\", \"Proxies\", \"cpu_time\", \"blue\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"TomlProxy\", \"get_all\", \"concurrent\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"FileProviderProxy\", \"get_all\", \"concurrent\", \"Proxies\", \"cpu_time\", \"orange\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"EtcdProxy\", \"get_all\", \"concurrent\", \"Proxies\", \"cpu_time\", \"green\")\n",
"plot_proxy_method_perf(ax, proxies_df_concurrent, \"ConsulProxy\", \"get_all\", \"concurrent\", \"Proxies\", \"cpu_time\", \"red\")\n",
"plt.gca().legend(('CHP','TomlProxy', 'EtcdProxy', \"ConsulProxy\"))\n",
"plt.gca().legend(('CHP','FileProviderProxy', 'EtcdProxy', \"ConsulProxy\"))\n",
"plt.gca().set_ylabel(\"CPU Time (s)\")"
]
},
Expand Down
16 changes: 8 additions & 8 deletions performance/perf_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from jupyterhub.proxy import ConfigurableHTTPProxy
from jupyterhub_traefik_proxy import TraefikConsulProxy
from jupyterhub_traefik_proxy import TraefikEtcdProxy
from jupyterhub_traefik_proxy import TraefikTomlProxy
from jupyterhub_traefik_proxy import TraefikFileProviderProxy


def configure_argument_parser():
Expand Down Expand Up @@ -73,12 +73,12 @@ def configure_argument_parser():
parser.add_argument(
"--proxy",
dest="proxy_class",
default="TomlProxy",
default="FileProxy",
help=textwrap.dedent(
"""\
Proxy class to analyze.
Available proxies:
-TomlProxy
-FileProxy
-EtcdProxy
-ConsulProxy
-CHP
Expand Down Expand Up @@ -216,9 +216,9 @@ async def no_auth_etcd_proxy():
return proxy


async def toml_proxy():
"""Function returning a configured TraefikTomlProxy"""
proxy = TraefikTomlProxy(
async def file_proxy():
"""Function returning a configured TraefikFileProviderProxy"""
proxy = TraefikFileProviderProxy(
public_url="http://127.0.0.1:8000",
traefik_api_password="admin",
traefik_api_username="admin",
Expand Down Expand Up @@ -248,8 +248,8 @@ async def configurable_http_proxy():


async def get_proxy(proxy_class):
if proxy_class == "TomlProxy":
proxy = await toml_proxy()
if proxy_class == "FileProxy":
proxy = await file_proxy()
elif proxy_class == "EtcdProxy":
proxy = await no_auth_etcd_proxy()
elif proxy_class == "ConsulProxy":
Expand Down
10 changes: 5 additions & 5 deletions performance/run_benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
#CHP methods performance
python3 -m performance.check_perf --measure=methods --proxy=CHP --iterations=4 --routes_number=500 --concurrent --output=./results/chp_methods_concurrent.csv
# TomlProxy methods performance - throttle = 2s
python3 -m performance.check_perf --measure=methods --proxy=TomlProxy --iterations=4 --routes_number=500 --concurrent --output=./results/toml_methods_concurrent.csv
# FileProxy methods performance - throttle = 2s
python3 -m performance.check_perf --measure=methods --proxy=FileProxy --iterations=4 --routes_number=500 --concurrent --output=./results/file_methods_concurrent.csv
# EtcdProxy methods performance - throttle = 2s
#start etcd:
etcd &>/dev/null &
Expand All @@ -17,7 +17,7 @@ python3 ./performance/dummy_http_server.py 9001 & #port 9001
python3 ./performance/dummy_ws_server.py & #port 9000

python3 -m performance.check_perf --measure=http_throughput_small --proxy=CHP --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_small.csv
python3 -m performance.check_perf --measure=http_throughput_small --proxy=TomlProxy --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_small.csv
python3 -m performance.check_perf --measure=http_throughput_small --proxy=FileProxy --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_small.csv
#start etcd:
etcd &>/dev/null &
python3 -m performance.check_perf --measure=http_throughput_small --proxy=EtcdProxy --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_small.csv
Expand All @@ -26,7 +26,7 @@ pkill etcd
-rf default.etcd/

python3 -m performance.check_perf --measure=http_throughput_large --proxy=CHP --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_large.csv
python3 -m performance.check_perf --measure=http_throughput_large --proxy=TomlProxy --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_large.csv
python3 -m performance.check_perf --measure=http_throughput_large --proxy=FileProxy --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_large.csv
#start etcd:
etcd &>/dev/null &
python3 -m performance.check_perf --measure=http_throughput_large --proxy=EtcdProxy --concurrent_requests_number=10 --backend_port=9001 --output=./results/http_throughput_large.csv
Expand All @@ -35,7 +35,7 @@ pkill etcd
-rf default.etcd/

python3 -m performance.check_perf --measure=ws_throughput --proxy=CHP --concurrent_requests_number=10 --output=./results/ws_throughput.csv
python3 -m performance.check_perf --measure=ws_throughput --proxy=TomlProxy --concurrent_requests_number=10 --output=./results/ws_throughput.csv
python3 -m performance.check_perf --measure=ws_throughput --proxy=FileProxy --concurrent_requests_number=10 --output=./results/ws_throughput.csv
#start etcd:
etcd &>/dev/null &
python3 -m performance.check_perf --measure=ws_throughput --proxy=EtcdProxy --concurrent_requests_number=10 --output=./results/ws_throughput.csv
Expand Down
Loading

0 comments on commit 8459b13

Please sign in to comment.