Friday, January 25, 2013

[Rails] Re: Access Client's File System from Rails application deployed at Heroku (for instance)

Thank you, Jordon and Dave.

I apologize if I am unclear. My question was to access client's local
file system, not the Heroku's. I wonder if your answer still sticks to
'NO'.

S3 is not an option for me right now, because the application would
require user to save the video clip and get ready for another clip in a
matter of 20-30 seconds. Also, the application would be used in an area
where the internet speed is not that high (about 128 kbps). So, I want
to minimize the network traffic as much as possible.

Regards,
Sagar

Dave Aronson wrote in post #1093867:
> On Fri, Jan 25, 2013 at 9:44 PM, sagar p. <lists@ruby-forum.com> wrote:
>
>> the Rails application gets the location string from
>> the database and opens the matching local file
>> from his or her computer. Is this possible???
>
> To expand on Jordon's "Just no":
>
> Heroku does not provide any local filesystem whatsoever. The only
> files you can count on being there, are what your uploaded application
> initially installs. The whole point of cloud-based automagically
> scaling solutions like Heroku is that (assuming you spring for the
> non-free plans) you get new resources spun up and down as needed.
> Obviously they won't have all the local files that your app has
> created.
>
> HOWEVER...
>
> There is a common solution to this, namely cloud *storage*. Store the
> files on Amazon S3 or some such, and it will be a bit more complex
> than local storage but still quite feasible... and cheap so long as
> you don't store huge files or a huge number of them.
>
> -Dave
>
> --
> Dave Aronson, the T. Rex of Codosaurus LLC,
> secret-cleared freelance software developer
> taking contracts in or near NoVa or remote.
> See information at http://www.Codosaur.us/.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate