Re: About our usage of LWT in Cassandra related code

2020-12-09 Thread Tellier Benoit
Le 09/12/2020 à 12:58, Jean Helou a écrit : > > Also for ACLs isn't eventual consistency acceptable ? > > >> My take is that it is. My first shot was to do just that. >> >> Howver the current code enforces a "transaction like" behavior, with an >> ACLDiff fired on the mailbox event system.

Re: About our usage of LWT in Cassandra related code

2020-12-09 Thread Tellier Benoit
I'll answer other threads separately. I created https://issues.apache.org/jira/browse/JAMES-3468 about this. I asked Quan, our intern, to take a look. Regards, Benoit Tellier Le 09/12/2020 à 12:58, Jean Helou a écrit : >>> So from a user perspective adding a user would always succeed. But

Re: About our usage of LWT in Cassandra related code

2020-12-08 Thread Jean Helou
> > So from a user perspective adding a user would always succeed. But would > it > > succeed by doing nothing (the current behaviour in silencing the > > AlreadyExist exception) or would it succeed by effectively overwriting > the > > user (in a last write wins manner) ? > > Webadmin so far

Re: About our usage of LWT in Cassandra related code

2020-12-08 Thread Tellier Benoit
Sorry for repost, I sent that response before but it was lost. Maybe the unfamous text/html format issue. Le 07/12/2020 à 04:33, Jean Helou a écrit : > Hello, > > I'm currently trying to increase overall efficiency of the Distributed >> James server. >> > > I have some concerns but i feel

Re: About our usage of LWT in Cassandra related code

2020-12-08 Thread Matthieu Baechler
On Sun, 2020-12-06 at 22:33 +0100, Jean Helou wrote: > Hello, > > I'm currently trying to increase overall efficiency of the > Distributed > > James server. > > > > I have some concerns but i feel imposterish for posting them as they > most > likely come from my own lack of knowledge, i'll

Re: About our usage of LWT in Cassandra related code

2020-12-08 Thread Matthieu Baechler
On Tue, 2020-12-08 at 10:12 +0700, Tellier Benoit wrote: > Hello Matthieu, > > Sadly, I'm unable to see what you did write in the email you sent due > to > the absence of quote. > > Can you review your email client settings, in order to get a readable > output we can start discussing on? > >

Re: About our usage of LWT in Cassandra related code

2020-12-07 Thread Tellier Benoit
Hello Matthieu, Sadly, I'm unable to see what you did write in the email you sent due to the absence of quote. Can you review your email client settings, in order to get a readable output we can start discussing on? This time, I made the effort, but I would greatly appreciate a better display.

Re: About our usage of LWT in Cassandra related code

2020-12-07 Thread Matthieu Baechler
Hi Benoit, On Fri, 2020-12-04 at 14:22 +0700, btell...@linagora.com (OpenPaaS) wrote: Hi, I'm currently trying to increase overall efficiency of the Distributed James server. As such, I'm pocking around for improvement areas and found a huge topic around LWT. My conclusions so far are that we

Re: About our usage of LWT in Cassandra related code

2020-12-06 Thread Jean Helou
Hello, I'm currently trying to increase overall efficiency of the Distributed > James server. > I have some concerns but i feel imposterish for posting them as they most likely come from my own lack of knowledge, i'll still try just in case some of points are valid :) - `users` we rely on LWT

Re: About our usage of LWT in Cassandra related code

2020-12-03 Thread Benoit Tellier
This ADR can also be reviewed on Github: https://github.com/apache/james-project/pull/271 Le 04/12/2020 à 14:22, btell...@linagora.com (OpenPaaS) a écrit : > Hi, > > I'm currently trying to increase overall efficiency of the Distributed > James server. > > As such, I'm pocking around for

About our usage of LWT in Cassandra related code

2020-12-03 Thread btell...@linagora.com (OpenPaaS)
Hi, I'm currently trying to increase overall efficiency of the Distributed James server. As such, I'm pocking around for improvement areas and found a huge topic around LWT. My conclusions so far are that we should keep LWT and SERIAL consistency level out of the most common use cases. I know