Golang chat server using go rpc package | distributed systems

  

Requirements of Chat Server Go program:

1.  The program must be written in Go.

2. The server should be able to read short messages from clients concurrently (at the same time) and enable other participants to respond quickly. The communication should be similar to that of a spoken conversation, unlike apps such as those for forums and email.

3. Let multiple people talk at the same time on the Chat server.

4. Anything said is seen by everyone unless the sender specifies that the message is a PM (private message) and names the receiver.

5. Make the chat app extensible. To add more features we should be able to implement and export a server-side method and write a client stub which calls the exported method over RPC.

6. Test your program to see that the Request and Reply, and the PM work. Use the Go Testing program for doing this.

7. User Requests should include a Request to join the Chat Room, get and display unseen messages including PM.

8. Use the Go RPC package for implementing remote procedure calls in Go including the implementation of a client-server interface with the server by the client.

9. Register the program with an HTTP handler in the RPC package and turn the terminal program into a Web Service that handles HTTP requests through a TCP Listener. See HandleHTTP and DialHTTP in Go RPC package. 

Submit the Go source code, a ReadME file with the compile and run options that you use, and submit a file containing the sequence of input strings that you use as client messages to the Chat server. Zip the files submitted into one .zip file using 7-zip.  

Here, you can get a writer to help you with a variety of written assignments. We write essays, research papers, term papers, coursework, article critique, annotated bibliography, reaction paper, research proposal, discussion, and even dissertations. The service is available 24/7 and there are more than 200 essay writers to choose from.


If you are seeking for fast and reliable essay help, you got on the right page. Our essay writing services are quick, discrete and professional and it takes only 5 minutes to place an order! After that, it is all handled for you! Once we have your project specifications, we do all the legwork associated with getting your project done by the best writer possible in the shortest amount of time.

Need a similar solution fast and written from scratch? Place your order now!

PLACE YOUR ORDER