node-cqrs icon indicating copy to clipboard operation
node-cqrs copied to clipboard

Collection views

Open petrjanda opened this issue 12 years ago • 0 comments

In order to significantly speedup view fetching, need to implement better way how to store denormalized data in the smaller chunks. Currently each view is stored as separate document (unique key) but we need to implement much better granularity (by different rules).

Example: View with list of events for multiple users in a time Instead of storing one big bulk and then fetching just part of the view on the app level, we would store view per day and user. This would mean fetching data for particular day and user would be way faster.

The strategy how to split data should be easy to change.

petrjanda avatar May 10 '12 20:05 petrjanda