Or it could even be a single task that is invoked when the engine completes a calculation. This would satisfy the requirement of asynchronous-ness (so the engine can just finish, write results to the db, and let a remote worker do the GC).
Or it could even be a single task that is invoked when the engine completes a calculation. This would satisfy the requirement of asynchronous-ness (so the engine can just finish, write results to the db, and let a remote worker do the GC).