service-capacity-modeling 0.3.62__py3-none-any.whl → 0.3.65__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of service-capacity-modeling might be problematic. Click here for more details.

@@ -41,7 +41,6 @@ from service_capacity_modeling.models.common import normalize_cores
41
41
  from service_capacity_modeling.models.common import simple_network_mbps
42
42
  from service_capacity_modeling.models.common import sqrt_staffed_cores
43
43
  from service_capacity_modeling.models.common import working_set_from_drive_and_slo
44
- from service_capacity_modeling.models.utils import next_n
45
44
  from service_capacity_modeling.stats import dist_for_interval
46
45
 
47
46
  logger = logging.getLogger(__name__)
@@ -299,11 +298,7 @@ def _estimate_evcache_cluster_zonal( # noqa: C901,E501 pylint: disable=too-many
299
298
  # EVCache doesn't use cloud drives to store data, we will have
300
299
  # accounted for the data going on drives or memory via working set
301
300
  max_local_disk_gib=max_local_disk_gib,
302
- # EVCache clusters should be balanced per zone
303
- cluster_size=lambda x: next_n(x, copies_per_region),
304
301
  min_count=max(min_count, 0),
305
- # Sidecars and Variable OS Memory
306
- reserve_memory=lambda x: base_mem,
307
302
  adjusted_disk_io_needed=adjusted_disk_io_needed,
308
303
  read_write_ratio=read_write_ratio,
309
304
  )
@@ -534,8 +529,8 @@ class NflxEVCacheCapacityModel(CapacityModel):
534
529
  ratio=1.25, components=[BufferComponent.storage]
535
530
  ), # ~80%
536
531
  "memory": Buffer(
537
- ratio=1.11, components=[BufferComponent.memory]
538
- ), # 90%
532
+ ratio=1.25, components=[BufferComponent.memory]
533
+ ), # 80%
539
534
  "network": Buffer(
540
535
  ratio=1.5, components=[BufferComponent.network]
541
536
  ), # ~70%
@@ -607,8 +602,8 @@ class NflxEVCacheCapacityModel(CapacityModel):
607
602
  ratio=1.25, components=[BufferComponent.storage]
608
603
  ), # ~80%
609
604
  "memory": Buffer(
610
- ratio=1.11, components=[BufferComponent.memory]
611
- ), # 90%
605
+ ratio=1.2, components=[BufferComponent.memory]
606
+ ), # 80%
612
607
  "network": Buffer(
613
608
  ratio=1.5, components=[BufferComponent.network]
614
609
  ), # ~70%
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: service-capacity-modeling
3
- Version: 0.3.62
3
+ Version: 0.3.65
4
4
  Summary: Contains utilities for modeling capacity for pluggable workloads
5
5
  Author: Joseph Lynch
6
6
  Author-email: josephl@netflix.com
@@ -52,7 +52,7 @@ service_capacity_modeling/models/org/netflix/crdb.py,sha256=AlHdGFpR1RmwQSZsiuiH
52
52
  service_capacity_modeling/models/org/netflix/ddb.py,sha256=GDoXVIpDDY6xDB0dsiaz7RAPPj-qffTrM9N6w5-5ndg,26311
53
53
  service_capacity_modeling/models/org/netflix/elasticsearch.py,sha256=746WYY_WSeMgY-Go7wvWGYOxfFV8ryupNThvDZHPbGo,23685
54
54
  service_capacity_modeling/models/org/netflix/entity.py,sha256=M0vzwhf8UAbVxnXspAkN4GEbq3rix6yoky6W2oDG6a0,8648
55
- service_capacity_modeling/models/org/netflix/evcache.py,sha256=G5d8OXp21FslKt2EhYWxhxicKEggA0lQhG3Bid93elw,25228
55
+ service_capacity_modeling/models/org/netflix/evcache.py,sha256=i2SWTUTIMVqNMJpJ_xQQT7NsWqHubZJEwoGz5vq-3gk,24968
56
56
  service_capacity_modeling/models/org/netflix/graphkv.py,sha256=iS5QDDv9_hNY6nIgdL-umB439qP7-jN-n6_Tl6d-ZSo,8557
57
57
  service_capacity_modeling/models/org/netflix/iso_date_math.py,sha256=CPGHLmbGeNqkcYcmCkLKhPZcAU-yTJ2HjvuXdnNyCYc,996
58
58
  service_capacity_modeling/models/org/netflix/kafka.py,sha256=FiuBml8uWOVfPFZ37NvZW13nMVtFE4VDf_SZIFdw4sA,25515
@@ -69,9 +69,9 @@ service_capacity_modeling/tools/auto_shape.py,sha256=41pfR40BN-xJS8js4BWSoqT67Jh
69
69
  service_capacity_modeling/tools/fetch_pricing.py,sha256=JkgJPTE0SVj8sdGQvo0HN-Hdv3nfA2tu7C_Arad5aX8,3762
70
70
  service_capacity_modeling/tools/generate_missing.py,sha256=uvr9fQanx3bm4KTneH-x7EOQvO7cVV0i9gdQvArPCuY,2947
71
71
  service_capacity_modeling/tools/instance_families.py,sha256=e9JWSIdljSmHI8Nb2MI5Ld9JqQ7WdOtPtV7g3oR7ZiU,7764
72
- service_capacity_modeling-0.3.62.dist-info/licenses/LICENSE,sha256=nl_Lt5v9VvJ-5lWJDT4ddKAG-VZ-2IaLmbzpgYDz2hU,11343
73
- service_capacity_modeling-0.3.62.dist-info/METADATA,sha256=3PzrFsAG7No9MPYyMQ-MVY28MHZLysYPUX4MFcCmzsU,10214
74
- service_capacity_modeling-0.3.62.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
- service_capacity_modeling-0.3.62.dist-info/entry_points.txt,sha256=ZsjzpG5SomWpT1zCE19n1uSXKH2gTI_yc33sdl0vmJg,146
76
- service_capacity_modeling-0.3.62.dist-info/top_level.txt,sha256=H8XjTCLgR3enHq5t3bIbxt9SeUkUT8HT_SDv2dgIT_A,26
77
- service_capacity_modeling-0.3.62.dist-info/RECORD,,
72
+ service_capacity_modeling-0.3.65.dist-info/licenses/LICENSE,sha256=nl_Lt5v9VvJ-5lWJDT4ddKAG-VZ-2IaLmbzpgYDz2hU,11343
73
+ service_capacity_modeling-0.3.65.dist-info/METADATA,sha256=f-Ew79dkSLB26PjRYYqoZVFjjY_SaF3b3V5JjI5AB4U,10214
74
+ service_capacity_modeling-0.3.65.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
+ service_capacity_modeling-0.3.65.dist-info/entry_points.txt,sha256=ZsjzpG5SomWpT1zCE19n1uSXKH2gTI_yc33sdl0vmJg,146
76
+ service_capacity_modeling-0.3.65.dist-info/top_level.txt,sha256=H8XjTCLgR3enHq5t3bIbxt9SeUkUT8HT_SDv2dgIT_A,26
77
+ service_capacity_modeling-0.3.65.dist-info/RECORD,,