You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Andrew Voumard <an...@melbpc.org.au> on 2016/05/28 22:49:47 UTC

How does Apache Isis deal with "eventual consistency" of databases like Cassandra

Hi,

I see that DataNucleus is supported, and that Cassandra is one of the databases under that. Cassandra runs on the concept of "eventual consistency", where some errors/exceptions occur, that differ from a relational DB, see:

http://www.datastax.com/dev/blog/cassandra-error-handling-done-right

Will Apache Isis retry, fast fail, etc on the errors relating to"eventual consistency", described in the link above ?.

Thanks
Andrew

Re: How does Apache Isis deal with "eventual consistency" of databases like Cassandra

Posted by Andrew Voumard <an...@melbpc.org.au>.
Hi Dan,

Many thanks for the info. I will post any findings after it has been tried out.

Thanks
Andrew

________________________________________
From: Dan Haywood <da...@haywood-associates.co.uk>
Sent: Sunday, 29 May 2016 4:08 PM
To: users
Subject: Re: How does Apache Isis deal with "eventual consistency" of databases like Cassandra

Hi Andrew,

This will depend on how DataNuclues itself is configured. Isis will pass
thru all config properties with a certain prefix
("isis.persistor.datanucleus.impl", I think it is) through to DN, so I
imagine that you could use that to set the behaviour.

Caveat : I'm not aware of anyone in the community using the
Isis/dn/cassandra combination. There are some who have used the framework
using Neo4J; one of two minor changes were required to the framework to
enable that. Can't tell you if it will work out "of the box" with cassandra
or whether similar changes might be required.

HTH,
Dan
On 28 May 2016 23:50, "Andrew Voumard" <an...@melbpc.org.au> wrote:

> Hi,
>
> I see that DataNucleus is supported, and that Cassandra is one of the
> databases under that. Cassandra runs on the concept of "eventual
> consistency", where some errors/exceptions occur, that differ from a
> relational DB, see:
>
> http://www.datastax.com/dev/blog/cassandra-error-handling-done-right
>
> Will Apache Isis retry, fast fail, etc on the errors relating to"eventual
> consistency", described in the link above ?.
>
> Thanks
> Andrew
>

Re: How does Apache Isis deal with "eventual consistency" of databases like Cassandra

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Andrew,

This will depend on how DataNuclues itself is configured. Isis will pass
thru all config properties with a certain prefix
("isis.persistor.datanucleus.impl", I think it is) through to DN, so I
imagine that you could use that to set the behaviour.

Caveat : I'm not aware of anyone in the community using the
Isis/dn/cassandra combination. There are some who have used the framework
using Neo4J; one of two minor changes were required to the framework to
enable that. Can't tell you if it will work out "of the box" with cassandra
or whether similar changes might be required.

HTH,
Dan
On 28 May 2016 23:50, "Andrew Voumard" <an...@melbpc.org.au> wrote:

> Hi,
>
> I see that DataNucleus is supported, and that Cassandra is one of the
> databases under that. Cassandra runs on the concept of "eventual
> consistency", where some errors/exceptions occur, that differ from a
> relational DB, see:
>
> http://www.datastax.com/dev/blog/cassandra-error-handling-done-right
>
> Will Apache Isis retry, fast fail, etc on the errors relating to"eventual
> consistency", described in the link above ?.
>
> Thanks
> Andrew
>