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

  Efficient way of transferring files over the internet

What is an efficient way of transferring files over the Internet? What is the default shell that is used by most versions of Linux called? What is the command that will move the file /cust/newdata to /archive/olddata

  Define the term context switch

Define the term context switch. Explain how context switching takes place. (use a diagram, with two processes)

  Deadlock to occur in multiprogramming environment

List the reasons which causes deadlock to occur in multiprogramming environment and discuss how can the deadlock detection algorithm for one resource find out if a deadlock exists in the above sequence

  Question 1a one major problem about process synchronization

question 1a one major problem about process synchronization is called race condition. explain what race condition is

  Explain the concept of locality of reference

1. Explain the concept of locality of reference and state its importance to memory systems.

  How much cylinder skew is needed for an oceangate disk

How much cylinder skew is needed for an oceangate disk operating at 20,000 rpm(new series for the christmas promotions) which has a seek time of 0.5 milliseconds? This disk has 800 sectors of 512 bytes each on each track?

  Value in managing security and risk

Explain ISO 27001's value in managing security and risk. What are the drawbacks and benefits for obtaining ISO 27001 certification?

  A- please answeronly two ofnbsp the following questions

a- please answeronly two ofnbsp the following questions that are related to the file

  Evaluating performance improvement options

Processor X has a clock speed of 2Ghz and takes one cycle for integer operations, two cycles for memory operations, and four cycles for floating point operations.

  Analyze contemporary operating systems

Perform Internet research to review at least 3 contemporary operating systems (OS). Choose at least one Mac and one Windows OS, along with one of the following OS kinds.

  Commands to help root in managing users and groups

Write other commands, tools are available to help the ROOT in managing users and groups from command line or within a script.

  Create algorithm which prevents deadlock using one semaphore

Using exactly one semaphore, create an algorithm which prevents deadlock. Do not be concerned about starvation and inefficiency.

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