This client acts as the students and teachers for any one of the following servers:
To install dependencies:
npm install
To run the client against the Phoenix server:
bin/chatclient --numStudents 1000 --numTeachers 10 --mode elixir
You might get better performance if you run the students and teachers in different processes. To do this:
bin/chatclient --numStudents 1000 --numTeachers 0 --mode elixir
bin/chatclient --numStudents 0 --numTeachers 10 --mode elixir
The teacher process will exit automatically once all students have been processed.
To run the client against the Node server:
bin/chatclient --numStudents 1000 --numTeachers 10 --mode node