Create a java program that performs distributed systems task

Assignment Help JAVA Programming
Reference no: EM13803029

Can someone create a Java program that performs the following distributed systems tasks? This should be easy for a Java programmer.

The following tasks should be performed within the code:

-Seqeuncing
This means a Task cannot complete until another task is fulfilled, example
T1->T2->T3
this means transaction 2 cannot happen unless T1 is done, as well as T3 cannot happen until T2 is done.

-parallelism
The tasks here are done in parallel
T1 and T2 are done together (T1||T2)
or chain parallel (T1||T2||T3) means all three transactions are done together
T1||T2->T3||T4
this means that both T3 and T4 can't start in parallel until both T1 and T2 are done in parallel.

-Nesting
this task is self-explanatory, you can use both parallelism and seqeuencing .

-hard wired tasks
here I need you to help me express, at a basic level, what a task does.
T1 = some calculations
this assignment is about building a data structure and generating a SCHEDULE for the task graph, calculation is one of:
sum N - sum the numbers from 1 to N in a loop. N can be up to 64-bit integers.
sleep N - sleep for N seconds using system sleep.
T1 ::= sleep 15
Defines a task T1 that sleeps for 15 seconds.
T2 ::= sleep 10
Defines a task T2 that sleeps for 10 seconds.
T3 ::= sum 10000000
Defines a task T3 that sums the numbers from 1 to 10000000
you can come up with an input, an example of an input would be :
T1 -> T2 || T3 -> T4
T1 := sleep 10
T2:= sleep 50
T3 := sum 100000
T4:= sum 1000000
A second more complex example would be :
T1-> (T2 -> T3 || (T4 -> T5)) -> T6
T1:= sleep 10
T2 := sleep 50
T3 := sum 100000
T4:= sum 1000
T5 := sleep 25
T6 := sum 10000010

Reference no: EM13803029

Questions Cloud

Accurate and functional markup code : Demonstrate the following characteristics: Effective file management, Accurate and functional markup code and Effective and functional navigation
What is strategic management of technology : What is strategic management of technology
About on cloning : The topic should be on cloning
Popular environmental slogan : In the 1980s a popular environmental slogan was "Reduce, Reuse and Recycle" and now "Go Green," is a popular message. Consider the Reusable Grocery Bags sold in markets everywhere.
Create a java program that performs distributed systems task : Can someone create a Java program that performs the following distributed systems tasks? This should be easy for a Java programmer
How i manage conflict productively with family : How I manage conflict productively or unproductively with family, work, or dating relationships. How managing conflict in my life has been effective or ineffective.
Article critique-talking styles : Use the ProQuest database to locate and read the article entitled, "Shared Talking Styles Herald New and Lasting Romance". Then, visit the Language Style Matching website and, using sample written communication between you and another person, foll..
The study on the effectiveness of the hiv and aids : study explores the effectiveness of the HIV and AIDS
Write the matlab code to create the vector : Write the MATLAB code to create the vector [2,4,6,...,98,100] and store it in a variable named x(Hint: There is a shorthand notation for regularly spaced vectors)

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