Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session performance improvement #211

Merged
merged 5 commits into from
Jun 1, 2023

Conversation

elpablos
Copy link
Contributor

Why?

  • we have found out some performance issues about sessions
  • first one is about iterating for expired sessions
  • second one si about metric - sum of sessions

Expired sessions

  • fixed with simple index

estimated_document_count

  • metric don't use filter, so we can improve it with estimated_document_count() method

@elpablos elpablos changed the title feat(session): add index and improve count Session performance improvement May 29, 2023
@ateska ateska added the enhancement New feature or request label May 29, 2023
@byewokko byewokko merged commit b9d7ac0 into TeskaLabs:main Jun 1, 2023
@elpablos elpablos deleted the session-performance-opt branch August 3, 2023 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants