Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sale

Check README of each app under apps/

Running

$ mix ecto.create -r Customer.Repo
$ mix ecto.migrate -r Customer.Repo
$ iex -S mix

Manual Testing

$ curl -H "Content-Type: application/json" -X POST -d '{"username":"mouad","token":"xyz"}' 127.0.0.1:8880/user/
$ curl -v -H "Authorization: xyz" 127.0.0.1:8880/

Benchmark

Using https://github.com/wg/wrk

$ ./wrk -t10 -c400 -d30s -H"Authorization: xyz" http://127.0.0.1:8880/user/

Running 10s test @ http://127.0.0.1:8880/user/
  10 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.10s   202.75ms   1.34s    84.48%
    Req/Sec    37.66     27.94   170.00     77.62%
  3248 requests in 10.02s, 1.02MB read
  Socket errors: connect 0, read 245, write 0, timeout 0
Requests/sec:    324.05
Transfer/sec:    104.43KB

TODO

Comparison with lymph

  • remote console
  • monitoring
  • registry
  • Integration with newrelic
  • benchmarks
  • ...

About

Elixir Playground

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages