Re: Neo4j

2010-09-23 Thread Stephen Cremin
This is something I'm also very interested in.

Googling, there do seem to be examples of people who have set up their own
Neo4j instances on Amazon's cloud, which would presumably have low-latency
talking to Heroku.

There are some very raw official instructions here:
http://wiki.neo4j.org/content/Neo4j_in_the_Cloud

The official REST interface is still at an early stage of development, and
it might make more sense to implement your own REST interface using a
Sinatra or Rails app in JRuby with the rapidly evolving Neo4j.rb gem:
http://github.com/andreasronge/neo4j/wiki

That would ideally be hosted on Amazon, with your Heroku application
communicating with your data through the REST interface you create. The
advantage of rolling your own, is that your REST interface can be domain
specific.

I'd LOVE to see a Neo4j add-on, but any REST interface offered is going to
be extremely limited. And I'd still need to host an application running
JRuby somewhere to use the descriptive power of the Neo4j.rb gem.

If you make any progress, do post here.

Stephen



On 23 September 2010 16:18, Martin Solli  wrote:

> Is there anyone offering Neo4j instances in the cloud? If so, what are
> your experiences, and have you used it with a Heroku-hosted app?
>
> -martin
>
> --
> 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.
>
>

-- 
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.



Re: upload size limit?

2010-09-23 Thread chris
It's not like you can really store the files on heroku, so you're
probably better off using the flash based approach (linked at the
bottom of the docs) or POSTing the form directly to s3 (directions:
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1434
)

On Sep 23, 1:38 pm, marcel  wrote:
> I'm curious if there is any kind of upload size (or time) limit? I saw
> some old discussions about a 10MB limit, but those are so old I don't
> trust them.
>
> I only found one place in the Heroku docs that "discourages"
> uploading files larger than 4 MB, but its not clear what the real
> limit is.
>
> http://docs.heroku.com/s3

-- 
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.



Re: Passing URL's as params to Sinatra

2010-09-23 Thread hone
Hi,

Can you try using a newer version of rack? I believe this is fixed
here: 
http://github.com/rack/rack/commit/19b12b29f74d9cf61e29ace4a4d47feef46e590e

Thanks,
Terence

On Sep 22, 5:28 pm, Matthew Lang  wrote:
> I have a Sinatra app (http://gist.github.com/592509) that takes a URL
> as a parameter on a route. When I run the app locally, the parameter
> is passed through to the route as expected.
>
> When I deploy the app to Heroku however, the URL I pass as a parameter
> is stripped of a '/' in the protocol section of the URL. So if I pass
> 'http://heroku.com'to the app on Heroku, it comes through to the
> application as 'http:/heroku.com'.
>
> An example of this can be found 
> here:http://freezing-beach-34.heroku.com/backpackit/http://heroku.com
>
> I'm puzzled by the difference in the route's behaviour between the two
> environments. Could this be due to the fact that I'm using Webrick
> locally, but Heroku is using Thin?

-- 
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.



Passing URL's as params to Sinatra

2010-09-23 Thread Matthew Lang
I have a Sinatra app (http://gist.github.com/592509) that takes a URL
as a parameter on a route. When I run the app locally, the parameter
is passed through to the route as expected.

When I deploy the app to Heroku however, the URL I pass as a parameter
is stripped of a '/' in the protocol section of the URL. So if I pass
'http://heroku.com' to the app on Heroku, it comes through to the
application as 'http:/heroku.com'.

An example of this can be found here: 
http://freezing-beach-34.heroku.com/backpackit/http://heroku.com

I'm puzzled by the difference in the route's behaviour between the two
environments. Could this be due to the fact that I'm using Webrick
locally, but Heroku is using Thin?

-- 
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.



upload size limit?

2010-09-23 Thread marcel
I'm curious if there is any kind of upload size (or time) limit? I saw
some old discussions about a 10MB limit, but those are so old I don't
trust them.

I only found one place in the Heroku docs that "discourages"
uploading files larger than 4 MB, but its not clear what the real
limit is.

http://docs.heroku.com/s3

-- 
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.



Neo4j

2010-09-23 Thread Martin Solli
Is there anyone offering Neo4j instances in the cloud? If so, what are
your experiences, and have you used it with a Heroku-hosted app?

-martin

-- 
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.