Skip to content

Conversation

@iori-yja
Copy link
Contributor

@iori-yja iori-yja commented Nov 13, 2018

In some use cases, avoiding parsing perf data for multiple times contributes the flamescope server performance & its users' experience. flamescope already has an in-memory cache for the analyzed perf data, and this PR adds file-backed one in case of in-memory cache miss.
In our case, we render some graphs in a page by querying to flamescope which we run with three or a few more instances and the most simplest way to share processed data between them is file-backed cache.

To enable this feature, change USE_HEATMAP_FILECACHE in app/config.py to True.

Related issue: #58

@spiermar spiermar self-requested a review November 27, 2018 18:26
@spiermar spiermar self-assigned this Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants