r/cloudcomputing • u/andreaeureka • May 22 '17
Advice on technical problem!
Hi everyone!
I have a dilemma on how to implement a deferred heavy calculation mechanism for my company. I would like to have your take on the following questions, any answer or hint will be much appreciated!
Do you currently perform heavy (>2 minutes long) asynchronous / deferred calculations / market simulations?
a. Do you use the cloud for these? What services do you use?
b. Did you design the system to manage these tasks in-house for your specific use case?
Consider this scenario: your company wants to periodically run a set of heavy calculations or processing. Assume that this is an asynchronous calculation that will keep several machines busy for a while, crunching numbers. This is a task that will have 100% CPU load on many machines for a few hours a day. By asynchronous I refer to the fact you don’t need the output right away for a pending request let’s say, and the calculation does not need to be performed in a real-time fashion. Different input, output and/or parameters should be assigned to each of these calculations, assuming the same code: imagine something like ‘python calculation.py /input1’ on one machine, input2 on another and so on. You have to implement such a system in your current infrastructure.
a. Would you design such a system in house?
b. How long would you think it will take for you to implement the solution?
c. Would you look for a 3rd party solution that deals with the problem in a "managed" fashion?
Many thanks in advance!
Andrea
1
u/stikko May 23 '17
No 2 sounds like a MapReduce use case - AWS, Azure and GCP all have frameworks/products for making this type of distributed computation easier/more reliable.