Problem regarding the actor computing

Assignment Help JAVA Programming
Reference no: EM13963557

Actor Computing

The actor mail system provides asynchronous buffered communication and does not guarantee that messages (tasks in actor terminology) are delivered in the order they are sent. Suppose actor A sends tasks t1, t2, t3,... , to actor B and we want actor B to process tasks in the order A sends them.

(a) What extra information could be added to each task so that B can tell whether it receives a task out of order? What should B do with atask when it ?rst re- ceives it before actually performing the computation associated with the task?

(b) Because the actor model does not impose any constraints on how soon a task must be delivered, a task could be delayed an arbitrary amount of time. For example, suppose actor A sends tasks t1, t2, t3,..., t100 and actor B receives the tasks t1, t3,..., t50 without receiving task t2. Because B would like to proceed with some of these tasks, it makes sense for B to ask A to resend task t2. Describe a protocol for A and B that will add resend requests to the approach you described in part (a) of this problem.

(c) Suppose B wants to do a ?nal action when A has ?nished sending tasks to

B. How can A notify B when A is done? Be sure to consider the fact that if A sends I'm done to B after sending task t100, the I'm done message may arrive before t100.

Reference no: EM13963557

Questions Cloud

Actual overhead costs for the year : Pinnacle Corp. budgeted $700,000 of overhead cost for the current year. Actual overhead costs for the year were $650,000. Pinnacle’s plant wide allocation base, machine hours, was budgeted at 100,000 hours
Write a brief report that identify surgical operations : To analyse a set of data (in Microsoft Excel), and write a brief report (in Microsoft Word), identifying and explaining your insights into the surgical operations of BestHealth Hospital.
Find general solution r(r) to radial schrodinger equation : Find the general solution R(r) to the radial Schrodinger equation for r r0. Use the fact that the wave function must be finite at 0 and infinity to simplify the solution as much as possible. (You do not have to normalize the solutions)
Prove the efficiency of two carnot engines : Prove that the efficiency of two Carnot engines operating in tandem, one going from a cold reservoir of temperature Tc to a hot reservoir ofTj, then the second going from a cold reservoir of temperature Tj to a hot reservoir of temperature Thmust ..
Problem regarding the actor computing : The actor mail system provides asynchronous buffered communication and does not guarantee that messages (tasks in actor terminology) are delivered in the order they are sent. Suppose actor A sends tasks t1, t2, t3,... , to actor B and we want acto..
What is the book value of aca assets today : ACA Computer Systems's balance sheet lists net fixed asset as $32 million. The fixed assets could currently be sold for $28 million. ACA's current balance sheet shows current liabilities of $12 million and net working capital of $8 million. What i..
Calculate probability that at a later time tf electron spin : At t=0 this field is pointing in the x direction, but it rotates counterclockwise in the x-z plane with angular frequency ω, so that at any later time t this field is at an angle ωt relative to the x-axis:Calculate the probability that at a later t..
Exceptions-memory management and concurrency : This question asks you to compare properties of exceptions in C++ and Java.
Smith-kline company maintains inventory : Smith-Kline Company maintains inventory records at selling prices as well as at cost.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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