service-capacity-modeling 0.3.49__py3-none-any.whl → 0.3.51__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.

@@ -751,7 +751,10 @@ def get_memory_from_current_capacity(
751
751
  current_capacity: CurrentClusterCapacity, buffers: Buffers
752
752
  ):
753
753
  # compute memory required per zone
754
- current_memory_utilization = current_capacity.memory_utilization_gib.mid
754
+ current_memory_utilization = (
755
+ current_capacity.memory_utilization_gib.mid
756
+ * current_capacity.cluster_instance_count.mid
757
+ )
755
758
 
756
759
  if current_capacity.cluster_instance is None:
757
760
  cluster_instance = shapes.instance(current_capacity.cluster_instance_name)
@@ -790,7 +793,10 @@ def get_network_from_current_capacity(
790
793
  current_capacity: CurrentClusterCapacity, buffers: Buffers
791
794
  ):
792
795
  # compute network required per zone
793
- current_network_utilization = current_capacity.network_utilization_mbps.mid
796
+ current_network_utilization = (
797
+ current_capacity.network_utilization_mbps.mid
798
+ * current_capacity.cluster_instance_count.mid
799
+ )
794
800
 
795
801
  if current_capacity.cluster_instance is None:
796
802
  cluster_instance = shapes.instance(current_capacity.cluster_instance_name)
@@ -829,7 +835,10 @@ def get_disk_from_current_capacity(
829
835
  current_capacity: CurrentClusterCapacity, buffers: Buffers
830
836
  ):
831
837
  # compute disk required per zone
832
- current_disk_utilization = current_capacity.disk_utilization_gib.mid
838
+ current_disk_utilization = (
839
+ current_capacity.disk_utilization_gib.mid
840
+ * current_capacity.cluster_instance_count.mid
841
+ )
833
842
 
834
843
  if current_capacity.cluster_instance is None:
835
844
  cluster_instance = shapes.instance(current_capacity.cluster_instance_name)
@@ -226,9 +226,6 @@ def _estimate_evcache_cluster_zonal( # noqa: C901,E501 pylint: disable=too-many
226
226
  if instance.ram_gib < min_instance_memory_gib:
227
227
  return None
228
228
 
229
- if instance.drive is None:
230
- return None
231
-
232
229
  # Based on the disk latency and the read latency SLOs we adjust our
233
230
  # working set to keep more or less data in RAM. Faster drives need
234
231
  # less fronting RAM.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: service-capacity-modeling
3
- Version: 0.3.49
3
+ Version: 0.3.51
4
4
  Summary: Contains utilities for modeling capacity for pluggable workloads
5
5
  Author: Joseph Lynch
6
6
  Author-email: josephl@netflix.com
@@ -40,7 +40,7 @@ service_capacity_modeling/hardware/profiles/shapes/aws/manual_drives.json,sha256
40
40
  service_capacity_modeling/hardware/profiles/shapes/aws/manual_instances.json,sha256=i611n6d7hsjd7L8aSEDzfaTMS2jVs-Jc38-vl-NKfs4,18013
41
41
  service_capacity_modeling/hardware/profiles/shapes/aws/manual_services.json,sha256=h63675KKmu5IrI3BORDN8fiAqLjAyYHArErKbC7-T30,776
42
42
  service_capacity_modeling/models/__init__.py,sha256=XK7rTBW8ZXQY5L9Uy2FwjuFN_KBW3hKw7IrhG1piajs,13567
43
- service_capacity_modeling/models/common.py,sha256=J7fnGYM3F9KouTZmX60oA5hFdMNe8VthYlPF5w-ZpRI,33367
43
+ service_capacity_modeling/models/common.py,sha256=ixmNkohvw30R2JBvdpM6xKb19na_g3GNGvQQYLlkV_A,33577
44
44
  service_capacity_modeling/models/headroom_strategy.py,sha256=QIkP_K_tK2EGAjloaGfXeAPH5M0UDCN8FlAtwV9xxTA,651
45
45
  service_capacity_modeling/models/utils.py,sha256=Y9xwSzLuGQ7Tn4BCkbdMtR7_fjEQ9PKQ52JlHVtdEtY,1567
46
46
  service_capacity_modeling/models/org/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -52,7 +52,7 @@ service_capacity_modeling/models/org/netflix/crdb.py,sha256=2rD4Io0yT7o0NR4lNfer
52
52
  service_capacity_modeling/models/org/netflix/ddb.py,sha256=2jxMFz31xckJvymvVlu1yWm0X4dGYlqxDo0bftU1B9M,26307
53
53
  service_capacity_modeling/models/org/netflix/elasticsearch.py,sha256=Ku7OFz-6BY0FS0lfNh9MCqtDcjufLcuPbug0CO4UPvY,23686
54
54
  service_capacity_modeling/models/org/netflix/entity.py,sha256=M0vzwhf8UAbVxnXspAkN4GEbq3rix6yoky6W2oDG6a0,8648
55
- service_capacity_modeling/models/org/netflix/evcache.py,sha256=Po2U7pxQ5Mdr9ZtIUGdzUL5Dk67l0SZdxF_lZH7fVFQ,25281
55
+ service_capacity_modeling/models/org/netflix/evcache.py,sha256=l3fzIVQ1PznD2tG00Fmwl728437MZrtHOS4WjXVa3fs,25229
56
56
  service_capacity_modeling/models/org/netflix/graphkv.py,sha256=EVRo-1OCDvvotqPgIdP2_JXMfZUsG7KZxRMmlgYc3CI,8558
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=wtvsfKjmKSF5NDCaFRmpwEi9RNYcfAPzoZ2ESgYufqU,22745
@@ -69,9 +69,9 @@ service_capacity_modeling/tools/auto_shape.py,sha256=Rk5Fjrw2susVL8It_J2KUADoMGB
69
69
  service_capacity_modeling/tools/fetch_pricing.py,sha256=SHOtFaPr61op2bnY9i_g_1-d-Nz2rV8c7Jwsye2R49s,3763
70
70
  service_capacity_modeling/tools/generate_missing.py,sha256=WN7Y0iPjelJu9d2Yq5dcu_EBIQPX2VxKgOou4NMNOM4,2860
71
71
  service_capacity_modeling/tools/instance_families.py,sha256=e9JWSIdljSmHI8Nb2MI5Ld9JqQ7WdOtPtV7g3oR7ZiU,7764
72
- service_capacity_modeling-0.3.49.dist-info/licenses/LICENSE,sha256=nl_Lt5v9VvJ-5lWJDT4ddKAG-VZ-2IaLmbzpgYDz2hU,11343
73
- service_capacity_modeling-0.3.49.dist-info/METADATA,sha256=gHePa4OZg72XRXErTRHNUEDXdtCRnhTHBGkxh48X9dQ,9590
74
- service_capacity_modeling-0.3.49.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
- service_capacity_modeling-0.3.49.dist-info/entry_points.txt,sha256=ZsjzpG5SomWpT1zCE19n1uSXKH2gTI_yc33sdl0vmJg,146
76
- service_capacity_modeling-0.3.49.dist-info/top_level.txt,sha256=H8XjTCLgR3enHq5t3bIbxt9SeUkUT8HT_SDv2dgIT_A,26
77
- service_capacity_modeling-0.3.49.dist-info/RECORD,,
72
+ service_capacity_modeling-0.3.51.dist-info/licenses/LICENSE,sha256=nl_Lt5v9VvJ-5lWJDT4ddKAG-VZ-2IaLmbzpgYDz2hU,11343
73
+ service_capacity_modeling-0.3.51.dist-info/METADATA,sha256=81x0znZRlNi1QGK90Kj9YmTnEXURwO0ywSHeIWZMH14,9590
74
+ service_capacity_modeling-0.3.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
+ service_capacity_modeling-0.3.51.dist-info/entry_points.txt,sha256=ZsjzpG5SomWpT1zCE19n1uSXKH2gTI_yc33sdl0vmJg,146
76
+ service_capacity_modeling-0.3.51.dist-info/top_level.txt,sha256=H8XjTCLgR3enHq5t3bIbxt9SeUkUT8HT_SDv2dgIT_A,26
77
+ service_capacity_modeling-0.3.51.dist-info/RECORD,,