We are having below aerospike set data model @ prod. We are relying on ONLY Aerospike as our data-house. Now, we need to generate the hourly report for sales team: Report detailing no of customers acquired in every hour.
@Document(collection = "cust")
public class Customer {
@Id
@Field(value = "PK")
private String custId;
@Field(value = "mobileNumber")
private String mobileNumber;
@Field(value = "status")
private String customerStatus;
@Field(value = "creationTime")
private String creationTime;
@Field(value = "corrDetails")
private HashMap<String, Object> corrDetails;
}
Concerns needs help :-
a.) How the same can be achieved by avoiding the Secondary Indices ! We don't have any secondary indexes on production and would want to avoid them.
b.) is there a way where aforementioned kind of reports can be generated, Since we DON'T have MYSQL / RDBMS replicating the data unnderneath !
c.) Are frequent aerospike SET
scans leads to deterioration in performance ?