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

🐛Autoscaling: Warm buffers do not replace hot buffers #6962

Conversation

sanderegg
Copy link
Member

@sanderegg sanderegg commented Dec 13, 2024

What do these changes do?

In case both warm and hot buffers are used for specific instance type, the warm buffers were not prioritized over launching a fresh instance. This would lead to inneficiencies and also additional costs as the warm buffer would only be used if more users than hot buffers were starting a service at the same time.

Related issue/s

How to test

Dev-ops checklist

@sanderegg sanderegg added the a:autoscaling autoscaling service in simcore's stack label Dec 13, 2024
@sanderegg sanderegg added this to the Event Horizon milestone Dec 13, 2024
@sanderegg sanderegg self-assigned this Dec 13, 2024
@sanderegg sanderegg requested a review from pcrespov as a code owner December 13, 2024 11:22
Copy link
Contributor

@GitHK GitHK left a comment

Choose a reason for hiding this comment

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

👍

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.16%. Comparing base (4eeaa5c) to head (4d02341).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6962      +/-   ##
==========================================
+ Coverage   88.10%   88.16%   +0.06%     
==========================================
  Files        1592     1585       -7     
  Lines       62326    62145     -181     
  Branches     2012     2012              
==========================================
- Hits        54912    54792     -120     
+ Misses       7078     7017      -61     
  Partials      336      336              
Flag Coverage Δ
integrationtests 64.97% <ø> (-0.02%) ⬇️
unittests 86.49% <100.00%> (+0.16%) ⬆️
Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library 93.49% <ø> (ø)
pkg_dask_task_models_library 97.09% <ø> (ø)
pkg_models_library 91.24% <ø> (ø)
pkg_notifications_library 84.57% <ø> (ø)
pkg_postgres_database 88.05% <ø> (ø)
pkg_service_integration 70.02% <ø> (ø)
pkg_service_library 74.62% <ø> (+0.03%) ⬆️
pkg_settings_library 90.60% <ø> (ø)
pkg_simcore_sdk 85.38% <ø> (ø)
agent 97.00% <ø> (ø)
api_server 90.13% <ø> (ø)
autoscaling 96.09% <100.00%> (+0.66%) ⬆️
catalog 90.57% <ø> (ø)
clusters_keeper 99.48% <ø> (ø)
dask_sidecar 91.26% <ø> (ø)
datcore_adapter 93.18% <ø> (ø)
director 76.40% <ø> (ø)
director_v2 91.40% <ø> (ø)
dynamic_scheduler 96.99% <ø> (ø)
dynamic_sidecar 89.75% <ø> (ø)
efs_guardian 90.12% <ø> (ø)
invitations 93.44% <ø> (ø)
osparc_gateway_server ∅ <ø> (∅)
payments 92.66% <ø> (ø)
resource_usage_tracker 89.58% <ø> (-0.07%) ⬇️
storage 89.54% <ø> (ø)
webclient ∅ <ø> (∅)
webserver 87.78% <ø> (+0.01%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4eeaa5c...4d02341. Read the comment docs.

Copy link
Contributor

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@bisgaard-itis bisgaard-itis left a comment

Choose a reason for hiding this comment

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

👍 Very nice! Thanks for the fix.

@sanderegg sanderegg merged commit a7d1e3a into ITISFoundation:master Dec 16, 2024
92 of 93 checks passed
@sanderegg sanderegg deleted the autoscaling/bugfix/transfer-warm-to-hot-buffer branch December 16, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:autoscaling autoscaling service in simcore's stack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autoscaling: When hot buffer are in use the warm buffer are not replacing them
5 participants