Re: [Neo4j] Heroku Beta: Neo4j - A Rails Example?
Hi I agree with your pros and cons using server vs embedded I'm using vps.net and a capistrano script, works like a charm. Also, have a look at the engine yard jruby hosting, which also has a nice web GUI for deployment. sent from my phone On Aug 21, 2011 1:31 AM, pehrlich peter.i.ehrl...@gmail.com wrote: ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Neo4j Rest Server memory configuration
I installed neo4j as a service on linux. Then I configured in the neo4j-community-1.4.1/conf/neo4j-wrapper.conf file following init and max memory: # Initial Java Heap Size (in MB) wrapper.java.initmemory=512 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=768 The top output shows following: PIDUSER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 17408 neo4j 18 0 1188m 155m 11m S0 5.1 2:12.76 java Should neo4j not reserverd 512m memory? What did I wrong? How can I discover If neo4j is running in java server mode? Result of java -version is: OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode). -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Rest-Server-memory-configuration-tp3272360p3272360.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] EXTERNAL: Re: how to use neo4j in server mode w/o using HTTP/REST stuff?
Hi Gautam, What you're describing here is a lot of work - you're creating your own Neo4j server with a binary protocol rather than using the REST API. When I said your application exposes you API I meant that with the embedded APIs you get to build an interface (e.g. Web app, RESTful services, RMI endpoint) that precisely suits your needs. I really don't think it's a good idea in general to try to avoid HA with creative solutions - they'll lead to pain. HA, isn't that complicated (Ian Robinson is about to publish a nice piece on setting up HA on his website: http://iansrobinson.com), and its is free of charge providing you accept the terms of the AGPL. Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Return Node in an unmanaged server plugin
Hi I want to add some logic to add/create node from graph. So I created a Unmanaged Server plugin with a method named getOrCreateNode(@PathParm(id) id) annotated with @POST @Produces( MediaType.JSON_APPLICATION) and @Path( /{id}). My question is how can I return a Node object ?? Should I use the JsonHelper class?? Second question , Where can I find the code for creating / retrieving Nodes using REST in Neo4J project? 10x. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Return-Node-in-an-unmanaged-server-plugin-tp3273004p3273004.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Return Node in an unmanaged server plugin
Hi there, if you want to let the Neo4j Server to take care of the returning and serialization of nodes, just do a managed plugin, see http://docs.neo4j.org/chunked/snapshot/server-plugins.html. Otherwise, with unmanaged extensions you are on your own regarding what you return, any String will do. For the REST API, there are the representation formats used, but you could do anything. What reason is there for you to do an unmanaged extension when you just want to return nodes? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Aug 21, 2011 at 5:42 PM, shlomyb ssbb1...@gmail.com wrote: Hi I want to add some logic to add/create node from graph. So I created a Unmanaged Server plugin with a method named getOrCreateNode(@PathParm(id) id) annotated with @POST @Produces( MediaType.JSON_APPLICATION) and @Path( /{id}). My question is how can I return a Node object ?? Should I use the JsonHelper class?? Second question , Where can I find the code for creating / retrieving Nodes using REST in Neo4J project? 10x. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Return-Node-in-an-unmanaged-server-plugin-tp3273004p3273004.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] TTL or node expiry available ?
Thank Peter for the response. So say I have a social graph which has relationships like A--likesB. So for traversals I want to consider only the recent likes (say which are just 2 days old) and beyond that it could be considered as stale info and I do not want to traverse those edges. The approach is to set the expiration as one of the edge's properties and during traversal check if the expiry time has passed or not. But if there were something like a TTL where the edge expires and removes itself I would not need to check it. On Fri, Aug 19, 2011 at 3:41 PM, sulabh choudhury sula...@gmail.com wrote: Hi, I was wondering if there is any notion of TTL in neo4jcan a node/ relationship be automatically deleted after a certain amount of predefined time ? -- -- Thanks and Regards, Sulabh Choudhury ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] TTL or node expiry available ?
Ahh ok. the stale connections are possible to totally discard? then you could monitor this in some way - maybe putting them into an index structure and checking for stale elements as you add new ones or so? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Aug 21, 2011 at 9:06 PM, sulabh choudhury sula...@gmail.com wrote: Thank Peter for the response. So say I have a social graph which has relationships like A--likesB. So for traversals I want to consider only the recent likes (say which are just 2 days old) and beyond that it could be considered as stale info and I do not want to traverse those edges. The approach is to set the expiration as one of the edge's properties and during traversal check if the expiry time has passed or not. But if there were something like a TTL where the edge expires and removes itself I would not need to check it. On Fri, Aug 19, 2011 at 3:41 PM, sulabh choudhury sula...@gmail.com wrote: Hi, I was wondering if there is any notion of TTL in neo4jcan a node/ relationship be automatically deleted after a certain amount of predefined time ? -- -- Thanks and Regards, Sulabh Choudhury ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #12
Hello, In the final week I didn?t had much time so I only added some more code documentation. There still things to do and I will continue to working on this even Google Summer of Code is now ending. It was an enjoyable time, I have learned many new things and I would like to thank my mentors Peter and Craig, and OSGeo to give me this chance. Best Regards Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user