On Wed, Aug 11, 2010 at 3:43 PM, Richard Conroy <richard.con...@gmail.com>wrote:

> On Mon, Aug 9, 2010 at 6:41 PM, Jacob Hodes <jho...@gmail.com> wrote:
>
>> Hi,
>>
>> I'm developing a Rails app that makes use of a command-line tool
>> called Graphviz (http://www.graphviz.org). Changes get made in the
>> Rails app, then a background job is fired which runs graphviz as a
>> system command. graphviz generates a graph and saves it to a file.
>> Then I upload the file back into my Rails app.
>>
>> I know Heroku's filesystem is read-only, no ssh access, etc. Given
>> these limitations, what's the best approach to take?
>>
>> I see I can use S3 for file storage. But how about finding a way to
>> use this command-line utility? I'm highly doubting Heroku would
>> install such a thing, right? Any alternative ideas?
>>
>
> One idea I can think of is to wrap GraphViz in a web service and install it
> in a seperate hosting service.
>

To this end, you can always spin up an EC2 instance. Since Heroku dynos are
hosted on EC2, you can talk to any other machines over private IP addresses.
You just need to allow the Heroku security group.


> An alternative idea: Heroku lets you use sqlite/memory databases. Its not
> a supported option, but they do work, and I would say the limitations are
> severe (I doubt Delayed Jobs would see them).
>
> You could upload the information that GraphViz needs to process into the
> DB.
> I am uncertain how you could get the GraphViz CLI app to use it, but
> perhaps
> GraphViz has a library/gem which has less restrictive use?
>
>
>> Thanks for your thoughts,
>> Jacob
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Heroku" group.
>> To post to this group, send email to her...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en.
>>
>>
>
>
> --
> http://richardconroy.blogspot.com
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to her...@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to