I have some clue about this problem. I did face it before, though not
with Neo4j but with other programs that intensive use disks. For
example, my linux box completely frozen by svn update command for huge
projects. The symptoms are same : low CPU load with high iowait ( in
your message, I saw
Check befor update could not help there, because Neo4j does not show
uncommited changes to other transactions, so it's possible to store
the same value in concurrent transactions.
I also tried to figure out how to avoid duplicated values in database.
Seems that it needed some locks on database
We use Neo4j and MySQL for our project, in the JEE environment, with
XA datasource for RDBM + Neo4j JCA connector
https://github.com/alexsmirnov/neo4j-connector that let us to
synchronize transactions between these sources. The prototype
http://www.netoprise.com is far away from production :-),
I use neo4j in Glassfish, with JCA connector (
https://github.com/alexsmirnov/neo4j-connector ), and currently tested
it with Jboss7.
The connector has been created for my startup project (
www.netoprise.com, sorry for horrible design, ot's only 10% done ),
and I plan to convert it to HA connector
Just curious - as I traced down OSGI service loading from the neo4j
Service class it commented out, so the only Java META-INF/services
used in any environment. May be that's the case ?
On Wed, Jul 20, 2011 at 4:55 AM, Jörg Richter j...@deepamehta.de wrote:
Thanks for replies!
Yes, the super
No, that's wrong. To create ( and shut down GraphDatabaseService in
your bean, you should:
1) create @Singleton session bean. In its @PostConstruct method,
create appropriate GraphDataBase service object, and stop it in
@PreDestroy method. You can mark that bean as created on startup, if
you wish
I use jUnit MethodRule that starts embedded server in temporary folder
and cleans up transaction after the test:
public class Neo4jRule extends TemporaryFolder {
private GraphDatabaseService graphDatabase;
private Transaction transaction;
@Override
You can try to implement Google Pregel
http://dl.acm.org/citation.cfm?id=1807167.1807184 algorithm on top of Neo4j
or use existing implementation http://www.goldenorbos.org/
On Tue, Oct 11, 2011 at 3:26 PM, amitp amit.port...@gmail.com wrote:
Hey,
- I'm designing a P2P application in which
8 matches
Mail list logo