Check README of each app under apps/
$ mix ecto.create -r Customer.Repo
$ mix ecto.migrate -r Customer.Repo
$ iex -S mix
$ 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/
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
- grep for TODO/FIXME there is quite few stuff that are still to check !
- distribute and test (i.e. different nodes).
- Benchmark.
- Fix tests for user (need for mix ecto.drop should not be done manually)
- Evaluate other REST frameworks.
- Evaluate other solution beside GenServer.
- Check if we can use GenEvent for emitting events.
- Figure out how to do releases http://bitwalker.org/blog/2014/03/20/releases-for-elixir/
- X-requrest-id logging.
- monitoring https://github.com/boundary/folsom
- Check http://blog.rusty.io/2009/09/16/g-proc-erlang-global-process-registry/
- remote console
- monitoring
- registry
- Integration with newrelic
- benchmarks
- ...