Skip to content

Commit

Permalink
add sanic to neph.yml and fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrand committed May 12, 2017
1 parent 1dab096 commit 31669bc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ You can set # of threads and # of the loops of the request(there are 3 requests
In the above example, 16 threads requests 1000 * 3 times.
So 48000 requests are sent in total.

## Using Docker
Setup servers by using `docker` is in **work in progress**. Currently, crystal and ruby servers are supported. For example
```bash
docker-compose up rails
```

Then you can run your client by
```bash
time ./bin/client
```
## Development
- **Give me PR when you want to add other web frameworks**
- **Give me PR when you can tuning each framework (under the rule)**
Expand Down
12 changes: 12 additions & 0 deletions neph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ main:
- rust
- elixir
- swift
- python
- benchmarker

node:
Expand Down Expand Up @@ -177,6 +178,17 @@ kitura:
chdir:
swift/kitura

python:
depends_on:
- sanic

sanic:
command: |
pip3 install -r requirements.txt; chmod +x server_python_sanic.py
ln -s -f ../python/sanic/server_python_sanic.py ../../bin/server_python_sanic
chdir:
python/sanic

benchmarker:
command: |
crystal build src/benchmarker.cr -o bin/benchmarker --release
Expand Down
Binary file removed sudo
Binary file not shown.

0 comments on commit 31669bc

Please sign in to comment.