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, 21.06.2019 19:20
Number of megabytes of ram in a computer. qualitative or quantitative? because
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is [email protected] -
Answers: 1
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
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
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
Mathematics, 08.04.2020 04:22
question
Mathematics, 08.04.2020 04:22