adding readme and apache license

This commit is contained in:
or-else
2018-07-26 15:58:43 +03:00
parent 7b7ee6ef44
commit 3560969405
2 changed files with 14 additions and 0 deletions

2
loadtest/LICENSE Normal file
View File

@ -0,0 +1,2 @@
Code in this folder is licensed under Apache 2.0
http://www.apache.org/licenses/LICENSE-2.0

12
loadtest/README.md Normal file
View File

@ -0,0 +1,12 @@
# Tinode Load Testing
Content of this directory is for running rudimentary load tests of Tinode server. You only need this if you want to run your own load tests.
The `tsung.xml` is a configuration for [Tsung](http://tsung.erlang-projects.org/). The `tinode.beam` is an erlang binary required by the test to generate base64-encoded user-password pairs. The `tinode.erl` is the source code for `tinode.beam` (`erlc tinode.erl` -> `tinode.beam`).
[Install Tsung](http://tsung.erlang-projects.org/user_manual/installation.html), then run the test
```
tsung -f ./tsung.xml start
```
This will be eventually packaged into a docker container.