Skip to content

amandaay/MultithreadRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multi-threaded Key-Value Store using RPC

Start with a split of 2 different terminals:

One for server and one for client.

In both terminals

cd src

Server Terminal

  1. Compile with javac KeyValueStoreServer.java
  2. java KeyValueStoreServer <Port Number>
  3. Keep in mind that server will keep running unless user terminates with cmd + c or ctrl + c

Client Terminal

  1. Compile with javac KeyValueStoreClient.java
  2. java KeyValueStoreClient <IP> <Port Number>
  3. Use the customized command SHUTDOWN to terminate the client side. In situation where less than 5 operators are executed, it will prompt you to ensure shutdown is requested.

Sample Output

Screenshot 2023-10-21 at 1 46 05 PM Screenshot 2023-10-21 at 1 46 13 PM

Note: Executive Summary is attached separately

ExecutiveSummary.md