Re: [Neo4j] How there are lesser writes

2011-07-09 Thread Jim Webber
Hello Aliabbas,

It's domain specific, but in general you write less in a graph db because the 
power is in relationships.

Imagine something akin to Digg where lots of users follow the postings of other 
users. Each time a writer posts something new, all of the followers will 
typically need to be updated. That's very write heavy.

In a graph DB, that's a single write irrespective of how many followers an 
author has (think: updating the head of a linked list of postings).

Easy huh?

Jim


___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #7

2011-07-09 Thread Andreas Wilhelm
Hi,

This week I wrote some overview documentation for the code review, added 
full delete operation for OSMLayer graph model - with relation 
rebuilding of the remaining geom nodes and added some more spatial type 
functions:
ST_Area, ST_Box2D, ST_Buffer, ST_Centroid, ST_Length, ST_MaxX, ST_MinX, 
ST_MaxY, ST_MinY.

Best Regards

Andreas
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] How there are lesser writes

2011-07-09 Thread Peter Neubauer
Hi there,
Just answered in a discussion tangentially mentioning this at Quora,
http://www.quora.com/Which-Relational-NoSQL-approach-will-you-recommend-for-storing-Trees-with-real-time-aggregation-from-child-nodes-to-Parent-nodes/answer/Peter-Neubauer

/peter

Sent from my phone.
On Jul 9, 2011 1:44 PM, Jim Webber j...@neotechnology.com wrote:
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] How there are lesser writes

2011-07-09 Thread Agelos Pikoulas
Hi to all,
I think the power of graph dbs in reading (and especially deep traversal)
operations - check
http://markorodriguez.com/2011/02/18/mysql-vs-neo4j-on-a-large-scale-graph-traversal/

BTW, if we could have the full code of this or some other benchmark
comparing neo4j with the respective in some-sql, would be a great
showcase:-)

Agelos






On Sat, Jul 9, 2011 at 3:50 PM, Peter Neubauer neubauer.pe...@gmail.comwrote:

 Hi there,
 Just answered in a discussion tangentially mentioning this at Quora,

 http://www.quora.com/Which-Relational-NoSQL-approach-will-you-recommend-for-storing-Trees-with-real-time-aggregation-from-child-nodes-to-Parent-nodes/answer/Peter-Neubauer

 /peter

 Sent from my phone.
 On Jul 9, 2011 1:44 PM, Jim Webber j...@neotechnology.com wrote:
 ___
 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] web application and neo4j hosting

2011-07-09 Thread Rick Bullotta
...if you want durable storage, via EBS, yes.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of noppanit
Sent: Saturday, July 09, 2011 10:37 AM
To: user@lists.neo4j.org
Subject: [Neo4j] web application and neo4j hosting

Hi, 

I'm writing an web application with neo4j, but I'm not sure if any hosting
support read/write local files? 

Does amazon ec2 support that?

Thanks.

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154806.html
Sent from the Neo4J User List 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] Neo4J or MYSQL Cluster

2011-07-09 Thread Agelos Pikoulas
Hi to all,

Michael, may I also humbly suggest Raffi has a good look at The Spring Data
Graph http://www.springsource.org/spring-data/neo4j and the sample cineasts
web app https://github.com/jexp/cineasts which show a standard web app,
with social-ready capabilities (eg recommendations) build entirely on top of
neo4j.

With respect

A'



On Fri, Jul 8, 2011 at 10:24 PM, Michael Hunger 
michael.hun...@neotechnology.com wrote:

 Every interconnected data is actually a graph and for an e-comm site you
 have even more of them.

 Category trees, price-lines, customer purchases and likes, recommendations,
 product instances (of basic product types + attribute sets) etc.

 And much more.

 We also have experience in team in building java based e-commerce sites
 (but not based on Neo4j (yet)).

 There is a simple e-com example using neo4j for product categories on the
 wiki  blog.

 http://blog.neo4j.org/2010/03/modeling-categories-in-graph-database.html
 http://wiki.neo4j.org/content/Warehouse

 Please ping us if you have more questions.

 Cheers

 Michael

 Am 08.07.2011 um 21:15 schrieb etc3:

  We are planning to build an e-comm site using MySQL as the backend
 database
  (Java middle-tier and presentation). The website is basic in terms of
 e-comm
  functionality; items, users, orders, etc. are the main entities. We want
 to
  plan for the future and ensure that we can scale up quickly based on
  increased usage of the site. We don't like MYSQL Cluster because, based
 on
  our findings, it does not scale well. The No-SQL databases (MongoDB,
 Couch)
  are nice, but don't support multi-record atomic transactions. Neo4J
 appears
  to be the best of both worlds since it scales and supports transactions.
 The
  only things that seems out of place for our use of Neo4j is that our data
  does not fit the social-graph model in the pure sense, nevertheless,
 I'm
  sure Neo4j would still work, but we wanted to get the community's take on
  our application of it in this scenario.
 
 
 
  Thank you
 
  Raffi
 
  ___
  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 mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] web application and neo4j hosting

2011-07-09 Thread noppanit
Would you mind if I ask this question, what is the difference between S3 and
EBS?

Thank you. 

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154841.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4J or MYSQL Cluster

2011-07-09 Thread etc3
Spring Data Graph is the Hibernate-like ORM layer for Neo4j, where
annotations are used to define relationships and links?

Raffi

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Agelos Pikoulas
Sent: Saturday, July 09, 2011 10:45 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Neo4J or MYSQL Cluster

Hi to all,

Michael, may I also humbly suggest Raffi has a good look at The Spring Data
Graph http://www.springsource.org/spring-data/neo4j and the sample cineasts
web app https://github.com/jexp/cineasts which show a standard web app,
with social-ready capabilities (eg recommendations) build entirely on top of
neo4j.

With respect

A'



On Fri, Jul 8, 2011 at 10:24 PM, Michael Hunger 
michael.hun...@neotechnology.com wrote:

 Every interconnected data is actually a graph and for an e-comm site 
 you have even more of them.

 Category trees, price-lines, customer purchases and likes, 
 recommendations, product instances (of basic product types + attribute
sets) etc.

 And much more.

 We also have experience in team in building java based e-commerce 
 sites (but not based on Neo4j (yet)).

 There is a simple e-com example using neo4j for product categories on 
 the wiki  blog.

 http://blog.neo4j.org/2010/03/modeling-categories-in-graph-database.ht
 ml http://wiki.neo4j.org/content/Warehouse

 Please ping us if you have more questions.

 Cheers

 Michael

 Am 08.07.2011 um 21:15 schrieb etc3:

  We are planning to build an e-comm site using MySQL as the backend
 database
  (Java middle-tier and presentation). The website is basic in terms 
  of
 e-comm
  functionality; items, users, orders, etc. are the main entities. We 
  want
 to
  plan for the future and ensure that we can scale up quickly based on 
  increased usage of the site. We don't like MYSQL Cluster because, 
  based
 on
  our findings, it does not scale well. The No-SQL databases (MongoDB,
 Couch)
  are nice, but don't support multi-record atomic transactions. Neo4J
 appears
  to be the best of both worlds since it scales and supports transactions.
 The
  only things that seems out of place for our use of Neo4j is that our 
  data does not fit the social-graph model in the pure sense, 
  nevertheless,
 I'm
  sure Neo4j would still work, but we wanted to get the community's 
  take on our application of it in this scenario.
 
 
 
  Thank you
 
  Raffi
 
  ___
  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 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] web application and neo4j hosting

2011-07-09 Thread Rick Bullotta
Simplest difference is that EBS volumes are like storage devices that can be 
mounted to a running instance and provide file system functionality.  S3 is 
more a general purpose durable storage engine, but doesn't directly allow 
mounting it is a file system. There are some hacks/3rd party ways to do it, but 
I'd avoid them for Neo4J usage.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of noppanit
Sent: Saturday, July 09, 2011 10:51 AM
To: user@lists.neo4j.org
Subject: Re: [Neo4j] web application and neo4j hosting

Would you mind if I ask this question, what is the difference between S3 and
EBS?

Thank you. 

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154841.html
Sent from the Neo4J User List 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] web application and neo4j hosting

2011-07-09 Thread Rick Bullotta
Oops - meant to say S3 doesn't directly allow mounting it *as* a file system. 
 Also, S3 can be used as a backup/snapshot mechanism for EBS volumes.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of Rick Bullotta
Sent: Saturday, July 09, 2011 10:59 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] web application and neo4j hosting

Simplest difference is that EBS volumes are like storage devices that can be 
mounted to a running instance and provide file system functionality.  S3 is 
more a general purpose durable storage engine, but doesn't directly allow 
mounting it is a file system. There are some hacks/3rd party ways to do it, but 
I'd avoid them for Neo4J usage.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of noppanit
Sent: Saturday, July 09, 2011 10:51 AM
To: user@lists.neo4j.org
Subject: Re: [Neo4j] web application and neo4j hosting

Would you mind if I ask this question, what is the difference between S3 and
EBS?

Thank you. 

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154841.html
Sent from the Neo4J User List 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
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4J or MYSQL Cluster

2011-07-09 Thread Agelos Pikoulas
Yeap

On Sat, Jul 9, 2011 at 5:53 PM, etc3 e...@nextideapartners.com wrote:

 Spring Data Graph is the Hibernate-like ORM layer for Neo4j, where
 annotations are used to define relationships and links?

 Raffi

 -Original Message-
 From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org]
 On
 Behalf Of Agelos Pikoulas
 Sent: Saturday, July 09, 2011 10:45 AM
 To: Neo4j user discussions
 Subject: Re: [Neo4j] Neo4J or MYSQL Cluster

 Hi to all,

 Michael, may I also humbly suggest Raffi has a good look at The Spring Data
 Graph http://www.springsource.org/spring-data/neo4j and the sample
 cineasts
 web app https://github.com/jexp/cineasts which show a standard web app,
 with social-ready capabilities (eg recommendations) build entirely on top
 of
 neo4j.

 With respect

 A'



 On Fri, Jul 8, 2011 at 10:24 PM, Michael Hunger 
 michael.hun...@neotechnology.com wrote:

  Every interconnected data is actually a graph and for an e-comm site
  you have even more of them.
 
  Category trees, price-lines, customer purchases and likes,
  recommendations, product instances (of basic product types + attribute
 sets) etc.
 
  And much more.
 
  We also have experience in team in building java based e-commerce
  sites (but not based on Neo4j (yet)).
 
  There is a simple e-com example using neo4j for product categories on
  the wiki  blog.
 
  http://blog.neo4j.org/2010/03/modeling-categories-in-graph-database.ht
  ml http://wiki.neo4j.org/content/Warehouse
 
  Please ping us if you have more questions.
 
  Cheers
 
  Michael
 
  Am 08.07.2011 um 21:15 schrieb etc3:
 
   We are planning to build an e-comm site using MySQL as the backend
  database
   (Java middle-tier and presentation). The website is basic in terms
   of
  e-comm
   functionality; items, users, orders, etc. are the main entities. We
   want
  to
   plan for the future and ensure that we can scale up quickly based on
   increased usage of the site. We don't like MYSQL Cluster because,
   based
  on
   our findings, it does not scale well. The No-SQL databases (MongoDB,
  Couch)
   are nice, but don't support multi-record atomic transactions. Neo4J
  appears
   to be the best of both worlds since it scales and supports
 transactions.
  The
   only things that seems out of place for our use of Neo4j is that our
   data does not fit the social-graph model in the pure sense,
   nevertheless,
  I'm
   sure Neo4j would still work, but we wanted to get the community's
   take on our application of it in this scenario.
  
  
  
   Thank you
  
   Raffi
  
   ___
   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 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 mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] web application and neo4j hosting

2011-07-09 Thread noppanit
Thank you very much, however, anyone has experience deploying neo4j app to
EC2 and EBS? May be someone could share some thoughts.

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154887.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] web application and neo4j hosting

2011-07-09 Thread etc3
Does neo4j require a shared-disk across all nodes in a cluster? Is that the
problem with S3?

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Rick Bullotta
Sent: Saturday, July 09, 2011 11:03 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] web application and neo4j hosting

Oops - meant to say S3 doesn't directly allow mounting it *as* a file
system.  Also, S3 can be used as a backup/snapshot mechanism for EBS
volumes.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Rick Bullotta
Sent: Saturday, July 09, 2011 10:59 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] web application and neo4j hosting

Simplest difference is that EBS volumes are like storage devices that can be
mounted to a running instance and provide file system functionality.  S3 is
more a general purpose durable storage engine, but doesn't directly allow
mounting it is a file system. There are some hacks/3rd party ways to do it,
but I'd avoid them for Neo4J usage.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of noppanit
Sent: Saturday, July 09, 2011 10:51 AM
To: user@lists.neo4j.org
Subject: Re: [Neo4j] web application and neo4j hosting

Would you mind if I ask this question, what is the difference between S3 and
EBS?

Thank you. 

--
View this message in context:
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hostin
g-tp3154806p3154841.html
Sent from the Neo4J User List 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
___
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] web application and neo4j hosting

2011-07-09 Thread Rick Bullotta
Can't use S3.  Can use EBS.  And no, Neo4J doesn't require a shared disk, and 
in fact, would probably gack if you used one.  Each HA instance would have its 
own synchronized/eventually consistent storage, which could be backed by EBS if 
needed.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of etc3
Sent: Saturday, July 09, 2011 11:22 AM
To: 'Neo4j user discussions'
Subject: Re: [Neo4j] web application and neo4j hosting

Does neo4j require a shared-disk across all nodes in a cluster? Is that the
problem with S3?

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Rick Bullotta
Sent: Saturday, July 09, 2011 11:03 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] web application and neo4j hosting

Oops - meant to say S3 doesn't directly allow mounting it *as* a file
system.  Also, S3 can be used as a backup/snapshot mechanism for EBS
volumes.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Rick Bullotta
Sent: Saturday, July 09, 2011 10:59 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] web application and neo4j hosting

Simplest difference is that EBS volumes are like storage devices that can be
mounted to a running instance and provide file system functionality.  S3 is
more a general purpose durable storage engine, but doesn't directly allow
mounting it is a file system. There are some hacks/3rd party ways to do it,
but I'd avoid them for Neo4J usage.

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of noppanit
Sent: Saturday, July 09, 2011 10:51 AM
To: user@lists.neo4j.org
Subject: Re: [Neo4j] web application and neo4j hosting

Would you mind if I ask this question, what is the difference between S3 and
EBS?

Thank you. 

--
View this message in context:
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hostin
g-tp3154806p3154841.html
Sent from the Neo4J User List 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
___
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 mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] web application and neo4j hosting

2011-07-09 Thread noppanit
Thanks, I have just subscribed AWS as well.Glad to know that it works. :)

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154926.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] web application and neo4j hosting

2011-07-09 Thread Rick Bullotta
We do that today.  It works fine.  Here's a simple version of what we do:

- We created an AMI that contains our app server + app (which embeds neo)
- For each instance that we provision on EC2 using that AMI, we create an EBS 
volume, and mount it to that instance
- We use a consistent mounting/naming scheme so that we can point the neo 
database to use that path

Rick

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of noppanit
Sent: Saturday, July 09, 2011 11:16 AM
To: user@lists.neo4j.org
Subject: Re: [Neo4j] web application and neo4j hosting

Thank you very much, however, anyone has experience deploying neo4j app to
EC2 and EBS? May be someone could share some thoughts.

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154887.html
Sent from the Neo4J User List 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] Neo4J or MYSQL Cluster

2011-07-09 Thread Michael Hunger
Sure, thanks, of course. I didn't consider it because it is out of his domain ;)

Michael

mobile mail please excuse brevity and typos

Am 09.07.2011 um 16:45 schrieb Agelos Pikoulas agelos.pikou...@gmail.com:

 Hi to all,
 
 Michael, may I also humbly suggest Raffi has a good look at The Spring Data
 Graph http://www.springsource.org/spring-data/neo4j and the sample cineasts
 web app https://github.com/jexp/cineasts which show a standard web app,
 with social-ready capabilities (eg recommendations) build entirely on top of
 neo4j.
 
 With respect
 
 A'
 
 
 
 On Fri, Jul 8, 2011 at 10:24 PM, Michael Hunger 
 michael.hun...@neotechnology.com wrote:
 
 Every interconnected data is actually a graph and for an e-comm site you
 have even more of them.
 
 Category trees, price-lines, customer purchases and likes, recommendations,
 product instances (of basic product types + attribute sets) etc.
 
 And much more.
 
 We also have experience in team in building java based e-commerce sites
 (but not based on Neo4j (yet)).
 
 There is a simple e-com example using neo4j for product categories on the
 wiki  blog.
 
 http://blog.neo4j.org/2010/03/modeling-categories-in-graph-database.html
 http://wiki.neo4j.org/content/Warehouse
 
 Please ping us if you have more questions.
 
 Cheers
 
 Michael
 
 Am 08.07.2011 um 21:15 schrieb etc3:
 
 We are planning to build an e-comm site using MySQL as the backend
 database
 (Java middle-tier and presentation). The website is basic in terms of
 e-comm
 functionality; items, users, orders, etc. are the main entities. We want
 to
 plan for the future and ensure that we can scale up quickly based on
 increased usage of the site. We don't like MYSQL Cluster because, based
 on
 our findings, it does not scale well. The No-SQL databases (MongoDB,
 Couch)
 are nice, but don't support multi-record atomic transactions. Neo4J
 appears
 to be the best of both worlds since it scales and supports transactions.
 The
 only things that seems out of place for our use of Neo4j is that our data
 does not fit the social-graph model in the pure sense, nevertheless,
 I'm
 sure Neo4j would still work, but we wanted to get the community's take on
 our application of it in this scenario.
 
 
 
 Thank you
 
 Raffi
 
 ___
 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 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] web application and neo4j hosting

2011-07-09 Thread Michael Hunger
We got mixed results for large store aws deployments. EBS performance is a bit 
flaky and creates high i/o wait load under pressure. That can be alleviated a 
bit by a raid0 of many ebs volumes.

But you can easily test that for your usecase/requirements with a simple aws 
ec2 setup. There are also preconfigured neo4j AMIs in all regions.

Michael

mobile mail please excuse brevity and typos

Am 09.07.2011 um 17:16 schrieb noppanit noppani...@gmail.com:

 Thank you very much, however, anyone has experience deploying neo4j app to
 EC2 and EBS? May be someone could share some thoughts.
 
 --
 View this message in context: 
 http://neo4j-user-list.438527.n3.nabble.com/web-application-and-neo4j-hosting-tp3154806p3154887.html
 Sent from the Neo4J User List 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] clean database / unit tests

2011-07-09 Thread Patrik Sundberg
I tried building it for 1.4M05 and after some fiddling around with maven it
seemed to build alright. Copied jar and enabled in the config. Restarted
server, and seems to load fine.

Trying to use it I get the message WARNING: Deleted DatabaseL  as
expected, but then I get back code 500 Internal Server Error.

Looking at the code that seems to indicate that this line throws an
exception:
https://github.com/jexp/neo4j-clean-remote-db-addon/blob/master/src/main/java/org/neo4j/server/extension/test/delete/DeleteDatabaseResource.java#L64

Any idea what's going on there?

Another peculiar thing: the webadmin interface suggests it did not delete
things in the DB, rather it created more nodes, properties and
relationships. Highly confusing.. Showing 47 nodes, 126 properties and 31
relationships when there were never that many things there before the
/cleandb call.

Subsequent calls to /cleandb outputs that nothing is deleted (still
returning code 500 though). Leaves me thinking it's the webadmin that is
confused rather than that it didn't clean the db.

Left confused.


On Fri, Jul 8, 2011 at 9:19 PM, Michael Hunger 
michael.hun...@neotechnology.com wrote:

 Even then I don't think that left over relationship types do any damage in
 testing.

 The addon has a way to delete the database completely but that's only used
 for large db's (10k nodes). I could make it accessible programmatically.
 But I don't think it's worth the effort.

 Cheers

 Michael

 Am 08.07.2011 um 22:13 schrieb Mattias Persson:

  Relationship types are never deleted from a neo4j database. That's
 because
  it doesn't track (globally) how many relationships there are of any given
  type, so deleting a type when there are no more such relationships left
  isn't possible and pretty much only useful in cases like these, for
 testing.
 
  2011/7/8 Boris Kizelshteyn bo...@popcha.com
 
  I just started using this myself and it's pretty great except that it
 seems
  to leave behind the relationship types:
 
  curl -v GET http://localhost:7474/db/data/relationship/types
 
  I'm on 1.3, any thoughts?
 
  Thanks!
 
  On Fri, Jul 8, 2011 at 11:56 AM, Patrik Sundberg
  patrik.sundb...@gmail.comwrote:
 
  great, just what i was looking for.
 
  thanks
 
 
  On Fri, Jul 8, 2011 at 3:37 PM, Jim Webber j...@neotechnology.com
  wrote:
 
  Hi Patrik,
 
  Michael Hunger's add-on is what you need:
 
  https://github.com/jexp/neo4j-clean-remote-db-addon
 
  I believe it'll be packaged by default with our next release (but
  totally
  disabled!).
 
  Jim
 
  On 8 Jul 2011, at 15:32, Patrik Sundberg wrote:
 
  Hi,
 
  Is there a good way to ensure I have a clean database? I'm thinking
  in
  the
  context of running some unit tests, I'd like to have some
  setup/teardown
  hooks that ensures a clean database for various tests.
 
  I'm thinking for a client using the REST API here. I can see how I
  could
  write a plugin that is exposed via REST that deletes all nodes and
  rels,
  was
  just wondering if someone has already done this?
 
  Thanks,
  Patrik
  ___
  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 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
 
 
 
 
  --
  Mattias Persson, [matt...@neotechnology.com]
  Hacker, Neo Technology
  www.neotechnology.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

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] neo4j unable to lock store

2011-07-09 Thread noppanit
I've got this error from time to time. 

java.lang.IllegalStateException: Unable to lock store
[web-app/WEB-INF/resources/db/neostore], this is usually caused by another
Neo4j kernel already running in this JVM for this particular store

Is there any way I could prevent this from happening? 

Thanks a lot. :)

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/neo4j-unable-to-lock-store-tp3155312p3155312.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j unable to lock store

2011-07-09 Thread noppanit
This only happens in Grails, If I use Java, it runs fine. 

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/neo4j-unable-to-lock-store-tp3155312p3155318.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] What to do with Unable to lock store?

2011-07-09 Thread noppanit
If I got this error what should I do with it, does it mean that the database
is corrupted? 

java.lang.IllegalStateException: Unable to lock store
[web-app/WEB-INF/resources/db/neostore], this is usually caused by another
Neo4j kernel already running in this JVM for this particular store

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/What-to-do-with-Unable-to-lock-store-tp3155717p3155717.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] What to do with Unable to lock store?

2011-07-09 Thread noppanit
Hi! 

Actually, it occurs when I deploy to Amazon EC2, which I don't have multiple
neo4j instances running. BTW, how can I check if there are multiple neo4j
instances?

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/What-to-do-with-Unable-to-lock-store-tp3155717p3155728.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC 2011 Weekly report - OSM data mining and editing capabilities in uDig and Geotools

2011-07-09 Thread Mirco Franzago
== Weekly report==

Hi all,
last week we started the task of adding catalog commands for configuring
dynamic layers on OSM datasets. I completed that task, so now from a neo4j
catalog in udig, we can list all spatial layers found in a neo4j-spatial
database, and we have the complete sets of commands to add/edit/remove
dynamic layers from the spatial layers found. It's possible to create new
dynamic layer based on a query CQL, or using a comma-separated value=key
pairs to add dynamic layers to OSM layers. For the next week the task will
be to write a new renderer for the OSM graph model.

Code repositories:
https://github.com/mircofranzago/neo4j
https://github.com/mircofranzago/neo4j-spatial
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user