Ruby on Rails Sunday, July 31, 2016

On Sunday, July 31, 2016 at 4:50:23 PM UTC+1, Tomasz Antas wrote:
> I'm looking for the general concept, but every tip can be useful. The client (mobile) has to send a large file to Rails API. It's a some text file with raw data.
> How can the Rails API get the large file from client? Should it be done by HTTP request, websockets? Should the files be sent in chunks?

This obviously depends on your setup but I would probably have the client send the file straight to s3 and process it asynchronously

Fred

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/15424a64-479b-405a-a0b4-b34d2d037afe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment