sc_crawler.table_fields
Enumerations, JSON nested data objects & other helper classes used in sc_crawler.tables.
Classes:
- HashableDict – A dict that can be hashed by its JSON representation.
- HashableJSON – Alternative JSON SQLAlchemy column representation, which can be hashed.
- Json – Custom base SQLModel class that supports dumping as JSON.
- Status – Last known status of a record.
- ResourceType – Kind of resource a benchmark score refers to.
- Cpu – CPU details.
- AcceleratorType – Type of a hardware accelerator, e.g. GPUGPU: Graphics Processing UnitA processor with thousands of simple cores that run the same operation on many data elements in parallel. It was built to render graphics, and is now also used for general-purpose parallel work such as machine learning training and inference, scientific simulation, and video encoding. Cloud providers rent GPUs attached to virtual machines, with their own dedicated GPU memory.WikipediaGlossary or NPU.
- Accelerator – Hardware accelerator (e.g. GPU or TPU) details.
- StorageType – Type of a storage, e.g. HDD or SSDSSD: Solid-State DriveA storage device that keeps data in flash memory instead of on spinning disks, so it reads and writes much faster than an HDD, especially at random locations. A controller with its own firmware maps logical blocks to flash pages, and many SSDs write incoming data to a fast cache first, then move it to slower flash. Cloud servers use SSDs as local disks and behind network block storage.WikipediaGlossary.
- DatabaseEngine – Managed database engine.
- DatabaseWireProtocol – Wire protocol for a managed database type.
- DatabaseHaLevel – High availability level for a managed database type.
- DatabaseHaStrategy – High availability replication strategy for a managed database type.
- DatabaseSecurityFeature – Security capabilities supported by DBaaS providers.
- DatabaseStorageScope – Scope of a managed database storage product.
- Disk – Disk definition based on size and storage type.
- TrafficDirection – Direction of the network traffic.
- CpuAllocation – CPU allocation methods at cloud vendors.
- CpuArchitecture – CPU architectures.
- DdrGeneration – Generation of the DDR SDRAM.
- Allocation – Server allocation options.
- PriceUnit – Supported units for the price tables.
- PriceTier – Price tier definition.
- Parallelism – Parallelism mode of a benchmark run.
- BenchmarkComponentAggregationMethod – How component benchmark scores are combined into one composite score.
- BenchmarkComponentNormalizationMethod – How each raw benchmark value is scaled to be comparable across benchmarks.
- BenchmarkComponentMissingPolicy – What to do when a component has no usable measurement for a server.
- ScoreComponent – One component's contribution to a composite workload profile score.
- WorkloadScoreBreakdown – Per-server realized calculation of a composite workload profile score.
- Category – Workload category for a cloud server type.
Attributes:
- DISK_SPEED_FIELDS – Speed fields of a
Disk, matching thestorage_*server columns.
class HashableDict table_fields.py:13–35
Bases: dict
A dict that can be hashed by its JSON representation.
Useful for typehinting dict-type table columns that are primary
keys (which need to be hashable for SQLAlchemy ORM). See
sc_crawler.table_fields.HashableJSON class for the related sa_type.
Functions:
- sorted – Create from a dict with its keys sorted recursively, so that it is always stored as the same JSON.
meth HashableDict.sorted table_fields.py:24–35
sorted(value)
Create from a dict with its keys sorted recursively, so that it is always stored as the same JSON.
Examples:
>>> HashableDict.sorted({"b": 1, "a": {"d": 2, "c": 3}})
{'a': {'c': 3, 'd': 2}, 'b': 1}
class HashableJSON table_fields.py:38–57
Bases: TypeDecorator
Alternative JSON SQLAlchemy column representation, which can be hashed.
Functions:
- load_dialect_impl – Use JSONB in PostgreSQLPostgreSQLAn open-source object-relational database system, developed by a global community and descended from the POSTGRES project at UC Berkeley in 1986. It uses and extends SQL, with transactions, many index types, extensions, and JSON data.PostgreSQL docsGlossary, as JSON cannot be compared, so cannot be a primary key either.
meth HashableJSON.load_dialect_impl table_fields.py:44–48
load_dialect_impl(dialect)
Use JSONB in PostgreSQL, as JSON cannot be compared, so cannot be a primary key either.
class Json table_fields.py:60–65
Bases: BaseModel
Custom base SQLModel class that supports dumping as JSON.
class Status table_fields.py:68–123
Last known status of a record.
The docstrings of the values are shown to end-users (e.g. in the APIAPI: Application Programming InterfaceA defined set of requests and responses through which one program uses another, such as a web service's HTTP endpoints or a library's functions.WikipediaGlossary and on the website), so keep those to what a status means, and document here how the statuses are set:
ACTIVEandINACTIVEare valid for all tables. Records returned by the vendor or defined in code areACTIVE. Records no longer returned or defined are set toINACTIVEbypull, as well as records missing from the source bysync.PLANNED_FOR_RETIREMENTandRETIREDare only valid for Server and Database, and are set only from explicit vendor signals. These are kept bypullwhen the record is no longer returned by the vendor.ARCHIVEDis valid for all tables. It is set only from the archive rules bypullandsync, also for child records (e.g. prices of a regionregionA geographic area where a cloud vendor runs its data centers, such as Frankfurt or Northern Virginia, made up of one or more availability zones. A server type is offered in some regions only, and its price can differ by region; a region's ID, such aseu-central-1, is unique only within its vendor.Glossary), and archived records are not updated afterwards. It is our decision on the identity of a record, never a vendor signal: end of sale isRETIRED, and records no longer returned by a vendor areINACTIVE.
Functions:
- best – Return the best of the given statuses: ACTIVE, PLANNED_FOR_RETIREMENT, INACTIVE, RETIRED, then ARCHIVED.
Attributes:
- ACTIVE – Currently available.
- INACTIVE – Currently not available, without a known retirement. May become available again.
- PLANNED_FOR_RETIREMENT – Retirement was announced by the vendor, but can still be ordered. Only used for servers and databases.
- RETIRED – Retired by the vendor and cannot be ordered anymore, but prices may still exist (e.g. for active multi-year contracts). Only used for servers and databases.
- ARCHIVED – Kept only for historical reference: replaced by another record (e.g. renamed, merged or split) or dropped from the dataset.
- is_orderable (
bool) – Whether a Server/Database with this status can still be ordered. - is_general (
bool) – Whether this status is valid for non-server/database models (ACTIVE, INACTIVE or ARCHIVED only).
attr Status.ACTIVE table_fields.py:90
ACTIVE = 'active'
Currently available.
attr Status.INACTIVE table_fields.py:92
INACTIVE = 'inactive'
Currently not available, without a known retirement. May become available again.
attr Status.PLANNED_FOR_RETIREMENT table_fields.py:94
PLANNED_FOR_RETIREMENT = 'planned-for-retirement'
Retirement was announced by the vendor, but can still be ordered. Only used for servers and databases.
attr Status.RETIRED table_fields.py:96
RETIRED = 'retired'
Retired by the vendor and cannot be ordered anymore, but prices may still exist (e.g. for active multi-year contracts). Only used for servers and databases.
attr Status.ARCHIVED table_fields.py:98
ARCHIVED = 'archived'
Kept only for historical reference: replaced by another record (e.g. renamed, merged or split) or dropped from the dataset.
meth Status.best table_fields.py:101–113
best(statuses)
Return the best of the given statuses: ACTIVE, PLANNED_FOR_RETIREMENT, INACTIVE, RETIRED, then ARCHIVED.
attr Status.is_orderable table_fields.py:116–118
is_orderable: bool
Whether a Server/Database with this status can still be ordered.
attr Status.is_general table_fields.py:121–123
is_general: bool
Whether this status is valid for non-server/database models (ACTIVE, INACTIVE or ARCHIVED only).
class ResourceType table_fields.py:126–132
Kind of resource a benchmark score refers to.
Attributes:
attr ResourceType.SERVER table_fields.py:129
SERVER = 'server'
Compute server instance.
attr ResourceType.DATABASE table_fields.py:131
DATABASE = 'database'
Managed database instance.
class Cpu table_fields.py:135–161
Bases: Json
CPU details.
Attributes:
- manufacturer (
Optional[str]) – The manufacturer of the processor, e.g. Intel or AMD. - family (
Optional[str]) – The product line/family of the processor, e.g. Xeon, Core i7, Ryzen 9. - model (
Optional[str]) – The model number of the processor, e.g. 9750H. - cores (
Optional[int]) – Number of CPU cores. - threads (
Optional[int]) – Number of CPU threads. - l1_cache_size (
Optional[int]) – L1 cache size in bytes. - l2_cache_size (
Optional[int]) – L2 cacheCPU cacheSmall, fast memory inside a CPU that holds copies of recently used data, so that most accesses avoid the slower RAM. Server CPUs have three levels, each larger and slower than the one before. The L1 cache is split into a data cache (L1d) and an instruction cache (L1i) and belongs to one core, as the L2 cache usually does, while the L3 cache is shared by the cores of a socket, a die, or a group of cores.WikipediaGlossary size in bytes. - l3_cache_size (
Optional[int]) – L3 cache size in bytes. - microcode (
Optional[str]) – Microcode version. - capabilities (
List[str]) – List of CPU flag/features/capabilities, e.g. MMX, Intel SGX etc. - bugs (
List[str]) – List of known bugs, e.g. cpu_meltdown spectre_v1. - bogomips (
Optional[float]) – BogoMips value.
attr Cpu.manufacturer table_fields.py:138
manufacturer: Optional[str] = None
The manufacturer of the processor, e.g. Intel or AMD.
attr Cpu.family table_fields.py:140
family: Optional[str] = None
The product line/family of the processor, e.g. Xeon, Core i7, Ryzen 9.
attr Cpu.model table_fields.py:142
model: Optional[str] = None
The model number of the processor, e.g. 9750H.
attr Cpu.cores table_fields.py:144
cores: Optional[int] = None
Number of CPU cores.
attr Cpu.threads table_fields.py:146
threads: Optional[int] = None
Number of CPU threads.
attr Cpu.l1_cache_size table_fields.py:148
l1_cache_size: Optional[int] = None
L1 cache size in bytes.
attr Cpu.l2_cache_size table_fields.py:150
l2_cache_size: Optional[int] = None
L2 cache size in bytes.
attr Cpu.l3_cache_size table_fields.py:152
l3_cache_size: Optional[int] = None
L3 cache size in bytes.
attr Cpu.microcode table_fields.py:154
microcode: Optional[str] = None
Microcode version.
attr Cpu.capabilities table_fields.py:156
capabilities: List[str] = []
List of CPU flag/features/capabilities, e.g. MMX, Intel SGX etc.
attr Cpu.bugs table_fields.py:158
bugs: List[str] = []
List of known bugs, e.g. cpu_meltdown spectre_v1.
attr Cpu.bogomips table_fields.py:160
bogomips: Optional[float] = None
BogoMips value.
class AcceleratorType table_fields.py:164–177
Type of a hardware accelerator, e.g. GPU or NPU.
Attributes:
- GPU – Graphics Processing Unit.
- TPU – Tensor Processing Unit. Deprecated: Google TPUs are stored as NPU.
- NPU – Neural Processing Unit, e.g. Google TPU, AWS Inferentia and Trainium, Habana
- FPGA – Field-Programmable Gate Array, e.g. Xilinx Virtex UltraScale+.
- VPU – Video Processing Unit: video transcoding card, e.g. Xilinx U30.
attr AcceleratorType.GPU table_fields.py:167
GPU = 'GPU'
Graphics Processing Unit.
attr AcceleratorType.TPU table_fields.py:169
TPU = 'TPU'
Tensor Processing Unit. Deprecated: Google TPUs are stored as NPU.
attr AcceleratorType.NPU table_fields.py:171
NPU = 'NPU'
Neural Processing Unit, e.g. Google TPU, AWS Inferentia and Trainium, Habana Gaudi or Qualcomm AI100.
attr AcceleratorType.FPGA table_fields.py:174
FPGA = 'FPGA'
Field-Programmable Gate Array, e.g. Xilinx Virtex UltraScale+.
attr AcceleratorType.VPU table_fields.py:176
VPU = 'VPU'
Video Processing Unit: video transcoding card, e.g. Xilinx U30.
class Accelerator table_fields.py:180–202
Bases: Json
Hardware accelerator (e.g. GPU or TPU) details.
Attributes:
- manufacturer (
Optional[str]) – The manufacturer/brand of the accelerator, e.g. Nvidia or AMD. - family (
Optional[str]) – The model family/architecture of the accelerator. - model (
Optional[str]) – The model number of the accelerator. - memory (
Optional[int]) – Memory (MiB) allocated to the accelerator. - firmware_version (
Optional[str]) – Firmware version. - bios_version (
Optional[str]) – Video BIOS version. - graphics_clock (
Optional[int]) – Core clock speed (Mhz). - sm_clock (
Optional[int]) – Streaming Multiprocessor clock speed (Mhz). - mem_clock (
Optional[int]) – Memory clock speed (Mhz). - video_clock (
Optional[int]) – Video clock speed (Mhz).
attr Accelerator.manufacturer table_fields.py:183
manufacturer: Optional[str] = None
The manufacturer/brand of the accelerator, e.g. Nvidia or AMD.
attr Accelerator.family table_fields.py:185
family: Optional[str] = None
The model family/architecture of the accelerator.
attr Accelerator.model table_fields.py:187
model: Optional[str] = None
The model number of the accelerator.
attr Accelerator.memory table_fields.py:189
memory: Optional[int] = None
Memory (MiB) allocated to the accelerator.
attr Accelerator.firmware_version table_fields.py:191
firmware_version: Optional[str] = None
Firmware version.
attr Accelerator.bios_version table_fields.py:193
bios_version: Optional[str] = None
Video BIOS version.
attr Accelerator.graphics_clock table_fields.py:195
graphics_clock: Optional[int] = None
Core clock speed (Mhz).
attr Accelerator.sm_clock table_fields.py:197
sm_clock: Optional[int] = None
Streaming Multiprocessor clock speed (Mhz).
attr Accelerator.mem_clock table_fields.py:199
mem_clock: Optional[int] = None
Memory clock speed (Mhz).
attr Accelerator.video_clock table_fields.py:201
video_clock: Optional[int] = None
Video clock speed (Mhz).
class StorageType table_fields.py:205–213
Type of a storage, e.g. HDD or SSDSSD: Solid-State DriveA storage device that keeps data in flash memory instead of on spinning disks, so it reads and writes much faster than an HDD, especially at random locations. A controller with its own firmware maps logical blocks to flash pages, and many SSDs write incoming data to a fast cache first, then move it to slower flash. Cloud servers use SSDs as local disks and behind network block storage.WikipediaGlossary.
Attributes:
attr StorageType.HDD table_fields.py:208
HDD = 'hdd'
Magnetic hard disk drive.
attr StorageType.SSD table_fields.py:210
SSD = 'ssd'
Solid-state drive.
attr StorageType.NVME_SSD table_fields.py:212
NVME_SSD = 'nvme ssd'
NVMe based solid-state drive.
class DatabaseEngine table_fields.py:216–220
Managed database engine.
Attributes:
- POSTGRESQL – PostgreSQL.
attr DatabaseEngine.POSTGRESQL table_fields.py:219
POSTGRESQL = 'postgresql'
PostgreSQL.
class DatabaseWireProtocol table_fields.py:223–227
Wire protocol for a managed database type.
Attributes:
- POSTGRESQL – PostgreSQL.
attr DatabaseWireProtocol.POSTGRESQL table_fields.py:226
POSTGRESQL = 'postgresql'
PostgreSQL.
class DatabaseHaLevel table_fields.py:230–254
High availability level for a managed database type.
Functions:
- ordered – Return supported HA levels in canonical order (most available first).
Attributes:
- NONE – No high availability.
- SINGLE_ZONE – Single-zone high availability, meaning multiple databases in the same zone with failover or multi-master.
- MULTI_ZONE – Multi-zone high availability, meaning multiple databases in multiple zones of the same region with failover or multi-master.
- MULTI_REGION – Multi-region high availability, meaning multiple databases in multiple regions with failover or multi-master.
attr DatabaseHaLevel.NONE table_fields.py:233
NONE = 'none'
No high availability.
attr DatabaseHaLevel.SINGLE_ZONE table_fields.py:235
SINGLE_ZONE = 'single-zone'
Single-zone high availability, meaning multiple databases in the same zone with failover or multi-master.
attr DatabaseHaLevel.MULTI_ZONE table_fields.py:237
MULTI_ZONE = 'multi-zone'
Multi-zone high availability, meaning multiple databases in multiple zones of the same region with failover or multi-master.
attr DatabaseHaLevel.MULTI_REGION table_fields.py:239
MULTI_REGION = 'multi-region'
Multi-region high availability, meaning multiple databases in multiple regions with failover or multi-master.
meth DatabaseHaLevel.ordered table_fields.py:242–254
ordered(levels)
Return supported HA levels in canonical order (most available first).
class DatabaseHaStrategy table_fields.py:257–283
High availability replication strategy for a managed database type.
Functions:
- ordered – Return supported HA strategies in canonical order (most capable first).
Attributes:
- NONE – No high availability strategy.
- PASSIVE_STANDBY – Passive standby for failover, e.g. standard RDS Multi-AZ with block storage replication.
- READABLE_CLUSTER – Readable cluster for read scaling and failover, e.g. RDS Multi-AZ Cluster / Aurora with engine replication.
- MULTI_MASTER – True multi-master, e.g. CockroachDB / Spanner / DynamoDB Global Tables.
attr DatabaseHaStrategy.NONE table_fields.py:260
NONE = 'none'
No high availability strategy.
attr DatabaseHaStrategy.PASSIVE_STANDBY table_fields.py:262
PASSIVE_STANDBY = 'passive-standby'
Passive standby for failover, e.g. standard RDS Multi-AZ with block storage replication.
attr DatabaseHaStrategy.READABLE_CLUSTER table_fields.py:264
READABLE_CLUSTER = 'readable-cluster'
Readable cluster for read scaling and failover, e.g. RDS Multi-AZ Cluster / Aurora with engine replication.
attr DatabaseHaStrategy.MULTI_MASTER table_fields.py:266
MULTI_MASTER = 'multi-master'
True multi-master, e.g. CockroachDB / Spanner / DynamoDB Global Tables.
meth DatabaseHaStrategy.ordered table_fields.py:269–283
ordered(strategies)
Return supported HA strategies in canonical order (most capable first).
class DatabaseSecurityFeature table_fields.py:286–315
Security capabilities supported by DBaaS providers.
Attributes:
- IP_FILTERING – Access via public endpoint restricted to explicit IP/CIDR ranges.
- PRIVATE_NETWORK – Provisioned natively inside customer's own private network/subnets (e.g. VPC/VNet).
- NETWORK_PEERING – Private access via cross-network peering or private service endpoints (e.g. PrivateLink).
- IDENTITY_BASED_AUTH – Auth offloaded to cloud or enterprise identity providers (e.g. IAM, Entra ID, OIDC, SSO).
- CLIENT_CERT_AUTH – Mutual TLS (mTLS) authentication requiring client-side SSL/TLS certificates.
- ENFORCED_TLS – Enforceable requirement that all database connections use SSL/TLS (no plaintext fallback).
- CUSTOMER_MANAGED_KEYS – Bring Your Own Key (BYOK) support for storage encryption.
- AUDIT_LOGGING – Detailed database audit logs (e.g. pgaudit) exportable to external logging services or storage.
attr DatabaseSecurityFeature.IP_FILTERING table_fields.py:290
IP_FILTERING = 'ip-filtering'
Access via public endpoint restricted to explicit IP/CIDR ranges.
attr DatabaseSecurityFeature.PRIVATE_NETWORK table_fields.py:293
PRIVATE_NETWORK = 'private-network'
Provisioned natively inside customer's own private network/subnets (e.g. VPC/VNet).
attr DatabaseSecurityFeature.NETWORK_PEERING table_fields.py:296
NETWORK_PEERING = 'network-peering'
Private access via cross-network peering or private service endpoints (e.g. PrivateLink).
attr DatabaseSecurityFeature.IDENTITY_BASED_AUTH table_fields.py:300
IDENTITY_BASED_AUTH = 'identity-based-auth'
Auth offloaded to cloud or enterprise identity providers (e.g. IAM, Entra ID, OIDC, SSO).
attr DatabaseSecurityFeature.CLIENT_CERT_AUTH table_fields.py:303
CLIENT_CERT_AUTH = 'client-cert-auth'
Mutual TLS (mTLS) authentication requiring client-side SSL/TLS certificates.
attr DatabaseSecurityFeature.ENFORCED_TLS table_fields.py:307
ENFORCED_TLS = 'enforced-tls'
Enforceable requirement that all database connections use SSL/TLS (no plaintext fallback).
attr DatabaseSecurityFeature.CUSTOMER_MANAGED_KEYS table_fields.py:310
CUSTOMER_MANAGED_KEYS = 'customer-managed-keys'
Bring Your Own Key (BYOK) support for storage encryption.
attr DatabaseSecurityFeature.AUDIT_LOGGING table_fields.py:314
AUDIT_LOGGING = 'audit-logging'
Detailed database audit logs (e.g. pgaudit) exportable to external logging services or storage.
class DatabaseStorageScope table_fields.py:318–324
Scope of a managed database storage product.
Attributes:
attr DatabaseStorageScope.DATA table_fields.py:321
DATA = 'data'
Primary database data storage.
attr DatabaseStorageScope.BACKUP table_fields.py:323
BACKUP = 'backup'
Backup or archive storage.
class Disk table_fields.py:327–343
Bases: Json
Disk definition based on size and storage type.
Attributes:
- size (
int) – Storage size in GB. - storage_type (
StorageType) – Type of the storage. - description (
Optional[str]) – Optional description of the storage, e.g. temp disk. - read_iops_max (
Optional[int]) – Vendor-published maximum read IOPS of the disk. - write_iops_max (
Optional[int]) – Vendor-published maximum write IOPS of the disk. - read_throughput_max (
Optional[int]) – Vendor-published maximum read throughput of the disk (MB/s). - write_throughput_max (
Optional[int]) – Vendor-published maximum write throughput of the disk (MB/s).
attr Disk.size table_fields.py:330
size: int = 0
Storage size in GB.
attr Disk.storage_type table_fields.py:332
storage_type: StorageType
Type of the storage.
attr Disk.description table_fields.py:334
description: Optional[str] = None
Optional description of the storage, e.g. temp disk.
attr Disk.read_iops_max table_fields.py:336
read_iops_max: Optional[int] = None
Vendor-published maximum read IOPS of the disk.
attr Disk.write_iops_max table_fields.py:338
write_iops_max: Optional[int] = None
Vendor-published maximum write IOPS of the disk.
attr Disk.read_throughput_max table_fields.py:340
read_throughput_max: Optional[int] = None
Vendor-published maximum read throughput of the disk (MB/s).
attr Disk.write_throughput_max table_fields.py:342
write_throughput_max: Optional[int] = None
Vendor-published maximum write throughput of the disk (MB/s).
attr DISK_SPEED_FIELDS table_fields.py:346–351
DISK_SPEED_FIELDS = ('read_iops_max', 'write_iops_max', 'read_throughput_max', 'write_throughput_max')
Speed fields of a Disk, matching the storage_* server columns.
class TrafficDirection table_fields.py:355–361
Direction of the network traffic.
Attributes:
attr TrafficDirection.IN table_fields.py:358
IN = 'inbound'
Inbound traffic.
attr TrafficDirection.OUT table_fields.py:360
OUT = 'outbound'
Outbound traffic.
class CpuAllocation table_fields.py:364–372
CPU allocation methods at cloud vendors.
Attributes:
- SHARED – Shared CPU with other virtual server tenants.
- BURSTABLE – CPU that can temporarily burst above its baseline performance.
- DEDICATED – Dedicated CPU with known performance.
attr CpuAllocation.SHARED table_fields.py:367
SHARED = 'Shared'
Shared CPU with other virtual server tenants.
attr CpuAllocation.BURSTABLE table_fields.py:369
BURSTABLE = 'Burstable'
CPU that can temporarily burst above its baseline performance.
attr CpuAllocation.DEDICATED table_fields.py:371
DEDICATED = 'Dedicated'
Dedicated CPU with known performance.
class CpuArchitecture table_fields.py:375–387
CPU architectures.
Attributes:
- ARM64 – 64-bit ARM architecture.
- ARM64_MAC – Apple 64-bit ARM architecture.
- I386 – 32-bit x86 architecture.
- X86_64 – 64-bit x86 architecture.
- X86_64_MAC – Apple 64-bit x86 architecture.
attr CpuArchitecture.ARM64 table_fields.py:378
ARM64 = 'arm64'
64-bit ARM architecture.
attr CpuArchitecture.ARM64_MAC table_fields.py:380
ARM64_MAC = 'arm64_mac'
Apple 64-bit ARM architecture.
attr CpuArchitecture.I386 table_fields.py:382
I386 = 'i386'
32-bit x86 architecture.
attr CpuArchitecture.X86_64 table_fields.py:384
X86_64 = 'x86_64'
64-bit x86 architecture.
attr CpuArchitecture.X86_64_MAC table_fields.py:386
X86_64_MAC = 'x86_64_mac'
Apple 64-bit x86 architecture.
class DdrGeneration table_fields.py:390–398
Generation of the DDR SDRAM.
Attributes:
attr DdrGeneration.DDR3 table_fields.py:393
DDR3 = 'DDR3'
DDR3 SDRAM.
attr DdrGeneration.DDR4 table_fields.py:395
DDR4 = 'DDR4'
DDR4 SDRAM.
attr DdrGeneration.DDR5 table_fields.py:397
DDR5 = 'DDR5'
DDR5 SDRAM.
class Allocation table_fields.py:401–409
Server allocation options.
Attributes:
attr Allocation.ONDEMAND table_fields.py:404
ONDEMAND = 'ondemand'
On-demand server.
attr Allocation.RESERVED table_fields.py:406
RESERVED = 'reserved'
Reserved server.
attr Allocation.SPOT table_fields.py:408
SPOT = 'spot'
Spot/preemptible server.
class PriceUnit table_fields.py:412–426
Supported units for the price tables.
Attributes:
- YEAR – Price per year.
- MONTH – Price per month.
- HOUR – Price per hour.
- GIB – Price per gibibyte (GiB).
- GB – Price per gigabyte (GB).
- GB_MONTH – Price per gigabyte (GB)/month.
attr PriceUnit.YEAR table_fields.py:415
YEAR = 'year'
Price per year.
attr PriceUnit.MONTH table_fields.py:417
MONTH = 'month'
Price per month.
attr PriceUnit.HOUR table_fields.py:419
HOUR = 'hour'
Price per hour.
attr PriceUnit.GIB table_fields.py:421
GIB = 'GiB'
Price per gibibyte (GiB).
attr PriceUnit.GB table_fields.py:423
GB = 'GB'
Price per gigabyte (GB).
attr PriceUnit.GB_MONTH table_fields.py:425
GB_MONTH = 'GB/month'
Price per gigabyte (GB)/month.
class PriceTier table_fields.py:429–458
Bases: Json
Price tier definition.
Infinite bounds (e.g. for an open-ended upper tier) are stored as
float("inf") in Python and automatically serialized to the
JSON-safe string "Infinity" on export. Both representations are
accepted as input: the model validator converts "Infinity" back
to float("inf") when loading from JSON.
Attributes:
- lower (
float) – Lower bound of pricing tier, e.g. 100 GB. Unit is defined in the parent object. - upper (
float) – Upper bound of pricing tier, e.g. 1 TB. Unit is defined in the parent object. - price (
float) – Price in the pricing tier. Currency is defined in the parent object.
attr PriceTier.lower table_fields.py:438
lower: float
Lower bound of pricing tier, e.g. 100 GB. Unit is defined in the parent object.
attr PriceTier.upper table_fields.py:440
upper: float
Upper bound of pricing tier, e.g. 1 TB. Unit is defined in the parent object.
attr PriceTier.price table_fields.py:442
price: float
Price in the pricing tier. Currency is defined in the parent object.
class Parallelism table_fields.py:461–467
Parallelism mode of a benchmark run.
Attributes:
attr Parallelism.SINGLE table_fields.py:464
SINGLE = 'single'
Benchmark run on a single core.
attr Parallelism.MULTI table_fields.py:466
MULTI = 'multi'
Benchmark run across multiple cores.
class BenchmarkComponentAggregationMethod table_fields.py:470–475
How component benchmark scores are combined into one composite score.
Attributes:
- WEIGHTED_GEOMETRIC_MEAN – Weighted geometric mean: 2 ** (Σ wᵢ·log2(normalizedᵢ) / Σ wᵢ). Preserves
attr BenchmarkComponentAggregationMethod.WEIGHTED_GEOMETRIC_MEAN table_fields.py:473
WEIGHTED_GEOMETRIC_MEAN = 'weighted_geometric_mean'
Weighted geometric mean: 2 ** (Σ wᵢ·log2(normalizedᵢ) / Σ wᵢ). Preserves ratio/percentage linearity and is robust to outliers.
class BenchmarkComponentNormalizationMethod table_fields.py:478–483
How each raw benchmark value is scaled to be comparable across benchmarks.
Attributes:
- MEDIAN_RATIO – Oriented ratio to the fleet median for that benchmark: raw/median when
attr BenchmarkComponentNormalizationMethod.MEDIAN_RATIO table_fields.py:481
MEDIAN_RATIO = 'median_ratio'
Oriented ratio to the fleet median for that benchmark: raw/median when higher-is-better, median/raw otherwise. 1.0 == the fleet median.
class BenchmarkComponentMissingPolicy table_fields.py:486–500
What to do when a component has no usable measurement for a server.
Attributes:
- IGNORE – Omit the component and renormalize weights over the rest (default).
- PENALIZE – Substitute the component's
penaltyfloor as the normalized value and keep - REQUIRE – Suppress the whole compound score for that server if the component is
attr BenchmarkComponentMissingPolicy.IGNORE table_fields.py:489
IGNORE = 'ignore'
Omit the component and renormalize weights over the rest (default). Use when the metric is genuinely optional
attr BenchmarkComponentMissingPolicy.PENALIZE table_fields.py:493
PENALIZE = 'penalize'
Substitute the component's penalty floor as the normalized value and keep
its full weight, so the composite collapses toward zero. Use when missing means
failure (e.g. a benchmark that timed out / could not complete).
attr BenchmarkComponentMissingPolicy.REQUIRE table_fields.py:498
REQUIRE = 'require'
Suppress the whole compound score for that server if the component is missing. Use when the component is load-bearing for the profile's meaning.
class ScoreComponent table_fields.py:503–523
Bases: Json
One component's contribution to a composite workload profile score.
Attributes:
- label (
str) – Human-readable, concise description of what the component measures. - weight (
float) – Relative weight of this component. Weights within a workload sum to 1.0. - weight_share (
float) – The weight of this component as a share of the total weight (0.0 for ignored components). - raw (
int |float |None) – The raw benchmark value. - reference (
int |float |None) – The reference benchmark value, e.g. the fleet median. - normalized (
float |None) – The normalized benchmark value, e.g. the ratio of the raw value to the reference value. - higher_is_better (
bool) – Whether a higher value is better. - note (
str |None) – Optional note about this component. - impact (
float |None) – How much this benchmark component raised or lowered the overall workload score. Values are approximate percentages (positive helps, negative hurts the final score), do not add up to the total score, and actual formula depends on the workload's aggregation and normalization methods.
attr ScoreComponent.label table_fields.py:506
label: str
Human-readable, concise description of what the component measures.
attr ScoreComponent.weight table_fields.py:508
weight: float
Relative weight of this component. Weights within a workload sum to 1.0.
attr ScoreComponent.weight_share table_fields.py:510
weight_share: float
The weight of this component as a share of the total weight (0.0 for ignored components).
attr ScoreComponent.raw table_fields.py:512
raw: int | float | None = None
The raw benchmark value.
attr ScoreComponent.reference table_fields.py:514
reference: int | float | None = None
The reference benchmark value, e.g. the fleet median.
attr ScoreComponent.normalized table_fields.py:516
normalized: float | None = None
The normalized benchmark value, e.g. the ratio of the raw value to the reference value.
attr ScoreComponent.higher_is_better table_fields.py:518
higher_is_better: bool = True
Whether a higher value is better.
attr ScoreComponent.note table_fields.py:520
note: str | None = None
Optional note about this component.
attr ScoreComponent.impact table_fields.py:522
impact: float | None = None
How much this benchmark component raised or lowered the overall workload score. Values are approximate percentages (positive helps, negative hurts the final score), do not add up to the total score, and actual formula depends on the workload's aggregation and normalization methods.
class WorkloadScoreBreakdown table_fields.py:526–536
Bases: Json
Per-server realized calculation of a composite workload profile score.
Attributes:
- aggregation (
BenchmarkComponentAggregationMethod) – How the component benchmark scores are combined into one composite score. - normalization (
BenchmarkComponentNormalizationMethod) – How each raw benchmark value is scaled to be comparable across benchmarks. - coverage (
float) – The total weight of the components. - components (
list[ScoreComponent]) – The components of the workload profile.
attr WorkloadScoreBreakdown.aggregation table_fields.py:529
aggregation: BenchmarkComponentAggregationMethod
How the component benchmark scores are combined into one composite score.
attr WorkloadScoreBreakdown.normalization table_fields.py:531
normalization: BenchmarkComponentNormalizationMethod
How each raw benchmark value is scaled to be comparable across benchmarks.
attr WorkloadScoreBreakdown.coverage table_fields.py:533
coverage: float
The total weight of the components.
attr WorkloadScoreBreakdown.components table_fields.py:535
components: list[ScoreComponent]
The components of the workload profile.
class Category table_fields.py:539–553
Workload category for a cloud server type.
Attributes:
- GENERAL_PURPOSE – General-purpose server.
- COMPUTE_OPTIMIZED – Compute-optimized server.
- MEMORY_OPTIMIZED – Memory-optimized server.
- STORAGE_AND_DATABASE – Storage- and database-optimized server.
- GPU_ACCELERATED – GPU-accelerated server.
- BURSTABLE_AND_BUDGET – Burstable and budget-friendly server.
attr Category.GENERAL_PURPOSE table_fields.py:542
GENERAL_PURPOSE = 'General Purpose'
General-purpose server.
attr Category.COMPUTE_OPTIMIZED table_fields.py:544
COMPUTE_OPTIMIZED = 'Compute Optimized'
Compute-optimized server.
attr Category.MEMORY_OPTIMIZED table_fields.py:546
MEMORY_OPTIMIZED = 'Memory Optimized'
Memory-optimized server.
attr Category.STORAGE_AND_DATABASE table_fields.py:548
STORAGE_AND_DATABASE = 'Storage & Database'
Storage- and database-optimized server.
attr Category.GPU_ACCELERATED table_fields.py:550
GPU_ACCELERATED = 'GPU Accelerated'
GPU-accelerated server.
attr Category.BURSTABLE_AND_BUDGET table_fields.py:552
BURSTABLE_AND_BUDGET = 'Burstable & Budget'
Burstable and budget-friendly server.