-
-
Notifications
You must be signed in to change notification settings - Fork 202
Perf: Enable Turbo Mode for DevRank Store #9061
Copy link
Copy link
Closed
Labels
aienhancementNew feature or requestNew feature or requestperformancePerformance improvements and optimizationsPerformance improvements and optimizations
Description
To handle the scale of 100k+ users, we must enable "Turbo Mode" in the DevRank.store.Contributors store.
Action:
Set autoInitRecords: false in the store configuration.
Impact:
- Memory: The Store will initially hold lightweight, minified raw data objects (e.g.,
{l: 'tobiu', tc: 1000}) instead of heavyNeo.data.Recordinstances. - Lazy Instantiation:
Neo.data.Store.getAt()lazily converts raw data objects intoRecordinstances only when they are accessed (e.g., by the Grid renderer). This distributes the memory and CPU cost over time as the user scrolls, rather than paying it all upfront. - Grid Compatibility: Fully compatible with the minified schema because
RecordFactoryhandles the mapping (l->login) during this lazy creation.
This is the final step in the data optimization pipeline.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aienhancementNew feature or requestNew feature or requestperformancePerformance improvements and optimizationsPerformance improvements and optimizations