/node-chat-client

Primary LanguageJavaScriptMIT LicenseMIT

Node Chat Client

This client acts as the students and teachers for any one of the following servers:

  1. seejee/phoenix-chat-server
  2. seejee/node-chat-server

To install dependencies:

  1. npm install

To run the client against the Phoenix server:

  1. 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:

  1. bin/chatclient --numStudents 1000 --numTeachers 0 --mode elixir
  2. 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:

  1. bin/chatclient --numStudents 1000 --numTeachers 10 --mode node