Closed Cloudmersive closed 5 years ago
Also, I cannot believe everything is done via command line parameters. How is this even a framework? This feels like a giant hack.
The way this kind of framework is supposed to work is:
Hey @Cloudmersive - Batch isn't really designed with specific C# integration in mind. It doesn't understand C# dependency trees or know how to automatically upload your dependencies for you.
Also, I cannot believe everything is done via command line parameters. How is this even a framework? This feels like a giant hack.
Command line parameters are used because they are the common denominator between process execution in Windows/Linux. Batch supports running applications which may not have been authored by the person submitting the work - a canonical example is rendering, where the process being launched is the renderer (often a proprietary 3rd party app). Similarly for things like deep-learning/AI tools like tensorflow
are usually configured via the command line with configuration files. Batch is targeting these sorts of HPC (or HPC-like) workflows.
What you're looking for may be something more like Azure Data Factory or Azure Functions.
https://github.com/Azure-Samples/azure-batch-samples/blob/49b490ed7d90b2b16240dddb25b27e951b1de17b/CSharp/TopNWords/Job.cs#L82
See above - This is terrible. The system should DO THIS FOR YOU - how am I supposed to use stuff like this?