Projects › C2PF › Framework and calculator

c2pf1 · meta-model9 elements01FunctionalClassification · block · service02ObjectivesSLO · PLO · RLO03Capacity10 characteristics × 5 layers04Classessmall · medium · large→ open the calculator
C2PF · Inside the framework

From business objective to sizing class

The thesis meta-model, the 50 class specifications, the general equation and a calculator that hands you the capacity plan for your own service.

Basis: doctoral thesis, CESAR School (defended 2023; revised edition 2026), chapter 4 · Decision rules: derived papers

  • 9 elements
  • 5 layers
  • 50 attributes per class
  • 1 calculator
01 · Why a framework

Planning capacity with no usage history

Industrial capacity planning usually starts from past consumption, measured with discovery tools or estimated from an inventory, and that path does not exist for a new workload. In two migrations planned the traditional way and followed for 90 days after cutover, executed CPU in the computing layer ended up 26% to 41% above plan, and memory 35% to 59% above.

Choosing instance types, replication, scaling and networking for every service is a combinatorial problem, and the thesis treats it as NP-hard. C2PF replaces the search for the optimal combination with an abstraction into classes, in the spirit of T-shirt sizes, tied to objectives the business can actually state. The class is the starting point of the plan and does not replace measurement after go-live.

02 · Architectural meta-model Thesis

Nine elements, from business domain to class

Each layer of the meta-model constrains the next. Click an element to see how the thesis defines it.

Element 1

Functional classification

Categorizes the workload from a business perspective, such as ERP, CRM, e-commerce, MES or ITSM. It lets similar workloads be compared in benchmarking, since the literature offers no standard for functional classification.

03 · Functional hierarchy Thesis

A B2C marketplace broken down to the service

The thesis example is a B2C marketplace platform connecting buyers and sellers. Four functional blocks group the services, and capacity is assessed at the service, not across the whole platform.

Functional classification · B2C Marketplace
VendorsStore Integration… N
CustomersOrders… N
MarketplaceStore Management… N
Business OwnerSKU Management… N

Source: thesis, figures 6 to 8. The highlighted service is the one used in the examples on this page.

04 · Level objectives Thesis

What the service must deliver, in three types

In SRE language all three would be SLOs. C2PF separates them by type so each one can be tied to the capacity characteristics and layers that serve it. Every objective is measured by an indicator (SLI) and written as SLI ≤ target or as a range, over an evaluation window.

Artifact · Objectives sheetVendors › Store Integration
SLO

Integrations between marketplace and stores must be successful

95%
PLO

Requests under 500 ms in the previous 28 days

90%
RLO

Successful in the previous 28 days

99.95%

Source: thesis, figure 9. The thesis does not separate the SLO and RLO indicators in this example; a complete specification names each SLI.

05 · Characteristics and layers Thesis

Ten capacity characteristics, five layers

Processing, memory, storage and network are what capacity planning usually looks at. The thesis widens the set with nonfunctional characteristics, grouped into reliability and performance, because the architecture that will meet the objective depends on them.

Reliability

Availability
The period a resource remains available within an interval.
Adaptability
Ability to adjust, vertically and horizontally, to new demand.
Observability
Collecting metrics and logs to understand behavior in production and act on incidents.
Security
Protecting data against threats, mitigating risk and ensuring continuity.
Disaster recovery
Documented procedures to restore the system after a failure.

Performance

Latency
Delay in network communication.
Scaling
Ability to absorb a growing share of work.
Capacity
How much load a resource supports for a metric, such as processing or storage.
Storage
Data kept at the provider, with elastic access and scale.
Warm-up
Time until a new resource is ready, such as a node added to an auto scaling group.
NetworkingConnections, ACLs, routes and application boundaries.
ComputingVMs, containers, functions.
DatabaseUser data and transactions.
Front-endEdge of the architecture, CDN and object storage.
CachingIn-memory data to answer faster.
06 · Sizing classes Thesis

Fifty attributes condensed into a name

Each class assigns a value to every pair of characteristic and layer, which gives 10 × 5 = 50 attributes per class and 150 values in the first generation. The thesis derived the values from the literature on nonfunctional requirements, from the averages of public cloud instance families and from a distribution across the three classes.

c2pf1.small
frameworkgenerationclass
c2pf1.smallc2pf1.mediumc2pf1.largec2pf2.xsmallc2pf2.xlarge

The second generation (c2pf2) keeps the three classes and adds xsmall and xlarge. It is an extension made in the derived papers, under the thesis naming convention, and is not part of the thesis.

Table 4 explorer

CharacteristicLayerc2pf1.smallc2pf1.mediumc2pf1.large

Faded rows hold the same value in all three classes, such as encryption. Acronyms: AZ, availability zone; ASG, auto scaling group; PITR, point-in-time recovery; TTL in seconds.

07 · The general equation Thesis Papers' reading

Scoring a candidate plan against the objectives

Capacity Plan = w1 × SLO + w2 × P + w3 × R

In the meta-model figure, SLO and R range from 0 to 1 and express degree of compliance, and P is a performance measure. The thesis fixes neither the range of P nor any constraint on the weights. The derived papers read the expression as the score of a candidate, with P also in [0, 1] and weights summing to 1, so the score is 1 exactly when every objective is met. For R they use the error-budget ratio, because 89.95% and 99.95% look close yet allow unavailability that differs by a factor of 200.

Weights and declared targets

Design level of each class (%)
SLOPLORLO small medium large

Illustrative values from the 2023 defense presentation for Store Integration, not from the thesis.

CandidateSLO(c)P(c)R(c)Score

With equal weights the scores are 0.596, 0.634 and 1.000, and only c2pf1.large meets all three objectives. Choosing the least-cost class among those scoring 1 is a decision rule of the papers, not of the thesis.

08 · Calculator Thesis classes Paper 04 rules

Your capacity plan, from your objectives

Declare the service objectives and the calculator classifies each dimension into levels, computes the smallest class that meets each objective type and takes the largest of the three. The result includes the plan by layer, the decision rationale and a file you can download.

1 · Functional context
2 · SLO · service
3 · PLO · performance
4 · RLO · reliability
5 · Demand descriptor

Without a declared descriptor, the calculator uses a conservative default.

6 · Constraints
Recommended class
—

Evaluation · levels by dimension

Decision · smallest class per objective type

Envelopes by class

Plan by layer

Rationale

View machine-readable profile

How the calculator decides: availability thresholds at 99.9% and 99.99%, RTO at 5 min and 1 h, RPO at 1 min and 1 h; κR goes from XS (tolerant) to M (robust) and L (critical). Throughput is compared with each class's static envelope at 80% utilization of the bottleneck, and concurrency at 100 requests per vCPU. Under a budget cap the PLO is relaxed first, then the SLO, and the RLO never. In c2pf1, XS rises to small and anything requiring more than large is flagged as infeasible in that generation.

09 · Example artifacts

What C2PF leaves on record

Each step produces an artifact that someone else can read, challenge and reproduce, and that record is what separates the plan from an estimate made in someone's head.

Elicitation · Thesis, Wizzi Cloud

Abstract questionnaire

Business questions tied to characteristics. Acceptable downtime maps to availability, record retention to observability, backup option to disaster recovery, and the container, CDN and caching questions go to the layers.

Objectives · Thesis

SLO, PLO and RLO sheet

Objective, indicator, target and window per service, like the Store Integration sheet above.

Class · Thesis

Class identifier

c2pf1.medium on a workload stands for 50 attributes fixed across the five layers, with no need to list them.

Decision · Paper 04

Structured rationale

For each element of the plan, the input value and the rule that produced it, including relaxations and overrides.

Artifact · Machine-readable profilePayment authorization · c2pf2.xlarge
input = {
  slo: { success_rate: 99.5%, throughput: 3000 req/s },
  plo: { latency_p95: 150 ms, latency_p99: 400 ms, concurrency: 2000 },
  rlo: { availability_pct: 99.99%, rto_min: 2, rpo_min: 0 },
  demand: { app_ms: 8, queries: 2, read_share: 0.50, db_ms: 1.2 },
  overrides: { compliance: PCI-DSS, budget_cap: none,
               preferred_compute: containers }
}
→ κR = L · κS = XL (L envelope: 2,424 req/s) · κP = L → c2pf2.xlarge

Load the “PCI payments” example in the calculator to see the full plan and download the files.

10 · Evidence and limits

What was observed and where the model stops

334provisionings through Wizzi Cloud at a multinational manufacturer, Jul 2022 to Jun 2023.
2 of 82IaC commits (2.4%) changed sizing, an indicator of stability, not of accuracy.
529.5 hof gross manual provisioning effort avoided by automation, per the thesis estimate.
  • ›Class values come from public cloud averages and the literature, and they age with instance families. The generation convention exists for that reason.
  • ›The calculator applies the rules of the decision-oriented process model, an unpublished manuscript. Thresholds, 80% headroom and 100 requests per vCPU are design choices of that work, evaluated in simulation.
  • ›With a critical RLO the rule tends to oversize, because it goes to large even when the service carries little load. The cost shown is an order of magnitude and does not replace the provider's pricing calculator.
References
  1. C. D. C. Pereira, “Capacity Planning of Cloud Computing Workloads,” doctoral thesis, CESAR School, Recife, 2023. Revised edition with editorial note, 2026. doi:10.2139/ssrn.5754002.
  2. C. D. C. Pereira, “C2PF: An Architecture-Aware Conceptual Framework for Cloud Capacity Planning,” unpublished manuscript, 2026.
  3. C. D. C. Pereira, “From Objectives to Architecture: A Decision-Oriented Process Model for Instantiating the C2PF,” unpublished manuscript, 2026.
  4. B. Beyer, C. Jones, J. Petoff and N. R. Murphy, Eds., Site Reliability Engineering. Sebastopol: O’Reilly, 2016.
C2PF · Research

Read the thesis behind the classes

Chapter 4 holds the meta-model and the full Table 4; chapter 6, the industrial application.