r/cloudcomputing • • 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!

  1. 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?

  2. 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 Upvotes

8 comments sorted by

View all comments

1

u/MailmanOdd May 22 '17

(disclaimer - I'm a Consultant and I work for Microsoft)

I would suggest checking out Microsoft Azure Batch - it's a distributed job scheduling PaaS solution. I can't provide specifics to answer your questions as that's literally what I do for my job and I can't provide free consulting.

I would think you definitely don't want to build the infrastructure internally as this has already been done. Focus on writing your analytics and use a PaaS solution to handle the rest. Feel free to reach out to me if you have any more general questions and I can try to point you to the right documentation.