-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
- Eviction Policy
Clients are not supposed to keep an entire database but just a part of it. Besides JS is single threaded, if we start building index for a huge database or perform a sort operation, it will block the entire UI thread. For these reasons, each scheme on a redux database should have limited number of records. A eviction policy method should perform this operation where the eviction may be based on various factors. - Aggregation
Along with the database index, an aggregation method could be supplied that would calculate the aggregated values like (sum, count, etc). - Sorting
The data should have a sort field, which makes keeps theallIdslist sorted by this field. - Add helper methods (
dispatch actions) to perform certain actions like rebuilding index, sorting dataset, etc. - Add data structure. [Reminder to self, this is partly implemented in HoneyGuide next repo]
Metadata
Metadata
Assignees
Labels
No labels