Skip to content

A distributed server-client chat application (grpc, fault-tolerance)

Notifications You must be signed in to change notification settings

tic1028/distributed_chat_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed grpc Chat Application

Usage

Use one terminal for the server, and one additional terminal for each connected client. To start the server

python3 server.py

To start a client

python3 client.py

Supported Client Actions

Clients can send messages to one another, as well as performing a variety of login/logout/status functions.

Input formats:

create <username> <password>
login <username> <password>
logout
list <regex>
delete
status
list
send <username> <message>
list_pending

gRPC vs non-gRPC

We implemented a simple ChatServer with basic sockets and two enhanced versions (gRPC and fault tolerance). To run the simple ChatServer, cd SimpleChat before starting up the server and client. To run the ChatServer using gRPC, cd ChatgRPC before starting up the server and client. To run the ChatServer with Fault Tolerance, cd Chat_FaultTolerance before starting up the server and client.

About

A distributed server-client chat application (grpc, fault-tolerance)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages