Re: [Neo4j] [Cypher] ANY() and array properties

2011-11-25 Thread Stephen
Just two things, the examples use `identifier`, but then the documentation
use `symbol`, and of course that the docs say it works on array properties
;)

-Stephen

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Cypher-ANY-and-array-properties-tp3535052p3536816.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] Server tuning, caches & lucene

2011-11-25 Thread Stephen
Mostly I'd like to understand whether I'm limiting the performance of index
queries by not allowing enough of them to reside in RAM.

For setting a limit, either global or per-index would be fine. I am just
guessing, but it seems like co-ordinating the global limit across multiple
indexes would be somewhat complex, and it's easy enough for me as an
application developer to choose the indexes I know will be "hottest" and
increase their limits individually.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Server-tuning-caches-lucene-tp3534729p3536814.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] [Cypher] ANY() and array properties

2011-11-24 Thread Stephen
Ah, thanks, at least it's not user error :)

BTW, the Functions documentation
(http://docs.neo4j.org/chunked/1.5/query-function.html#functions-any) could
use some better wording.

-Stephen

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Cypher-ANY-and-array-properties-tp3535052p3535518.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] [Cypher] ANY() and array properties

2011-11-24 Thread Stephen
Is ANY() supposed to work with array properties? e.g. I have the following
WHERE clause in my query:

WHERE pa.position AND ANY(pos in pa.positions : pos = "QB")

However, I get a syntax error "Probably missing quotes around a string"
pointed at the = sign.

I can verify that pa.positions is an array by returning it directly.

-Stephen

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Cypher-ANY-and-array-properties-tp3535052p3535052.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] Server tuning, caches & lucene

2011-11-24 Thread Stephen
I wasn't subscribed when I sent this the first time:

Hi, I'm currently trying to benchmark the neo4j rest server, and I haven't
been able to find any sort of configuration regarding the lucene indexes.
Specifically, I'm wondering if it's possible to configure if/how the indexes
are memory mapped or cached? My use case involves a lot of index lookups and
I can't tell whether they are configured optimally.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Server-tuning-caches-lucene-tp3534729p3535049.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] Keeping context information in the Graph

2011-08-06 Thread Stephen Cremin
This may be the same solution suggested by Dmitriy, but I had to visualise
it to understand the problem. The problematic solution on top, if I
understand it correctly; the proposed solution beneath it:
http://s3.amazonaws.com/neo4j/node_example.png

It's a more "verbose" graph, but it does model the semantics. This is all
very abstract, so let's make your example more concrete by naming the nodes
something other than letters that match to a "real world" example.

1. (A) Brad Pitt stars in (B) Fight Club in the role of (C) Tyler Durden.
2. (D) Edward Norton stars in (B) Fight Club in the roles of both (E) The
Narrator and [spoiler alert] (C) Tyler Durden

The creation of "casting" nodes F and G in the diagram may serve a practical
purpose later, for example if one was also modelling Pitt and Norton's
contract for accounting purposes, tracking media coverage of the casting
news, etc.

Stephen





On 6 August 2011 06:11, pankaj  wrote:

> Hi,
>
> I have following data modeling problem. Node A related to Node B with
> complex property C. I modeled it like
> A->B->C. Now I have another node D related to B with complex property C and
> E. Now my graph looks like
> D->B->c, A->B->C, and D->B->E. Now storing like this, I lost the
> information
> that A never related to B in the context of complex property E. How do I
> model it?
>
> Thanks
> Pankaj
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/Keeping-context-information-in-the-Graph-tp3229955p3229955.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] Color suggestions for the Self-Relationship bike shed

2011-05-16 Thread Stephen Roos
We are not going to use loops, but would still vote for #1.  Checking against 
loops seems more like a business logic responsibility that Neo4j clients should 
be responsible for.

-Original Message-
From: Tobias Ivarsson [mailto:tobias.ivars...@neotechnology.com] 
Sent: Monday, May 16, 2011 7:02 AM
To: Neo user discussions
Subject: Re: [Neo4j] Color suggestions for the Self-Relationship bike shed

Does anyone NOT planning to use loops have an opinion in the matter?
That would be very valuable input.

Cheers,
-- 
Tobias Ivarsson 
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857

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


Re: [Neo4j] Question about REST interface concurrency

2011-05-03 Thread Stephen Roos
Thanks for the pointer Tobias!  I looked into the XaLogicalLog flushes.  To 
determine if they were affecting my throughput, I commented out the contents of 
the LogBuffer force method and ran my test again.  There was no difference in 
my results.

I'm still wondering if the PersistenceWindows are the bottleneck.  I'm not 
worried about how/when they flush, but rather that they seem to impose 
synchronization on the high ID spaces, causing a test like mine (where all that 
we're doing is creating new empty nodes as quickly as possible) to perform with 
roughly the same throughput regardless of the degree of concurrency.  Is there 
any merit to this thought?  If we can confirm that this is what's happening, 
I'll go through and make some code changes to see if I can isolate the 
bottleneck to this area of the code.  What are your thoughts?

Thanks!
Stephen 

-Original Message-
From: Tobias Ivarsson [mailto:tobias.ivars...@neotechnology.com] 
Sent: Thursday, April 28, 2011 5:11 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Question about REST interface concurrency

The PresistenceWindows are flushed only when the transaction log is rotated.

Writes to the transaction log is flushed when the transaction commits
though.

If you wish to look at the code for this, have a look at for instance:
https://github.com/neo4j/community/blob/master/kernel/src/main/java/org/neo4j/kernel/impl/transaction/xaframework/XaLogicalLog.java

Cheers,
Tobias

On Wed, Apr 27, 2011 at 4:31 AM, Stephen Roos wrote:

> Hi Jim,
>
> From what I understand, it flushes with various granularities, though I'd
> suspect that it's not flushing after writes the size of empty nodes, so this
> is certainly a possible bottleneck point.  I've been looking through the
> code and don't see exactly where the flush takes place.  Can you point me at
> the right class?
>
> I did come across the PersistenceWindowPool class which seems to come into
> play when the underlying node record is updated during the transaction
> commit.  It looks as if the windows are mapped over contiguous blocks of the
> primitives ID space and that because the new node IDs are typically
> sequential, each of my create-node operations is likely to target the same
> window.  These windows are locked and waiting threads are queued up to wait
> for the locking thread to notify on unlock.  Am I reading the code
> correctly?  If so, do you have any thoughts on how we might remove that
> bottleneck?
>
> Thanks again for your help,
> Stephen
>
>
> -Original Message-
> From: Mattias Persson [mailto:matt...@neotechnology.com]
> Sent: Tuesday, April 26, 2011 12:19 AM
> To: Neo4j user discussions
> Subject: Re: [Neo4j] Question about REST interface concurrency
>
> Does your disk benchmark tests flush the data to disk or just write to
> it, making file system / OS flush when ever it feel like it (making it
> much faster, of course)?
>
> 2011/4/25 Stephen Roos :
> > Hi Jim,
> >
> > I took a look at my disk utilization and I'm only getting up to about
> 9379 KBps (write).  My disk benchmarking tests show max write rates to be
> around 220 MBps, so I shouldn't be maxed out there.  Interestingly, I don't
> see that much data in the graph.db directory (I see about 15 MB there after
> creating 150k empty nodes, no relationships, no index).  The largest file is
> nioneo_logical.log.1 (14 MB), the next largest is the neostore.nodestore.db
> (1.3 MB).  I don't know if that information is helpful, but I thought it was
> a bit strange that I'm sustaining disk write rates of > 9 MBps for over 40
> secs yet I don't have anywhere close to 9 * 40 MB of data.
> >
> > I do wonder about the flush operation though.  Flush is a blocking
> operation, maybe that's the bottleneck even though the disk isn't over
> utilized.  I'll look into that.  Let me know if you have any other ideas.
> >
> > Thanks!
> > Stephen
> >
> > -Original Message-
> > From: Jim Webber [mailto:j...@neotechnology.com]
> > Sent: Friday, April 22, 2011 3:34 AM
> > To: Neo4j user discussions
> > Subject: Re: [Neo4j] Question about REST interface concurrency
> >
> > Hi Stephen,
> >
> > I think the network IO you've measured is consistent with the rest of the
> behaviour your've described.
> >
> > What I'm thinking is that you're simply reaching the limits of create
> transaction->create a node->complete transaction->flush to filesystem (that
> is, you're basically testing disk write speed/seek time/etc).
> >
> > Can you check how busy your IO to disk is? I expect it'll be relatively
> high.
> >
&

Re: [Neo4j] Question about REST interface concurrency

2011-04-26 Thread Stephen Roos
Hi Jim,

From what I understand, it flushes with various granularities, though I'd 
suspect that it's not flushing after writes the size of empty nodes, so this is 
certainly a possible bottleneck point.  I've been looking through the code and 
don't see exactly where the flush takes place.  Can you point me at the right 
class?

I did come across the PersistenceWindowPool class which seems to come into play 
when the underlying node record is updated during the transaction commit.  It 
looks as if the windows are mapped over contiguous blocks of the primitives ID 
space and that because the new node IDs are typically sequential, each of my 
create-node operations is likely to target the same window.  These windows are 
locked and waiting threads are queued up to wait for the locking thread to 
notify on unlock.  Am I reading the code correctly?  If so, do you have any 
thoughts on how we might remove that bottleneck?

Thanks again for your help,
Stephen


-Original Message-
From: Mattias Persson [mailto:matt...@neotechnology.com] 
Sent: Tuesday, April 26, 2011 12:19 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Question about REST interface concurrency

Does your disk benchmark tests flush the data to disk or just write to
it, making file system / OS flush when ever it feel like it (making it
much faster, of course)?

2011/4/25 Stephen Roos :
> Hi Jim,
>
> I took a look at my disk utilization and I'm only getting up to about 9379 
> KBps (write).  My disk benchmarking tests show max write rates to be around 
> 220 MBps, so I shouldn't be maxed out there.  Interestingly, I don't see that 
> much data in the graph.db directory (I see about 15 MB there after creating 
> 150k empty nodes, no relationships, no index).  The largest file is 
> nioneo_logical.log.1 (14 MB), the next largest is the neostore.nodestore.db 
> (1.3 MB).  I don't know if that information is helpful, but I thought it was 
> a bit strange that I'm sustaining disk write rates of > 9 MBps for over 40 
> secs yet I don't have anywhere close to 9 * 40 MB of data.
>
> I do wonder about the flush operation though.  Flush is a blocking operation, 
> maybe that's the bottleneck even though the disk isn't over utilized.  I'll 
> look into that.  Let me know if you have any other ideas.
>
> Thanks!
> Stephen
>
> -Original Message-
> From: Jim Webber [mailto:j...@neotechnology.com]
> Sent: Friday, April 22, 2011 3:34 AM
> To: Neo4j user discussions
> Subject: Re: [Neo4j] Question about REST interface concurrency
>
> Hi Stephen,
>
> I think the network IO you've measured is consistent with the rest of the 
> behaviour your've described.
>
> What I'm thinking is that you're simply reaching the limits of create 
> transaction->create a node->complete transaction->flush to filesystem (that 
> is, you're basically testing disk write speed/seek time/etc).
>
> Can you check how busy your IO to disk is? I expect it'll be relatively high.
>
> Jim
> ___
> 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


Re: [Neo4j] Question about REST interface concurrency

2011-04-25 Thread Stephen Roos
Hi Jim,

I took a look at my disk utilization and I'm only getting up to about 9379 KBps 
(write).  My disk benchmarking tests show max write rates to be around 220 
MBps, so I shouldn't be maxed out there.  Interestingly, I don't see that much 
data in the graph.db directory (I see about 15 MB there after creating 150k 
empty nodes, no relationships, no index).  The largest file is 
nioneo_logical.log.1 (14 MB), the next largest is the neostore.nodestore.db 
(1.3 MB).  I don't know if that information is helpful, but I thought it was a 
bit strange that I'm sustaining disk write rates of > 9 MBps for over 40 secs 
yet I don't have anywhere close to 9 * 40 MB of data.  

I do wonder about the flush operation though.  Flush is a blocking operation, 
maybe that's the bottleneck even though the disk isn't over utilized.  I'll 
look into that.  Let me know if you have any other ideas.

Thanks!
Stephen

-Original Message-
From: Jim Webber [mailto:j...@neotechnology.com] 
Sent: Friday, April 22, 2011 3:34 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Question about REST interface concurrency

Hi Stephen,

I think the network IO you've measured is consistent with the rest of the 
behaviour your've described. 

What I'm thinking is that you're simply reaching the limits of create 
transaction->create a node->complete transaction->flush to filesystem (that is, 
you're basically testing disk write speed/seek time/etc).

Can you check how busy your IO to disk is? I expect it'll be relatively high.

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


Re: [Neo4j] Question about REST interface concurrency

2011-04-21 Thread Stephen Roos
I'm running on Linux (2.6.18).  Watching network utilization, I never see rates 
higher than ~2.5 MBps on the server.  I've also set net.core.rmem_min/max and 
net.ipv4.tcp_rmem/wmem in sysctl to be quite high based on some recommendations 
I've found.  Is this contrary to your own load tests?  Are you able to hit the 
server with enough load that the system is maxed out?  I was considering adding 
some instrumentation around transactions so that I can see the average internal 
transaction time span during a load test.  If you have any other thoughts on 
what to look for/test, I'd be very appreciative.

Thanks again,
Stephen

-Original Message-
From: Jim Webber [mailto:j...@neotechnology.com] 
Sent: Thursday, April 21, 2011 12:24 PM
To: Neo4j user discussions
Subject: Re: [Neo4j] Question about REST interface concurrency

Hi Stephen,

Are you running on Linux (or Windows) by any chance? I wonder whether the 
asymptotical performance you're seeing is because you've gotten to a point 
where you're exercising the IO channel and file system.

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


Re: [Neo4j] Question about REST interface concurrency

2011-04-21 Thread Stephen Roos
Hi Peter,

I'd be glad to share the code, I'll commit soon and share with the users list.

I've run some more load/concurrency tests and am seeing some strange results.  
Maybe someone can help explain this to me:

I run a load test where I fire off 100K "create empty node" REST requests to 
Neo as quickly as possible.  With my code updates to allow configuration of the 
Jetty thread pool size, I can effectively reduce or increase the maximum 
concurrent transaction limit on the server.  If I limit the thread pool so that 
there is only 1 thread available for requests, I see (as expected) the 
PeakNumberOfConcurrentTransactions reported by the Neo4j Transactions MBean is 
1.  If I scale the thread pool up so that there are 800 available request 
threads, I can throw enough load at the server to cause 800 concurrent 
transactions.  From what I have read, node creation causes a node-local lock, 
not a global node lock, so there shouldn't be a lock-imposed concurrency 
bottleneck.

The strange thing is, no matter whether I have 1 or 800 concurrent 
transactions, my total node creation throughput is always the same (~1600 
nodes/sec).  Even with 800 concurrent transactions, my server is only using 
~15% CPU and ~25% memory (JVM Xmm/Xmx = 1024m/2048m), so server load wouldn't 
appear to be an issue.  I've followed all the recommendations I could find 
including sysctl limits and JVM settings, but the rate doesn't change.  I have 
also tried running the load test from multiple clients simultaneously (just to 
be sure I'm not running into any limits on the client machine), and indeed as 
soon as I add a second load test client, the throughput on each client gets cut 
in half.  If I'm talking to Neo in a way that is unrestricted by things like 
thread pool size and concurrency limits, I'd expect to be able to scale up my 
load tests and see at least some level of throughput improvement until I start 
to saturate/overload the box.  The fact that increasing concurrency doesn't 
increase throughput makes me think that there's some internal bottleneck or 
synchronization point that's limiting.

Any thoughts?  I'm glad to look through the code and investigate, any ideas you 
have would be a big help.

Thanks, and sorry for the long question!

Stephen


-Original Message-
From: Peter Neubauer [mailto:peter.neuba...@neotechnology.com] 
Sent: Monday, April 18, 2011 12:50 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Question about REST interface concurrency

Stephen,
did you fork the code? Would be good to merge in the changes or at
least take a look at them!

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 Mon, Apr 18, 2011 at 4:08 AM, Stephen Roos  wrote:
> Hi Jim,
>
> Thanks for the quick reply.  I tried the configuration mentioned here 
> ("rest_max_jetty_threads"):
>
> https://trac.neo4j.org/changeset/6157/laboratory/components/rest
>
> But it doesn't seem to have changed anything.  I took a look through the code 
> and didn't see any configuration settings exposed in Jetty6WebServer.  I 
> added the changes myself and am starting to see some good results (I've 
> exposed settings for min/max threadpool size, # acceptor threads, acceptor 
> queue size, and request buffer size).  Is there anything else that you'd 
> recommend tweaking to improve throughput?
>
> Thanks again for your help!
>
>
>
> -Original Message-
> From: Jim Webber [mailto:j...@neotechnology.com]
> Sent: Friday, April 15, 2011 1:57 AM
> To: Neo4j user discussions
> Subject: Re: [Neo4j] Question about REST interface concurrency
>
> Hi Stephen,
>
> The same Jetty tweaks that worked in previous versions will work with 1.3. We 
> haven't changed any of the Jetty stuff under the covers.
>
> Jim
> ___
> 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] Question about REST interface concurrency

2011-04-17 Thread Stephen Roos
Hi Jim,

Thanks for the quick reply.  I tried the configuration mentioned here 
("rest_max_jetty_threads"): 

https://trac.neo4j.org/changeset/6157/laboratory/components/rest

But it doesn't seem to have changed anything.  I took a look through the code 
and didn't see any configuration settings exposed in Jetty6WebServer.  I added 
the changes myself and am starting to see some good results (I've exposed 
settings for min/max threadpool size, # acceptor threads, acceptor queue size, 
and request buffer size).  Is there anything else that you'd recommend tweaking 
to improve throughput?

Thanks again for your help!



-Original Message-
From: Jim Webber [mailto:j...@neotechnology.com] 
Sent: Friday, April 15, 2011 1:57 AM
To: Neo4j user discussions
Subject: Re: [Neo4j] Question about REST interface concurrency

Hi Stephen,

The same Jetty tweaks that worked in previous versions will work with 1.3. We 
haven't changed any of the Jetty stuff under the covers.

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


Re: [Neo4j] Palo Alto release party!

2011-04-15 Thread Stephen Young
Hey David

I'm a neo4J list lurker and I'm currently in SF.  What's this event about?

Cheers

Steve

On 15 April 2011 15:45, David Montag  wrote:

> Hi graphsters,
>
> If you are in the SF bay area, don't think you'll go unnoticed! We're
> expecting to see you at the Palo Alto release party next Monday (4/18).
> Beers are on us! I'll be the guy with the tan Neo4j shirt.
>
> The venue is Nola (www.nolas.com) at 535 Ramona St. Hoping to see you
> there!
>
> David
>
> --
> David Montag 
> Neo Technology, www.neotechnology.com
> Cell: 650.556.4411
> Skype: ddmontag
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Stephen Young
CEO @ factnexus.com
Architect @ wik.me
Founding member @ knowledgerights.org
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Question about REST interface concurrency

2011-04-14 Thread Stephen Roos
Hello Neo Team!

Congrats on the recent release!  I'm using 1.3 enterprise in my development 
environment.  I noticed that in earlier versions there were some patches to 
allow setting the min/max thread pool size for the REST servlet container.  Are 
there any similar options now?  Under load tests, it seems like I would benefit 
from at least having a higher initial thread pool size.  Are there any other 
configuration changes or strategies that would help with overall throughput 
under heavy load?

Thanks for your help!

Stephen Roos
Software Engineer

CareerArc Group
The Social Exceleration Network
www.careerarcgroup.com

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.  If 
you have received this email in error, please notify the sender and delete this 
email from your system.


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


Re: [Neo4j] Social Networks And Graph Databases

2011-02-20 Thread Stephen Cremin
I've no experience using the .Net libraries, but you could certainly use the
REST interface which is getting a lot of love and attention from the
development team and has a friendly web interface.

I think REST would be a great way to start, and then you can better evaluate
the .Net libraries and see which one tackles any frustrations you have
dealing through the REST interface.

Digg built its own graph database in-house because at the time there were no
suitable alternatives:
http://about.digg.com/blog/how-digg-works

LinkedIn is also built around a graph database, held in-memory (at least in
mid-2008):
http://hurvitz.org/blog/2008/06/linkedin-architecture

The world of graph databases has changed significantly even in the past
twelve months. 2011 is the first year that I would whole-heartedly recommend
Neo4j.

I don't know how one could consider building a social application without a
graph database in 2011. If speed is a concern, you can always add Memcached
as an in-memory key value store to cache results.

Stephen


2011/2/20 Fatih ÖZKAN 

> Hi Stephen
> I am seriously considering to build my application on graph database but i
> read about facebook, digg and linkedin use Key/value database. Why dont
> they
> use graph database? What is the differences between Key/Value and graph
> databases.
> And i am using .Net Framework 4.0 for my application. There is not too much
> thing about  .Net, tutorial,samples etc. There are some library for .net
> ,Neo4RestNet,Neo4jRestSharp. Which one should i use and can i develop
> strong
> application with this library?
> Fatih
> -Özgün İleti-  From: Stephen Cremin  Sent: Sunday, February 20,
> 2011
> 11:17 AM  To: Neo4j user discussions  Subject: Re: [Neo4j] Social Networks
> And Graph Databases
> Hi Fatih
> Yes, a graph database can be a complete replacement, holding your user's
> login data, profiles, pictures, etc. If you're using JRuby, there's a gem
> that interacts with the excellent devise authentication system.
> For photos and certain other media, it probably makes more sense to store
> them on a Content Delivery Network (CDN) with references to them (and their
> metadata) only in your graph database.
> You can certainly mix and match databases and I think that's the future of
> web applications. But if you're starting from scratch I'd suggest putting
> everything into the graph database.
> For pictures, I'd consider Amazon's S3 from the get go, and you can later
> migrate to CloudFront if necessary.
> Would love to hear alternate views.
> Stephen
> 2011/2/20 Fatih ÖZKAN 
> > Hi,
> > I am new to graph databases. I and my friends decided to make simple
> > social
> > network and i am researching about graph databases and other nosql
> > databases. I like the idea of graph db and i want to use them but i have
> > questions. My question is if i decided to use graph database am i need
> > another database system like mysql or ms sql, There are a lot of social
> > networks which are using graph,other nosql databases and relational
> > databases together. Can i hold all my data in graph database. For example
> > my
> > users login data, such as email, password, user roles,pictures etc.
> >
> > Sincerely
> > ___
> > 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] Social Networks And Graph Databases

2011-02-20 Thread Stephen Cremin
Hi Fatih

Yes, a graph database can be a complete replacement, holding your user's
login data, profiles, pictures, etc. If you're using JRuby, there's a gem
that interacts with the excellent devise authentication system.

For photos and certain other media, it probably makes more sense to store
them on a Content Delivery Network (CDN) with references to them (and their
metadata) only in your graph database.

You can certainly mix and match databases and I think that's the future of
web applications. But if you're starting from scratch I'd suggest putting
everything into the graph database.

For pictures, I'd consider Amazon's S3 from the get go, and you can later
migrate to CloudFront if necessary.

Would love to hear alternate views.

Stephen


2011/2/20 Fatih ÖZKAN 

> Hi,
> I am new to graph databases. I and my friends decided to make simple social
> network and i am researching about graph databases and other nosql
> databases. I like the idea of graph db and i want to use them but i have
> questions. My question is if i decided to use graph database am i need
> another database system like mysql or ms sql, There are a lot of social
> networks which are using graph,other nosql databases and relational
> databases together. Can i hold all my data in graph database. For example my
> users login data, such as email, password, user roles,pictures etc.
>
> Sincerely
> ___
> 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] Completion of the guidelines in the wiki

2010-08-19 Thread Premkumar Stephen
Hello folks,

I am a newbie here, and its my first post.

The link below is incomplete, and would be very useful for someone like me.
http://wiki.neo4j.org/content/Guidelines_for_Building_a_Neo4j_Application

Could someone kindly complete several sections in the guidelines that are
unfinished?

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


Re: [Neo] data not persisting in tutorial jruby rails app

2009-07-05 Thread Stephen Cohen
Peter,
Thanks for the response.  Subsequently, I've gotten non-rails components of
the code working.

Basically, when Andreas gets back from Glasgow I'd like to talk to him about
getting a refreshed version of Rails tutorial online.  Ideally, one can just
download a tar'ed up directory with a working rails app already in there.

I've been playing with neo4j for about 2 weeks, mostly in Java client code,
and having a simple 3 minute Rails app that let's you view and query your
data is enormously valuable.

In my experience, the vast majority of people outside the enterprise context
who have enormous amounts of data that can be better represented in a graph
are using scripting languages, so a good RoR tutorial will increase
conversions and add momentum to the neo4j movement!


Thanks,
Stephen





On Sun, Jul 5, 2009 at 3:00 AM,  wrote:

> Send User mailing list submissions to
>user@lists.neo4j.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>https://lists.neo4j.org/mailman/listinfo/user
> or, via email, send a message with subject or body 'help' to
>user-requ...@lists.neo4j.org
>
> You can reach the person managing the list at
>user-ow...@lists.neo4j.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of User digest..."
>
>
> Today's Topics:
>
>   1. Re: data not persisting in tutorial jruby rails app
>  (Peter Neubauer)
>
>
> --
>
> Message: 1
> Date: Sat, 4 Jul 2009 17:50:55 +0200
> From: Peter Neubauer 
> Subject: Re: [Neo] data not persisting in tutorial jruby rails app
> To: Neo user discussions 
> Message-ID:
><308579740907040850m33ac15dfx43ac367bf1be3...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Stephen,
> Andreas Ronge who has been developing the bindings is on holiday right
> now, so I wonder if there is anyone else that could chip in from the
> list here?
>
> Otherwise, I think Andreas will be back in one week ...
>
> /peter
>
> 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 - New Energy for Data - The Graph Database.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.oredev.org   - Where Good Geeks Grok.
>
>
>
> On Fri, Jul 3, 2009 at 9:53 AM, Stephen Cohen
> wrote:
> > I've been trying to setup the app described in the jruby on rails portion
> of
> > the tutorial here:
> >
> http://github.com/andreasronge/neo4j/blob/469d0b093c69ea542c0a63a499b5395b7d8544d6/README.rdoc
> >
> >
> > It looks really cool, but I can't get it to work. ?The code out of the
> box
> > was just not running, until I wrapped the Action Controller functions
> > with Neo4j::Transaction.run { } statements.
> >
> > That made everything look like it was working, but nothing ever appears
> on
> > the index.html.erb pages. ?The directory I'm pointing to with
> > my Neo4j::Config[:storage_path] directive in environment.rb does actually
> > change with each form submit inside my rails app. ?I just can't ever see
> any
> > results.
> >
> >
> > I'm on a Macbook Pro using all the latest versions of code.
> >
> > Has anybody had any luck putting together the neo4j jruby tutorial? ?The
> > tutorial is clearly out of date as it says to use "config.gem "neo4j",
> > :version => "0.0.7"" and that's the version from last year.
> >
> >
> > I'm guessing the problem is related to the Autotransaction capability.
> > ?Maybe it never finishes a Transaction? ?Either way, I've experimented
> with
> > every permutation of manually doing Transaction.runs and Transaction.new
> > followed by Transaction.finish.
> >
> >
> >
> >
> > Thanks for your help.
> >
> > Stephen
> > ___
> > Neo mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
> --
>
> ___
> User mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
>
> End of User Digest, Vol 28, Issue 5
> ***
>
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo] data not persisting in tutorial jruby rails app

2009-07-03 Thread Stephen Cohen
I've been trying to setup the app described in the jruby on rails portion of
the tutorial here:
http://github.com/andreasronge/neo4j/blob/469d0b093c69ea542c0a63a499b5395b7d8544d6/README.rdoc


It looks really cool, but I can't get it to work.  The code out of the box
was just not running, until I wrapped the Action Controller functions
with Neo4j::Transaction.run { } statements.

That made everything look like it was working, but nothing ever appears on
the index.html.erb pages.  The directory I'm pointing to with
my Neo4j::Config[:storage_path] directive in environment.rb does actually
change with each form submit inside my rails app.  I just can't ever see any
results.


I'm on a Macbook Pro using all the latest versions of code.

Has anybody had any luck putting together the neo4j jruby tutorial?  The
tutorial is clearly out of date as it says to use "config.gem "neo4j",
:version => "0.0.7"" and that's the version from last year.


I'm guessing the problem is related to the Autotransaction capability.
 Maybe it never finishes a Transaction?  Either way, I've experimented with
every permutation of manually doing Transaction.runs and Transaction.new
followed by Transaction.finish.




Thanks for your help.

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