Thanks for your answer !
About the distributed transaction, since our application is in PHP,
that would mean moving the data persistence layer ( or at least part
of it) to java, and the project leader would prefer not to mix java
and php.
About the messages queues, I thought about it ( we are working with
Opscode Chef which is using message queue for indexing of data in
solr), but this would mean adding another component to the
application, and the hosting would prefer to avoid that.
So both are good proposals, but can't be done in our project for non-
technical reasons :(
If you have any other ideas, you are most welcome :)
Or is there a planned feature that could help us so we can plan to
have transactional behavior in the future ?
Thank you very much.
Best regards,
Christophe
On 4 avr, 00:26, Peter Neubauer <
peter.neuba...@neotechnology.com>
wrote:
> Mmh,
> it is true that there is no transaction concept with REST. I could
> imagine a scenario where you have a Neo4j Server and an Embedded Java
> instance in a HA cluster.
>
> Putting the Embedded Neo4j and the SQL RDBMS into one distributed
> transaction would get you very close to a synched updating of both
> datasources. That way, you can synch via real transactions, and have
> the Neo4j Server instance(s) server you REST API.
>
> Otherwise, I know many users are using message queues like Redis,
> RabbitMQ and others to propagate mutating events to both the RDBMS and
> Neo4j, but that is of course not transactional.
>
> HTH
>
> Cheers,
>
> /peter neubauer
>
> G: neubauer.peter
> S: peter.neubauer
> P: +46 704 106975
> L:
http://www.linkedin.com/in/neubauer
> T: @peterneubauer
>
> Neo4j - Graphs rule.
> Program or be programmed - Computer Literacy for kids.
http://foocafe.org/#CoderDojo