Gautam,
if you have a lot of writes, maybe an HA setup is good for you? that
way, you could run an embedded HA instance for your writes, and have
read slaves, possibly through Neo4j Server instances, picking up the
replicated changes to the master write instance. Here, there is a
special protocol optimized for big file transfers that syncs up the
cluster members.

For normal operations, I would create a server plugin that executes
the writes, so you get embedded performance, and do the reads through
REST, depending on what nature they are. See
http://docs.neo4j.org/chunked/snapshot/server-plugins.html for
details.

Would that work?

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 Fri, Aug 19, 2011 at 12:06 AM, Gautam Thaker
<[email protected]> wrote:
> Hi:
>
> I want to create Java applications that will connect to a neo4j
> server.  Some of these apps will be doing a lot of  updates to the
> graph, and others will do lots of read/query/traversals, and some will
> do a mix of both. Highest performance that I can achieve are important
> to me. From reading docs and seeing examples under
>
> neo4j-community-1.4.1/examples/java/server
>
> all I can find are examples that use HTTP based communications to the
> server. Is this this the only way to interact w/ a neo4j server? It
> seems there must be some "wirelevel" protocols that would much more
> efficient that HTTP stuff. Are there examples of how one can create such
> programs? Thanks.
>
> Gautam
>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to