Skip to content

Performance improvement: object database query caching? #1100

@abitmore

Description

@abitmore

Most of data stored in the object database is in a red-black tree. Currently, every query searches from the root to the leaf, the complexity is O(log(n)). Generally, some data is much hotter than others, so it makes sense to cache the hottest results (pointers or addresses) to avoid searching from root to leaf for same data again and again.

Things to be done:

  • profiling / query pattern analysis : find out what's being queried the most, whether a cache would help
  • caching design

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    1a EpicHigh level concept to be addressed. Description should contain a list referencing child User Stories2a Discussion NeededPrompt for team to discuss at next stand up.6 PerformanceImpacts flag identifying system/user efficiency, performance, etc.performance

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions