https://github.com/5ht/erl_proxy_example
https://github.com/5ht/erl_proxy_example
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/5ht/erl_proxy_example
- Owner: 5HT
- Created: 2019-08-12T22:02:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-12T22:05:48.000Z (over 6 years ago)
- Last Synced: 2025-02-14T06:52:45.265Z (about 1 year ago)
- Language: Erlang
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Erlang proxy example
=====
Features
--------
* mix
* rebar3
* mad
* erlang.mk
rebar3
------
```
$ rebar3 get-deps
$ rebar3 compile
$ rebar3 release
$ _build/default/rel/erl_proxy_example/bin/erl_proxy_example console
```
mad
---
```
$ mad dep com pla bun beam erl_proxy_example
$ tar -xvf erl_proxy_example.tgz
$ chmod +x bin/start
$ bin/start
```
mix
---
```
$ mix deps.get
$ mix compile
$ mix release
$ _build/default/rel/erl_proxy_example/bin/erl_proxy_example start_iex
```
erlang.mk
---------
```
$ make run
```
Then point your browser to http://localhost:8090
```
curl -i http://localhost:8090
```
or
```
nghttp -v http://localhost:8090
```
Bench:
```
wrk -t12 -c400 -d30s http://127.0.0.1:8090/
```