GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xjamescui/Distributed-Systems-RPC-Implementation: Distributed Systems Assignment 3: Implementing a RPC system between clients, servers, and a binder

BranchesTags
Open more actions menu

Latest commit

 

History

222 Commits
222 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
CS454A3SystemManual.pdf
CS454A3SystemManual.pdf
 
 
ClientCacheDatabase.cc
ClientCacheDatabase.cc
 
 
ClientCacheDatabase.h
ClientCacheDatabase.h
 
 
README
README
 
 
SkeletonDatabase.cc
SkeletonDatabase.cc
 
 
SkeletonDatabase.h
SkeletonDatabase.h
 
 
binder.c
binder.c
 
 
client1.c
client1.c
 
 
client2.c
client2.c
 
 
debug.h
debug.h
 
 
defines.h
defines.h
 
 
helper.c
helper.c
 
 
helper.h
helper.h
 
 
host_database.c
host_database.c
 
 
host_database.h
host_database.h
 
 
makefile
makefile
 
 
orig_runclient.sh
orig_runclient.sh
 
 
orig_runserver.sh
orig_runserver.sh
 
 
rpc.h
rpc.h
 
 
rpc_client.cc
rpc_client.cc
 
 
rpc_server.cc
rpc_server.cc
 
 
runbinder.sh
runbinder.sh
 
 
runclient.sh
runclient.sh
 
 
runserver.sh
runserver.sh
 
 
runtests.sh
runtests.sh
 
 
server.c
server.c
 
 
server_function_skels.c
server_function_skels.c
 
 
server_function_skels.h
server_function_skels.h
 
 
server_functions.c
server_functions.c
 
 
server_functions.h
server_functions.h
 
 
test_database.c
test_database.c
 
 
test_helper.c
test_helper.c
 
 
test_skeleton_database.cc
test_skeleton_database.cc
 
 

Repository files navigation

+------------+-------------+-------------+
|            |  Member 1   | Member 2    |
+------------+-------------+-------------+
| Name       |  Meng Yang  |  James Cui  | 
| Student Id |  2040 2357  |  2037 8921  |
+------------+-------------+-------------+

Assumptions:
- When a server registers for a second time the same function name 
  with same argTypes, the server loses its place in the round-robin 
  algorithm and is now appended to the end of the queue.


Commands for linking TA's client and server with our rpc library:
1. make sure that you are in the same folder as this README
2. make librpc.a
3. g++ -L. client.o -lrpc -lpthread -o client 
4. g++ -L. server_functions.o server_function_skels.o server.o -lrpc -lpthread -o server

How to run binder:
1. make clean binder && ./binder


Dependencies:
pthread for client since we are using POSIX thread locks for rpcCacheCall


Message Format:
all message format are specified in the manual

About

Distributed Systems Assignment 3: Implementing a RPC system between clients, servers, and a binder

Resources

Readme
Activity

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.