Implement distributed system facility

Assignment Help Operating System
Reference no: EM13908740

This is the Programming Assignment in UNIX-C language using RPC (Remote Procedure Calls) The client and server should communicate via the RPC mechanism.

In this assignment you will implement a distributed system facility based on Client-Server programming.

A client submits a request for processing, and the server takes care of executing the request. The client and server processes will be on different machines. In this case, the server is a stateful server.

The client and server should communicate via the RPC mechanism. More information on programming RPC is available in the online book Interprocess Communications in Linux®: The Nooks & Crannies (available through CSU at the Safari online library at oreilly.com), by doing a web search for RPC, rpcgen etc.

The facility you will implement is a subset of a banking ATM system's functionality. You should implement remote functions that a program can call to create an account (identified by an integer ID#), add money to an account (two parameters, both integers - the amount, and the account ID#), withdraw money from an account (two parameters, both integers - the amount, and the account ID#), and inquiry (one parameter - the account ID#).

All errors (account doesn't exist, not enough money in account to cover withdrawal, etc.) must be handled and communicated to the client. You need to create the server procedures and a test program to show how your API works. Use multiple clients on multiple machines as part of your test procedure. Include error checking as part of your program.

Reference no: EM13908740

Questions Cloud

Compute the net operating income for first year of operation : Using the given information, compute the net operating income (NOI) for the first year of operations. Include capital expenditures as an expense.
Compute the various measures of typicality : The ages (in years) of Academy Award (Oscar) winners for Best Actress and Best Actor are given. Compute the 1) various measures of typicality, 2) measures of spread
Structure plan in matlab : Tic-Tac-Toe (a.k.a. Noughts and crosses) is a game played by two players (‘X' and ‘O') on a 3x3 grid. In MATLAB, use a 3x3 cell array to hold the board information. Take it in turns to play the game, inserting ‘X's and ‘O's at various spots. Imple..
Display currency conversion for us dollar : Write a MATLAB script to display currency conversion for US Dollar, British Pound, Euro with Singapore Dollar as the base Currency. Your output should show the equivalent values for USD, GBP, EURO for every Singapore dollar in increments of 1 doll..
Implement distributed system facility : In this assignment you will implement a distributed system facility based on Client-Server programming -  The client and server processes will be on different machines. In this case, the server is a stateful server.
Predict the level of the ocean : Write a mathematical expression that would predict the level of the ocean at this beach at any time of the day. Find times in the day when the ocean level is exactly at sea level.
Is the prospect a positive npv using roe as the hurdle rate : Using tax cash flows and no debt (pure equity), is prospect a positive NPV using ROE as the hurdle rate? Using the after tax cash flows and the firm's WACC, is this project desirable? Explain how you came to this conclusion.
What would be the range of the mean : If you want to make a claim about the mean length of the manufactured steel beams with 99% confidence, what would be the range of the mean - Find the error in the claim that the average length of the beam is 12 feet.
Question regarding the intervalsum : Write a function named intervalSum. This function must not accept arguments but it will ask the user to input two integers m and n and calculate and display the sum of all the integers from min(m, n) to max(m, n)

Reviews

Write a Review

Operating System Questions & Answers

  Why is it that threads are faster

Why is it that threads are faster to create than processes? What advantage do kernel threads provide over user threads? Give an example of a user thread package.

  Question about vpn communications

Discuss how routers and firewalls and IDSs inspect inbound and outbound traffic and explain how we use those features to our benefits in securing the network.

  Data abstraction for health it applications

Choose one database design model and discuss the benefits that model would bring to health information technology applications.

  Give an illustration where strict 2 phase locking is

question 1 give an example where strict 2 phase locking is followed but the resulting schedule leads to deadlock.

  Currently the atm is idle

Currently the ATM is idle. Find the probabilities that, in 3 minutes, the ATM will be idle; will be serving one customer with no one in the queue; will be serving one customer with one customer waiting in the queue

  The number of data items being manipulated

A function of n, the number of data items being manipulated. For each expression, determine the dominant term and then classify the algorithm in big-O terms.

  Communication of processes and process synchronization

Multi-processes programming - multithread programming and communication of processes and process synchronization

  Priority scheduling in operating system

priority scheduling in operating system

  Unix system calls and library functions

CS4760 Operating Systems, Unix System Calls and Library Functions, The goal of this homework is to become familiar with the environment in hoare while practising system calls.

  Relative merits of optimistic versus conservative concurrenc

Q/ Describe the  Q/ Describe the relative merits of optimistic versus conservative concurrency control under different rates of contention among updates. under different rates of contention among updates.

  Java application using the java semaphore

Implementation for problem must only use the semaphore methods to control the concurrency of your solution - Implement a solution to this problem as a Java application using the Java semaphore

  Estimate maximum aggregate i/o transfer rate

A 32-bit computer has two selector channels and one multiplexor channel. Each selector channel supports two magnetic disk and two magnetic tape units.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd