I would like to download a binary file over HTTP and found a good question with several references and examples here
The question is how to make this multi threaded? Im using PUMA as webserver so assuming it is already multi threaded but how to make this sure?
The method that would write the binary would accept 1 argument ("filename") and would store it that way. The method would be called from outside http://myapp/record_file/myfilename So multiple requests to this method could be made at the same time.
How would one handle performance issues in this case? Any tips suggestions advice on how to best approach this?