Re: [Neo] neo4j with terracotta?

2009-08-18 Thread Peter Neubauer
Ok,
no, we have not looked into that, if not someone else had a try. If
you do, please let us others know your findings!

/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.linkedprocess.org   - Distributed computing on LinkedData scale



On Mon, Aug 17, 2009 at 2:06 PM, Marc Preddiempred...@gmail.com wrote:
 Hi Peter,
 Initially simply looking to replicate for high availability.

 Regards,
 Marc

 On Sun, Aug 16, 2009 at 2:01 PM, Peter Neubauer 
 neubauer.pe...@gmail.comwrote:

 Mmh,
 have not heard anyone doing that, what kind of scaling are you
 imagining? Replicating a nodespace in a high availability scenario,
 sharding or partitioning?

 /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.linkedprocess.org   - Distributed computing on LinkedData scale



 On Fri, Aug 14, 2009 at 7:54 PM, Marc Preddiempred...@gmail.com wrote:
  Hi All,
  I was just wondering if any users of neo4j has had to opportunity to
  integrate it with terracotta?
 
  Regards,
  Marc Preddie
  ___
  Neo mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

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

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


Re: [Neo] NullPointerException

2009-08-18 Thread Johan Svensson
Hi,

What Spring configuration do you have in place? The static setup used
in b8 has been removed (see this thread for more information
http://lists.neo4j.org/pipermail/user/2009-May/001243.html) so change
your configuration to something like this:

bean id=neo class=org.neo4j.api.core.EmbeddedNeo
destroy-method=shutdown lazy-init=false
constructor-arg
value${neo.store}/value
/constructor-arg
/bean

tx:annotation-driven transaction-manager=transactionManager/
alias name=neoTransactionManager alias=transactionManager/

bean id=neoTransactionManagerService
class=org.neo4j.impl.transaction.SpringTransactionManager
constructor-arg ref=neo/
/bean
bean id=neoUserTransactionService
class=org.neo4j.impl.transaction.UserTransactionImpl
constructor-arg ref=neo/
/bean

bean id=neoTransactionManager
class=org.springframework.transaction.jta.JtaTransactionManager
property name=transactionManager ref=neoTransactionManagerService/
property name=userTransaction ref=neoUserTransactionService/
/bean

Let me know if that works.

Regards,
-Johan

On Mon, Aug 17, 2009 at 10:27 PM, Moh, Garygary@merrillcorp.com wrote:
 after upgrading to apoc 0.2, the same test case produces the following
 error:

 java.lang.NullPointerException
        at
 org.neo4j.impl.transaction.UserTransactionImpl.getStatus(UserTransaction
 Impl.java:71)
        at
 org.springframework.transaction.jta.JtaTransactionManager.isExistingTran
 saction(JtaTransactionManager.java:820)
        at
 org.springframework.transaction.support.AbstractPlatformTransactionManag
 er.getTransaction(AbstractPlatformTransactionManager.java:351)
        at
 org.springframework.transaction.interceptor.TransactionAspectSupport.cre
 ateTransactionIfNecessary(TransactionAspectSupport.java:263)
        at
 org.springframework.transaction.interceptor.TransactionInterceptor.invok
 e(TransactionInterceptor.java:101)
        at
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
 lectiveMethodInvocation.java:171)
        at
 org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
 or.intercept(Cglib2AopProxy.java:635)


 and the error went away when reverting back to 0.1

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




-- 
Johan Svensson [jo...@neotechnology.com]
Chief Technology Officer, Neo Technology
www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] neo4j with terracotta?

2009-08-18 Thread Dennis Peterson
Just curious, is there anything else people are doing with Neo4J to meet
high-availability requirements?

On Tue, Aug 18, 2009 at 2:23 AM, Peter Neubauer neubauer.pe...@gmail.comwrote:

 Ok,
 no, we have not looked into that, if not someone else had a try. If
 you do, please let us others know your findings!

 /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.linkedprocess.org   - Distributed computing on LinkedData scale



  On Mon, Aug 17, 2009 at 2:06 PM, Marc Preddiempred...@gmail.com wrote:
  Hi Peter,
  Initially simply looking to replicate for high availability.
 
  Regards,
  Marc
 
  On Sun, Aug 16, 2009 at 2:01 PM, Peter Neubauer 
 neubauer.pe...@gmail.comwrote:
 
  Mmh,
  have not heard anyone doing that, what kind of scaling are you
  imagining? Replicating a nodespace in a high availability scenario,
  sharding or partitioning?
 
  /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.linkedprocess.org   - Distributed computing on LinkedData
 scale
 
 
 
  On Fri, Aug 14, 2009 at 7:54 PM, Marc Preddiempred...@gmail.com
 wrote:
   Hi All,
   I was just wondering if any users of neo4j has had to opportunity to
   integrate it with terracotta?
  
   Regards,
   Marc Preddie
   ___
   Neo mailing list
   User@lists.neo4j.org
   https://lists.neo4j.org/mailman/listinfo/user
  
  ___
  Neo mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
  ___
  Neo mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

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


Re: [Neo] neo4j with terracotta?

2009-08-18 Thread Emil Eifrem
On Tue, Aug 18, 2009 at 15:02, Dennis Petersondennisbpeter...@gmail.com wrote:
 Just curious, is there anything else people are doing with Neo4J to meet
 high-availability requirements?

Two architectures seem to have emerged:

   a) Add a REST layer in front of your Neo4j backend. That REST layer
speaks the domain language (i.e. Persons, Cars, Images rather than
Nodes, Relationships, etc) and it pushes mutating messages onto some
form of a queue (something like ActiveMQ/RabbitMQ/Tibco/SQS) which is
propagated to the backing Neo4j instances. Read requests are
dispatched to one of the instances. We have a number of commercial
customers that use this setup.

   b) Use the online backup to create a warm spare. That warm spare
can be used to create infrequently synchronized read-only slaves
(updated maybe hourly or something like that).

Cheers,

-- 
Emil Eifrém, CEO [e...@neotechnology.com]
Neo Technology, www.neotechnology.com
Cell: +46 733 462 271 | US: 206 403 8808
http://twitter.com/emileifrem
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] InMemoryNeoService

2009-08-18 Thread Tobias Ivarsson
Hi Gary,

I'm forwarding this to the list, since it might be of general interest.

I have made some experiments towards an in-memory version of NeoService
implemented as a transport layer for RemoteNeo. But I didn't have time to
finalize it. If anyone wants to give it a shot, this approach is probably
the easiest.

We have some vague plans of doing an in-memory implementation of NeoService
as part of the work on NeoHA, but that would not be earlier than late Q4
this year.

Cheers,
Tobias

On Mon, Aug 17, 2009 at 8:33 PM, Moh, Gary gary@merrillcorp.com wrote:

  Hi Tobias,

 I came upon your message regarding an in-memory version of NeoService.
 Just wondering if there is any update on this feature.

 Thanks,
 gary



-- 
Tobias Ivarsson tobias.ivars...@neotechnology.com
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo] InMemoryNeoService

2009-08-18 Thread Neil Ellis
So that kind of ties in with the Terracotta questions. An InMemory  
service could
be distributed and persisted by Terracotta. Though I'm not sure I'd  
actually
suggest anyone doing that as Terracotta's persistence is more fragile  
than
the Neo4J storage.

ATB
Neil
On 18 Aug 2009, at 15:16, Tobias Ivarsson wrote:

 Hi Gary,

 I'm forwarding this to the list, since it might be of general  
 interest.

 I have made some experiments towards an in-memory version of  
 NeoService
 implemented as a transport layer for RemoteNeo. But I didn't have  
 time to
 finalize it. If anyone wants to give it a shot, this approach is  
 probably
 the easiest.

 We have some vague plans of doing an in-memory implementation of  
 NeoService
 as part of the work on NeoHA, but that would not be earlier than  
 late Q4
 this year.

 Cheers,
 Tobias

 On Mon, Aug 17, 2009 at 8:33 PM, Moh, Gary  
 gary@merrillcorp.com wrote:

 Hi Tobias,

 I came upon your message regarding an in-memory version of  
 NeoService.
 Just wondering if there is any update on this feature.

 Thanks,
 gary



 -- 
 Tobias Ivarsson tobias.ivars...@neotechnology.com
 Hacker, Neo Technology
 www.neotechnology.com
 Cellphone: +46 706 534857
 ___
 Neo mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

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