For anyone else out there running into this issue: I also ended up with a use case where I wanted to have multiple neo4j instances running on the same box for testing. I ended up putting together this simple node module to streamline the process:
https://github.com/spencerkohan/neo4ji On Sunday, August 18, 2013 6:53:07 AM UTC+2, Joe Zhang wrote: > > Thanks. > > > On Sat, Aug 17, 2013 at 12:32 AM, Michael Hunger < > [email protected] <javascript:>> wrote: > >> 1 .Labels can help you to separate graphs. >> 2. Yes, right now there are no plans on the roadmap to have a different >> "databases" per instance. >> 3. You wouldn't want to run dev and production instance in one server >> anyway, you don't want your dev instance affect your production instance. I >> would run them on separate machines. If you _have_ to run them on the same >> machine, do as you said. >> >> >> On Thu, Aug 15, 2013 at 11:31 PM, Joe Zhang <[email protected] >> <javascript:>> wrote: >> >>> Dear list: >>> >>> I'm sure some variation of the question has been asked before, but I >>> want to make sure I understand the bigger picture. >>> >>> 1. With the advent of Neo4j 2.0, it is quite possible/convenient to >>> store multiple graphs in the same database, using labels. >>> >>> 2. Neo4j only supports one database per instance at this point. >>> >>> 3. If I really need multiple databases (e.g., separating dev and >>> production DB), I'd have to >>> - install multiple instances >>> - each instance runs on different port and stores data in different >>> directory >>> >>> Is my understanding above correct? >>> >>> In the 3rd case, is there going to be any resource conflict issue if the >>> multiple instances run on the same machine? >>> >>> Thanks much. >>> >>> Joe >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Neo4j" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Neo4j" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
