You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Todd Nine (JIRA)" <ji...@apache.org> on 2015/02/19 20:42:11 UTC

[jira] [Commented] (USERGRID-405) Fix hotspot from continuous writes of entities

    [ https://issues.apache.org/jira/browse/USERGRID-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328008#comment-14328008 ] 

Todd Nine commented on USERGRID-405:
------------------------------------

I'm going to branch off of 381 since we should only perform this migration once.

> Fix hotspot from continuous writes of entities
> ----------------------------------------------
>
>                 Key: USERGRID-405
>                 URL: https://issues.apache.org/jira/browse/USERGRID-405
>             Project: Usergrid
>          Issue Type: Story
>            Reporter: Todd Nine
>            Assignee: Todd Nine
>
> Currently, performing a continuous PUT in 2.0 under heavy load causes a hotspot in our cassandra data.  
> Cause:
> # Under load, entities can be PUT continuously
> # Asynchronous cleanups run and delete previous versions
> # These versions are retained in cassandra for long periods of time.  This causes severe row bloating before compaction occurs.
> Solution:
> For entity data, we only care about the current max version.  We should change this column family to store only the maximum data format.  We will need to keep the log of previous versions, so that we can bring ES into a consistent state



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)