Skip to content

Conversation

@pbashyal-nmdp
Copy link
Contributor

  • The LRU cache was unbounded and is problematic when used in long running services. Set it to 1000.
  • Use raw strings for regex characters
  • General cleanup

 - The LRU cache was unbounded and is problematic when used in long running services. Set it to 1000.
 - Use raw strings for regex characters
 - General cleanup
Copy link
Contributor

@mmaiers-nmdp mmaiers-nmdp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Looks good to me.

@mmaiers-nmdp
Copy link
Contributor

Have you done any timings on the performance with the cache limit? i can't imagine its a major hit.

@pbashyal-nmdp
Copy link
Contributor Author

It'll help with performance but letting it be unbounded in terms of the cache size will balloon memory usage in long running services that include pyard as a dependency.

@mmaiers-nmdp mmaiers-nmdp merged commit 4a5049c into nmdp-bioinformatics:master Oct 1, 2020
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