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

  Explain the elements and capabilities of a fault

Discuss briefly the network management software components and describe the elements and capabilities of a fault, configuration, accountingn and security server.

  Fragmentation on a storage device

Fragmentation on a storage device could be eliminated by re-compaction of the information. Typical disk devices do not have relocation or base registers (such as are used when memory is to be compacted)

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Creating programs to compute

Compare zero-, one-, two-, and three-address machines through writing programs to compute X = (A+B X C)/D - E X F)

  Describe the buddy system of memory allocation

Define latency, transfer and seek time with respect to disk I/O. Describe the Buddy system of memory allocation.

  Identify one reason indexes are useful

Describe what you would have to do if indexes weren't available in order to get the reason you initially stated and how the query optimizer generates and selects a query plan.

  Q1 - technical essay describe and critically evaluate the

q1 - technical essay describe and critically evaluate the similarities between the windows and unix operating systems

  Using international project management as a topic1 use

using international project management as a topic1. use three different search engines to obtain information.2. how do

  In working out your responses to the discussion question

in working out your responses to the discussion question you should choose examples from your own experience or find

  What characteristics do mainframe operating systems have

What are the fundamental differences between Windows®, Mac OS®, UNIX, and Linux operating systems for personal computers? What unique characteristics do mainframe operating systems have?

  Web security threats

Think about the given threats to Web security and explain how each is countered by a particular feature of SSL.

  Write a program that will accept the names of 3 processes

Write a program that will accept the names of 3 processes as command-line arguments. Each of these processes will run for as many seconds as: (PID%10)*2+3 and terminate.�

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