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, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
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
Chemistry, 27.06.2019 23:00
question
Mathematics, 27.06.2019 23:00
question
Biology, 27.06.2019 23:00
Questions on the website: 13722363