I need to get data by calling some rest api and then need to perform some operations on it. Api call sometime takes 11 seconds and operations are cpu bound those takes few milliseconds.
Currently I kept everything in task but thinking to split getting data into async actor and computation in task.
I am running this task with single cpu and 1 gb ram.
Suppose I have to run 1000 time this task concurrently then how should I go .
Does this is correct approach or I am making some mistakes.