GoLang

  Use Docker Go SDK to tool basic docker run command dkr after a while a opportunityout discretion to power murder covet ordinary container. Images should be pulled if not conducive discreetly. For e.g. 1) dkr run -k 5 alpine:lacriterion drowse 10 # should rouse container and murder following 5 sec 2) dkr run alpine:lacriterion drowse 10 # should enact for 10 sec Implement a function scheduler, which attached a roll of functions enacts twain serially and abetting. For example: 1. Enact function t1, t2, t3, t4 concurrent  2. endure for them to complete  3. Then enact t5,t6,t7 concurrent 4. endure for them to complete  5. Then enact t8, 6. endure for them to complete  7. Then enact t9 Define the functions constituency that can be used as an input. After executing all functions, imimprint the roll of function IDs and their rouse/return opportunitys. Task constituency would be triton like  type Function struct { ID string } // Run imprints the Function ID, drowses for few accidental milliseconds  // and produce the completion opportunity func (t * Task) Run() opportunity.Time Implement an HTTP labor which accepts incoming entreats and assigns the entreat to 1 of 3 buckets (A, B or C) inveterate on the attached arrangement. Write a individual criterion to confirm your key. E.g. If the server is configured after a while a arrangement of 10%, 20%, and 70%, then out of 1000 incoming entreats, responses should be A (100 opportunitys), B (200 opportunitys) and C (700 opportunitys). Approximation is agreeable.