subject

In the first week of your job, you are asked to build a distributed system to execute jobs in a priority sequence. Each job has a unique identifier.

You must be able to:

Insert a job, according to its associated priority.

Delete a job, based on its identifier.

Return the identifier of the highest-priority job waiting to run.

Return a list of all jobs in the queue, ordered from top priority to least priority.

Return the number of jobs that are waiting in the queue.

a) Write the RESTful API endpoint definition of the above functionality.

For example: GET .../api name?[parameters]

b) How would you ensure data consistency in your system?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Consider the series where in this problem you must attempt to use the ratio test to decide whether the series converges. compute enter the numerical value of the limit l if it converges, inf if it diverges to infinity, minf if it diverges to negative infinity, or div if it diverges but not to infinity or negative infinity.
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
The word window is an example of a /an
Answers: 1
question
Computers and Technology, 25.06.2019 06:20
If you want to change the speed of a layer's horizontal scrolling, what should you change? a. the x coefficient b. the y coefficient c. the virtual width d. the order of the game's layers select the best answer from the choices provided
Answers: 2
You know the right answer?
In the first week of your job, you are asked to build a distributed system to execute jobs in a prio...
Questions
question
History, 09.09.2020 23:01
question
Biology, 09.09.2020 23:01
question
Mathematics, 09.09.2020 23:01
question
Mathematics, 09.09.2020 23:01
question
Social Studies, 09.09.2020 23:01
question
Mathematics, 09.09.2020 23:01
question
Mathematics, 09.09.2020 23:01
question
Mathematics, 09.09.2020 23:01
Questions on the website: 13722363