Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
accessing a neo4j storage from two JVMs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matteo Moci  
View profile  
 More options Oct 5 2012, 5:34 am
From: Matteo Moci <mox...@gmail.com>
Date: Fri, 5 Oct 2012 11:34:53 +0200
Local: Fri, Oct 5 2012 5:34 am
Subject: accessing a neo4j storage from two JVMs
Hello everyone,
I'd like to know if a behaviour like the following can be supported by neo4j.

I have a neo4j graph, used in embedded mode,
that is accessed by two processes in two different JVMs.

The first one is a webapp that opens the graph and is able to search
in the graph's indices
(e.g. full text, exact, etc... ) - this can be done even in a read_only mode;
the second one is a batch process that once a day cleans the database
(clean indexes, remove all vertices and edges)
and writes the latest snapshot of data that should be available for
searching to the other JVM.

The thing that bothers me is that the graph is loaded two times from
the directory (one per JVM),
and I don't know if the read_only supports other JVM to load it and
modify its contents.

Thanks!
Matteo

--
Matteo Moci
http://it.linkedin.com/in/matteomoci
http://about.me/matteomoci/bio


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hunger  
View profile  
 More options Oct 5 2012, 5:54 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Fri, 5 Oct 2012 11:53:44 +0200
Local: Fri, Oct 5 2012 5:53 am
Subject: Re: [Neo4j] accessing a neo4j storage from two JVMs
Why not have just one JVM that owns the db (like the neo4j server) and
offers a remote domain-level API ?

Michael

Am 05.10.2012 um 11:34 schrieb Matteo Moci:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matteo Moci  
View profile  
 More options Oct 5 2012, 5:57 am
From: Matteo Moci <mox...@gmail.com>
Date: Fri, 5 Oct 2012 11:57:09 +0200
Local: Fri, Oct 5 2012 5:57 am
Subject: Re: [Neo4j] accessing a neo4j storage from two JVMs
yes, that could work:
in this case it would offer web services to interact with the graph, right?

On Fri, Oct 5, 2012 at 11:53 AM, Michael Hunger

--
Matteo Moci
http://it.linkedin.com/in/matteomoci
http://about.me/matteomoci/bio

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hunger  
View profile  
 More options Oct 5 2012, 6:37 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Fri, 5 Oct 2012 12:37:05 +0200
Local: Fri, Oct 5 2012 6:37 am
Subject: Re: [Neo4j] accessing a neo4j storage from two JVMs
whatever is suitable

- rmi
- http
- websocket
- binary stream (thrift, protobuf)
- ...

Am 05.10.2012 um 11:57 schrieb Matteo Moci:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matteo Moci  
View profile  
 More options Oct 5 2012, 6:54 am
From: Matteo Moci <mox...@gmail.com>
Date: Fri, 5 Oct 2012 12:54:47 +0200
Local: Fri, Oct 5 2012 6:54 am
Subject: Re: [Neo4j] accessing a neo4j storage from two JVMs
yes, anything that works, thanks!

On Fri, Oct 5, 2012 at 12:37 PM, Michael Hunger

--
Matteo Moci
http://it.linkedin.com/in/matteomoci
http://about.me/matteomoci/bio

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »