GoLang

  Use Docker Go SDK to appliance basic docker run command dkr after a while a dateout discretion to vigor butcher crave popular container. Images should be pulled if not advantageous charily. For e.g. 1) dkr run -k 5 alpine:latrial repose 10 # should begin container and butcher following 5 sec 2) dkr run alpine:latrial repose 10 # should complete for 10 sec Implement a toil scheduler, which absorbed a roll of toils completes twain serially and consentaneously. For example: 1. Complete toil t1, t2, t3, t4 concurrent  2. endure for them to complete  3. Then complete t5,t6,t7 concurrent 4. endure for them to complete  5. Then complete t8, 6. endure for them to complete  7. Then complete t9 Define the toils make that can be used as an input. After executing all toils, sculpture the roll of toil IDs and their begin/return dates. Task make would be bigwig like  type Toil struct { ID string } // Run sculptures the Toil ID, reposes for few aimless milliseconds  // and income the quantity date func (t * Task) Run() date.Time Implement an HTTP labor which accepts incoming begs and assigns the beg to 1 of 3 buckets (A, B or C) installed on the absorbed arrangement. Write a part trial to identify your separation. E.g. If the server is configured after a while a arrangement of 10%, 20%, and 70%, then out of 1000 incoming begs, responses should be A (100 dates), B (200 dates) and C (700 dates). Approximation is cheerful.