You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jeffrey (JIRA)" <ji...@apache.org> on 2015/07/12 17:58:05 UTC

[jira] [Updated] (USERGRID-652) Index Routing/Location Strategy

     [ https://issues.apache.org/jira/browse/USERGRID-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeffrey  updated USERGRID-652:
------------------------------
    Fix Version/s: 2.1

> Index Routing/Location Strategy
> -------------------------------
>
>                 Key: USERGRID-652
>                 URL: https://issues.apache.org/jira/browse/USERGRID-652
>             Project: Usergrid
>          Issue Type: Story
>            Reporter: Jeffrey 
>            Assignee: Shawn Feldman
>             Fix For: 2.1
>
>
> We should consider implementing a proxy which provides the index being used for an application.  This proxy should provide both the Index strategy and the entity type mapping strategy.
> The goal is to provide a point where we can implement a strategy function that could do one (or more) of the following strategies for indexes:
> - Single index per cluster (static index allocation)
> - Index per org/app (dynamic index allocation)
> - Index per org (dynamic index allocation)
> - Index per cluster (dynamic index allocation)
> - Index per customer (dynamic index allocation)
> - Hash/bucketing across a fixed range of indexes (static index allocation)
> - Per environment (TBD)
> - Static (for the management app, should always match the Cassandra keyspace name as the index)
> In order to do this we need to update EntityIndexFactory.createApplicationEntityIndex.
> For Entity Type Mapping, the goal is to enable bucketing of entity types (collections) in a manner that can be more optimal for the indexing strategy that is chosen.  For example, a single index strategy might have a single entity type but for the index per org/app it might have a separate entity type.  Looking up the management index would have a strategy where the index name matches the cassandra keyspace name



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