Skip to content

Perf: Enable Turbo Mode for DevRank Store #9061

@tobiu

Description

@tobiu

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 heavy Neo.data.Record instances.
  • Lazy Instantiation: Neo.data.Store.getAt() lazily converts raw data objects into Record instances 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 RecordFactory handles the mapping (l -> login) during this lazy creation.

This is the final step in the data optimization pipeline.

Metadata

Metadata

Assignees

Labels

aienhancementNew feature or requestperformancePerformance improvements and optimizations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions