AAE Off

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

AAE Off

al so
Why would anyone disable AAE in riak 2.x?

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: AAE Off

Matthew Von-Maszewski
Performance gains on write intensive applications.

> On Feb 28, 2017, at 11:18 AM, al so <[hidden email]> wrote:
>
> Why would anyone disable AAE in riak 2.x?
> _______________________________________________
> riak-users mailing list
> [hidden email]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: AAE Off

Alexander Sicular-2
Right. AAE does not come for free. It consumes disk, memory and CPU. Depending on your circumstances it may or may not be advantageous for your system. 

On Tue, Feb 28, 2017 at 11:39 Matthew Von-Maszewski <[hidden email]> wrote:
Performance gains on write intensive applications.

> On Feb 28, 2017, at 11:18 AM, al so <[hidden email]> wrote:
>
> Why would anyone disable AAE in riak 2.x?
> _______________________________________________
> riak-users mailing list
> [hidden email]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
--


Alexander Sicular
Solutions Architect
Basho Technologies
9175130679
@siculars

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: AAE Off

al so
How would the data get repaired then? i.e. looking for complete list of Cons when AAE is Off.

On Tue, Feb 28, 2017 at 9:45 AM, Alexander Sicular <[hidden email]> wrote:
Right. AAE does not come for free. It consumes disk, memory and CPU. Depending on your circumstances it may or may not be advantageous for your system. 

On Tue, Feb 28, 2017 at 11:39 Matthew Von-Maszewski <[hidden email]> wrote:
Performance gains on write intensive applications.

> On Feb 28, 2017, at 11:18 AM, al so <[hidden email]> wrote:
>
> Why would anyone disable AAE in riak 2.x?
> _______________________________________________
> riak-users mailing list
> [hidden email]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
--


Alexander Sicular
Solutions Architect
Basho Technologies
<a href="tel:(917)%20513-0679" value="+19175130679" target="_blank">9175130679
@siculars


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: AAE Off

Magnus Kessler
On 1 March 2017 at 07:23, al so <[hidden email]> wrote:
How would the data get repaired then? i.e. looking for complete list of Cons when AAE is Off.

On Tue, Feb 28, 2017 at 9:45 AM, Alexander Sicular <[hidden email]> wrote:
Right. AAE does not come for free. It consumes disk, memory and CPU. Depending on your circumstances it may or may not be advantageous for your system. 

On Tue, Feb 28, 2017 at 11:39 Matthew Von-Maszewski <[hidden email]> wrote:
Performance gains on write intensive applications.

> On Feb 28, 2017, at 11:18 AM, al so <[hidden email]> wrote:
>
> Why would anyone disable AAE in riak 2.x?

There are several mechanisms in Riak that repair data. AAE [0] is intended to detect corrupted data that is not regularly accessed in other ways. When objects are read, the read-repair mechanism [1] will also fix up lost or corrupted data. Finally, if a partition is lost and AAE is not enabled, you can perform a manual partition repair operation [2].

So, if your use case involves short-lived data, or data that is regularly read or updated, turning off AAE may allow the cluster to handle a higher peak load. However, there are several cases where having AAE enabled is important. These include the use of Riak Search / Yokozuna, which without AAE will not be able to detect objects missing or not yet deleted from a Riak core under high load, and AAE based MDC replication. Overall, leaving AAE turned on is recommended for most use cases, but you should give the cluster enough resources to handle the maximum expected load while also doing IO and CPU intensive AAE operations like AAE tree rebuilds.

Kind Regards,

Magnus


--
Magnus Kessler
Client Services Engineer
Basho Technologies Limited

Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com