Research notes / Erasure coding
Local repair is not whole-node repair
Published 11 October 2026 / Updated 23 November 2026 / Source review and reproducible accounting
A code can read six fragments to recover one missing data fragment and still have a whole-node repair cost above six. Parity must also be repaired, and the denominator matters. Locality is a repair property, not a complete durability guarantee.
On this page16 sections
Local parity changes who must be read
Huang and colleagues' 2012 construction divides data into local groups and adds global parity. In its 12+2+2 configuration, six data fragments share each local parity. One missing data fragment can be rebuilt from five peers and that parity. The corresponding whole-fragment RS 12+4 repair reads twelve helpers. Both store sixteen fragments for twelve data fragments. [1, sections 2-3]
Here, 12+2+2 means data + local parity + global parity. It is not a Ceph profile string. Ceph uses l for its locality parameter and can group coding chunks as well as data chunks. Translate the construction before translating the parameter names. [3]
Pyramid codes: spend one parity fragment on locality
The original Pyramid construction splits an existing parity equation into contributions from separate data groups. In the 2007 example, an (11,8) MDS code becomes a (12,8) basic Pyramid code. Two groups each have four data fragments and one local parity; two global parities remain. A missing data fragment can use four helpers instead of eight. This comparison adds storage, unlike the equal-size 12+2+2 comparison above. [19, section 2]
A concrete failure boundary: Hesela's fixed GF(17) construction recovers all 220 three-erasure sets, but only 420 of 495 four-erasure sets. Lose d0 through d3 and the surviving matrix has rank seven, short of the eight needed for unique recovery. The all-zero payload and (9,1,4,9,0,0,0,0) leave identical zeros on every survivor. No decoder can distinguish those two payloads from the surviving symbols.
The explicit matrices and complete counts use polynomial evaluation followed by parity splitting. Addition and multiplication are modulo 17, not XOR. Separate determinant tests check every erasure set of size zero through four without using the rank routine. The reproduction instructions, model and tests make the example independently checkable.
These are counts for chosen coefficients, not fleet failure probabilities or a reproduction of the papers' recovery tables. Generalized Pyramid codes add a stronger, topology-relative recovery property; basic parity splitting alone does not establish maximal recoverability. [20, sections 4-5] For deployment, identify both the encoder and the decoder actually used, alongside the storage overhead and helper-read budget.
Three answers to three different questions
Hesela's deterministic model counts complete helper-fragment reads. Each repair is independent, with one missing fragment and all its helpers intact. A global-parity repair reads the twelve data fragments; a local-parity repair reads its six data members. No encoder or storage system is run.
| Construction | One lost data fragment: helpers | One lost data fragment: MiB read | Average per lost fragment | Per lost data-equivalent |
|---|---|---|---|---|
| RS 12+4 | 12 | 768 | 12 | 16 |
| LRC 12+2+2 | 6 | 384 | 6.75 | 9 |
The LRC accounting sum is 12 x 6 + 2 x 6 + 2 x 12 = 108. Dividing by sixteen stored fragments gives 6.75; dividing by twelve payload fragments gives 9. The RS sum is 16 x 12 = 192, giving 12 and 16, respectively.
These are independent repair costs summed across fragment roles, not sixteen simultaneous erasures of one stripe. For a node holding many stripes, the normalized comparison assumes uniform placement of data, local parity and global parity. A node with a different mix needs a weighted calculation.
For this model, data-only reads fall by 50%; the data-normalized total falls by 43.75%. Those are arithmetic consequences of the stated inputs, not measured speedups. The three columns follow the degraded-read, average-repair and normalized-repair distinctions in Kolosov and colleagues' methodology. [2, section 3]
All five configurations, CSV, JSON and reproduction code. The table above is generated from the same tested model during the site build.
Four parity fragments do not promise any four losses
The paper's LRC construction tolerates any three erased fragments, but not every set of four. Its maximally recoverable property is relative to its local/global topology; it is not the MDS guarantee of the RS baseline. [1, section 2.2]
A concrete counterexample: lose three data fragments from one group and that group's local parity. Only the two global equations constrain the three missing data values. The other group's local parity adds no information about those values. Counting stored parity without asking which unknowns it covers misses the problem.
This is an erasure argument: the unavailable locations are known. Silent corruption, faulty metadata, correlated placement and detection delays need separate treatment. Neither a parity count nor this calculator estimates annual data-loss risk.
Which four losses can be recovered?
For these two-group constructions, four erasures are recoverable exactly when they touch both local groups, counting each local parity as part of its group. This assumes maximal recoverability; the topology alone does not certify a codec's coefficients. [7, Definition 3 and Lemma 4]
| Code | Decodable / all | Not decodable |
|---|---|---|
| LRC 6+2+2 | 180 / 210 | 30 |
| LRC 12+2+2 | 1,568 / 1,820 | 252 |
The corresponding fractions are 85.7% and 86.2%. Both round to 86%, but their denominators differ. For 12+2+2, the 252 unrecoverable sets are 2 × C(9,4): four losses confined to one seven-fragment local group plus the two global parities. The two cases do not overlap.
Hesela enumerates all 66,560 subsets across both configurations, not a random sample. Every subset agrees with a second test based on the number of affected groups. The result JSON includes counts for every erasure size; the enumerator and tests run with Node.js. No encoding or decoding is performed.
These fractions are not fleet recovery probabilities. Placement, correlated failures and repairs determine which sets occur. A decoder also needs global recovery when two data fragments vanish in each group: local one-loss repairs cannot start, even though that four-loss pattern is recoverable.
The same distance can hide different recovery gaps
Minimum distance describes the first erasure size at which some pattern fails. Maximal recoverability asks whether every pattern permitted by the parity topology is protected. A distance-optimal code need not satisfy that stronger requirement. For a linear code with information locality r, the bound is d ≤ n - k - ceil(k/r) + 2. [9, Theorem 5] [7, Definition 3]
Consider two explicit teaching codes over GF(7), using addition and multiplication modulo 7. Each stores four data symbols x0, x1, y0, y1, two local sums px=x0+x1 and py=y0+y1, and two global parity symbols. Each global row below gives the coefficients multiplying the four data symbols in that order.
| Construction and global rows | Recoverable four-loss sets | Topology-allowed sets missed |
|---|---|---|
Repeated group coefficientsg0 = (1, 2, 1, 2)g1 = (1, 4, 1, 4) | 57 / 70 | 3 |
Separated group coefficientsg0 = (1, 2, 3, 4)g1 = (1, 4, 4, 2) | 60 / 70 | 0 |
Both attain the locality bound: 8 - 4 - ceil(4/2) + 2 = 4. Yet the repeated-coefficient construction loses three recoverable opportunities. Erase all four data symbols and retain px, py, g0, g1: the payloads (0, 0, 0, 0) and (1, 6, 6, 1) both leave (0, 0, 0, 0) on those survivors. No decoder can distinguish them. With the separated coefficients, the second payload instead leaves (0, 0, 0, 2), and the surviving matrix is invertible.
The complete result checks all 256 erasure subsets per construction. An independent test enumerates all 2,400 nonzero messages per code and checks whether any nonzero codeword disappears on the surviving coordinates. The two methods agree for all 512 cases. The code and reproduction instructions include both matrices and the three missed patterns. These fixed GF(7) examples are not deployed codecs or failure probabilities; they do not change the earlier 6+2+2 and 12+2+2 topology counts.
An unrecoverable stripe can retain a recoverable missing symbol
The counts above ask whether the entire four-symbol payload is uniquely determined. A requested symbol asks a different question. With surviving generator rows collected in M, full recovery requires rank(M)=4; recovery of data symbol i requires only that its unit vector e_i lies in the row span of M. A linear combination of the surviving observations then gives that symbol. If e_i is outside that span, a nullspace difference changes the target while leaving every survivor unchanged. This is the symbol-level linear-dependence criterion, applied to a fixed surviving set. [9, section 2, Definition 2]
In either fixed code, erase x0, x1, y0, px, g0 and retain y1, py, g1. The missing y0 = (py - y1) mod 7 remains recoverable from its two local helpers. For observed survivors (0, 0, 0), there are exactly seven compatible payloads: (3t mod 7, t, 0, 0), with t from 0 through 6. Neither x0 nor x1 is determined, but y0 is. The generated result lists all seven; direct enumeration also checks every one of the 343 possible survivor triples for each code. This uses the same two matrices and one pattern already included in the earlier enumeration.
This distinction can matter when estimating recoverable bytes or deciding whether a degraded read is mathematically possible. It does not promise that a particular implementation serves partial results. Object layout, checksums, encryption, metadata and access policy can still prevent a usable read. The example assumes known erasure locations and correct survivors from the same codeword. If y1 is also lost, even y0 becomes ambiguous: only py and g1 remain. The JSON and downloadable tests record that exact negative control and two conflicting payloads for each code.
What the second paper actually tested
Kolosov and colleagues compared LRC approaches in Ceph on EC2. Their experiment removed one OSD and measured recovery, with additional storage, network and foreground-load cases. Less repair data did not translate proportionally into less elapsed time. [2, sections 5-6]
An important qualification is in their implementation notes: Ceph's LRC plugin used Pyramid codes, not the exact Azure construction. The authors matched single-node read behavior, changed recovery reads and disabled rebalancing for the experiment. That does not establish identical multi-erasure tolerance or stock-Ceph performance. [2, section 5 and footnote 1]
There is also a read-path limitation: in the Ceph implementation described in this 2018 study, a degraded read reconstructed the entire object at the primary OSD, reading k data blocks even when r blocks sufficed to repair the missing block. The authors therefore reported no observable degraded-read difference between MDS codes and LRCs in that setup. This is a historical implementation constraint, not a statement about every Ceph version. [2, section 5, p. 871]
The algebra above answers whether the requested symbol is determined. The read path decides whether the system can use that answer without reconstructing the rest of the object. A smaller repair group alone establishes neither object availability nor a latency improvement.
Reconstruction can race a read, not just repair a failure
Huang and colleagues describe another use of LRC in the 2012 Azure design: when a direct fragment read appears too slow, the system can start reconstruction in parallel and return whichever result arrives first. The original node need not have failed. The paper motivates smaller helper sets partly by the risk of waiting for a slow helper. This is a historical design description, not a claim about current Azure internals. [1, Introduction, pp. 1-2]
Hesela's synthesis: a repair-read counter is therefore not necessarily a counter of permanent failures. Record the trigger, direct-read outcome, helper work and cancellation behavior separately. The fragment-read totals above count one reconstruction; they do not charge the competing direct read or establish how much work a losing attempt actually completes.
This complements the historical Ceph limitation above: a code's small repair set and the system's request path are different layers. Neither paper supplies a universal latency gain from racing requests. For the scheduling distinction, see redundant reads, cancellation and completion dependencies.
More helpers can mean fewer transferred bytes
The whole-fragment comparison above is not a lower bound for every MDS repair. A minimum-storage regenerating (MSR) code targets the minimum repair download at the minimum-storage point. With k data fragments, n stored fragments, d helpers and S bytes per fragment, the symmetric single-loss budget is dS / (d - k + 1), with k ≤ d < n. It preserves any-k data recovery; attaining the budget requires a suitable construction and repair algorithm. [4, equation 5]
| Helpers d | Per helper, MiB | Helper payload, MiB | Network via primary, MiB |
|---|---|---|---|
| 12 | 64 | 768 | 768 |
| 15 | 16 | 240 | 288 |
Twelve helpers transfer 768 MiB; fifteen can contribute 16 MiB each, totaling 240 MiB. The earlier LRC example contacts only six helpers but reads 384 MiB. Thus fewer helpers need not mean fewer bytes. The LRC comparison still has different worst-case erasure tolerance, as explained above.
The last column assumes decoding on an intact helper, followed by sending the repaired 64 MiB fragment to a separate replacement. One contribution is local, so network payload is (d - 1)S / (d - k + 1) + S: 288 MiB in the fifteen-helper case. The Clay evaluation uses this primary-OSD boundary. [5, section 5.2] These totals exclude protocol overhead, retransmissions and counting the same transfer on multiple network links. They are not predictions of elapsed repair time.
The accounting module and regression tests preserve both boundaries. Download both into one directory and run node --test msr-repair-budget.test.mjs. The existing LRC dataset retains its original whole-fragment meaning.
Small transfers can still require large reads
Subpacketization gives a vector code finer-grained repair units. Clay tested Ceph Jewel 10.2.2 on 26 EC2 m4.xlarge nodes, with one monitor and 25 OSDs using SSD-backed volumes. For its (20,16,19) configuration and small-stripe workload, scattered 64-byte sub-chunks caused four times the useful repair bytes to be read. Larger, aligned sub-chunks avoided that excess in the tested configuration. [5, sections 4.2 and 5]
This historical result is a reason to measure storage reads separately from network payload, not a universal amplification factor. Record sub-chunk layout, read granularity and the failed fragment's role alongside helper count.
For a deployment decision, check the supported release: Ceph's development documentation marks the Clay plugin deprecated since Umbrella and schedules removal in Vampire. It also gives a narrower helper range, k + 1 ≤ d ≤ k + m - 1. The mathematical endpoint above is not a plugin configuration validator or an instruction to migrate a live pool. [6, accessed 18 October 2026]
CLAY shortening: keep the exponent integral
The CLAY construction groups nodes using q = d - k + 1. When q does not divide n, it starts with a larger code and omits zero-valued data nodes. Ceph v18.2.7 implements this as q^ceil(n/q) sub-chunks. The virtual nodes do not increase the number of stored fragments. [5, section 3] [14, parse]
| Helpers d | q | Virtual nodes | Sub-chunks | Per helper |
|---|---|---|---|---|
| 11 | 2 | 0 | 128 | 64 |
| 12 | 3 | 1 | 243 | 81 |
| 13 | 4 | 2 | 256 | 64 |
At d=13, using 4^(14/4)=128 misses the shortening step: the padded construction has sixteen nodes and 4^4=256 sub-chunks. For d below n-1, efficient repair also requires the surviving members of the failed node's construction group among the selected helpers. That group is an algebraic constraint, not a physical failure domain. [5, section 3 and Appendix A]
Units and traffic boundaries need equal care. For k=8, m=4, d=11 and a lost 1 GiB fragment, each helper supplies 256 MiB; the sum is 2.75 GiB. The Reef manual's 250 MiB figure is inconsistent with binary units. If an intact primary helper forwards the rebuilt fragment to a separate replacement, network payload is instead 3.5 GiB. These are logical byte budgets, excluding protocol overhead and read amplification. [15]
The parameter helper and tests check padding and both byte boundaries using the existing MSR accounting module. They do not validate an arbitrary Ceph profile or execute error correction.
Hitchhiker: count the repair role before the saving
Hitchhiker couples Reed-Solomon instances using piggybacking. Its optimized case is one missing data unit, not parity repair. With a hop-length of half a block, hop-and-couple places each substripe in one contiguous half-block range. [10, sections 3-4]
The framework preserves recovery by decoding an earlier instance and then removing its added functions from later instances. That property alone does not choose an efficient repair algorithm. [11, section II]
| Repair case | Helpers | Full blocks | Half blocks | Block-equivalents |
|---|---|---|---|---|
| RS: any unit | 10 | 10 | 0 | 10 |
| Hitchhiker-XOR: data 1-6 | 11 | 2 | 9 | 6.5 |
| Hitchhiker-XOR: data 7-10 | 11 | 3 | 8 | 7 |
| Hitchhiker-XOR+: data 1-9 | 11 | 2 | 9 | 6.5 |
| Hitchhiker-XOR+: data 10 | 13 | 0 | 13 | 6.5 |
| Either Hitchhiker variant: parity | 10 | 10 | 0 | 10 |
Each row is generated from an explicit set of unit/substripe addresses. For XOR data unit 7, the full reads are units 8, 9 and 10; the half reads are units 1-6, 11 and 14. Thus 3 + 8/2 = 7 block-equivalents. The Appendix rule independently gives (k + s)/2 = (10 + 4)/2. Section 5.2.4 instead says three full plus nine half blocks, inconsistent with section 3.1.2 and that rule. This table follows the explicit plan, not that prose count. [10]
For XOR+, data unit 10 contacts thirteen helpers yet transfers the same 6.5 block-equivalents as data units 1-9, which contact eleven. Helper count and byte count answer different questions. A role-balanced collection of separate repairs gives (10 x 6.5 + 4 x 10) / 14 = 7.5 block-equivalents per repaired block: 25% less than ten, not 35%. For XOR the corresponding sum is 6 x 6.5 + 4 x 7 + 4 x 10 = 107, giving 107/14, about 7.643. Equal role weights are an assumption, not a measured distribution of failures.
A whole-block saving does not directly price a short degraded read. Bytes coupled during encoding must be reconstructed together: a large hop-length can pull an unrequested partner into recovery. A smaller hop-length reduces that separation but makes substripe reads less contiguous. Choose it for the intended request sizes, not only whole-block repair bandwidth. [10, sections 4 and 7(d)]
The 2014 evaluation separates production timing jobs from end-to-end testing on a 60-machine cluster. It does not establish present-day HDFS behavior. [10, sections 6.1-6.7]The versioned 3.4.3 decoder still dispatches single-data erasures separately from multiple/parity erasures, but the HDFS guide lists RS and XOR policies. An implementation class is not evidence of an enabled storage policy. [12] [13]
Read-plan module and tests: run node --test hitchhiker-read-plans.test.mjs with both files together. The checks enumerate all 42 variant/failed-unit combinations and compare the XOR plans with separately listed helper sets. They do not encode data, prove MDS recovery, run a decoder or measure device reads, latency, protocol traffic or simultaneous erasures. XOR+ assumes a compatible all-XOR base parity; nonXOR is outside this module.
Total bytes can hide the busiest node
ParaRC distinguishes transferred payload from maximum repair load: the largest send or receive volume at any node, not their sum. Its repair graph assigns each intermediate calculation to a node. An input used twice on that node needs only one transfer. [8, sections 2-3]
Hesela independently implements that accounting for the paper's small (4,2) Clay graph. Six source sub-blocks stay on their three helpers; the collector stays on the replacement. Eight computation vertices can each use any of the four nodes, giving 65,536 placements. No data are encoded, transmitted or timed.
| Total payload, MiB | Maximum node load, MiB |
|---|---|
| 384 | 384 |
| 448 | 320 |
| 512 | 256 |
The 384/384 placement minimizes traffic. Reaching 256 MiB maximum load requires at least 512 MiB total in this graph. The middle point is 448/320. These are alternative placements of the same repair dependencies, not different fault-tolerance guarantees.
Two independent counters agree for every placement. The tests also recover the published 448/320 example and the less efficient 832/512 example. A deliberate edge-by-edge counter reports 640 MiB for centralized repair, instead of 384 MiB: it counts repeated consumers as repeated transmissions. The downloadable record includes each example's transfer list and a witness placement for every non-dominated point.
This does not prove a repair-time improvement. The model excludes link rates, packet scheduling, CPU work, disks, contention, protocol overhead and retries. It charges direct unicast transfers from the producer and assumes received inputs can be reused locally. Different graphs, collectors, multicast or forwarding rules require a new calculation. Exhaustive counts are not a probability distribution over real deployments.
Results and source hashes, accounting module and tests. With both modules in one directory, run node --test repair-load.test.mjs. This reproduces graph accounting, not the ParaRC cluster benchmark.
Overlapping parity still has a failure boundary
Shingled Erasure Code (SHEC) overlaps local parity groups to reuse a smaller set of helpers during multiple-loss repair. The paper writes SHEC(k,m,l), where l counts data inputs per parity. Ceph's profile instead uses k,m,c, with a durability estimator c. Those third parameters are not interchangeable. SHEC construction; plugin notation.
In the paper's SHEC(10,6,5) layout, D1 appears only in P1, P5 and P6. Losing those three parities together with D1 makes D1 unrecoverable: no surviving fragment depends on it. Six stored parities therefore do not imply tolerance of every six-fragment loss. Figure 2.
Hesela's executable incidence audit checks all 65,536 erasure sets in this layout. It finds ten four-erasure sets with an isolated data symbol among 1,820 possible four-erasure sets. This is a lower bound on undecodable sets, not a fleet failure probability. Absence of isolation is not a recovery certificate: erase all ten data fragments and every variable still appears in the six surviving parities, but six equal-sized fragments cannot determine ten arbitrary independent ones. The check deliberately does not invent finite-field coefficients or claim to reproduce the Ceph decoder.
Practical use also depends on support policy. As checked on 23 November 2026, Ceph development documentation marks SHEC deprecated since Umbrella and schedules removal for Vampire; the project announcement discusses moving data to a supported pool. This is not a claim that every released version already removes it. Development documentation; project announcement. See the SHEC definition and sources.
A comparison worth keeping
Hesela's synthesis: a useful repair report should make these choices explicit.
- State the construction, fragment placement and erasure pattern, not just a parity count.
- Separate data-only recovery from all-fragment and full-node recovery.
- Report helper reads, bytes read, bytes transferred, per-node send/receive load and reconstructed writes separately.
- State whether comparisons hold payload, storage capacity or fault tolerance constant.
- Measure completion time under the actual bottleneck and foreground workload.
Our equal-overhead example does not hold worst-case erasure tolerance equal. The original whole-fragment model excludes partial-fragment repair, read sharing, compression, retries, cache effects, CPU cost, placement and scheduling. The 64 MiB size is an illustrative input. No sampling or confidence interval applies to deterministic arithmetic.
Corpus: locally repairable code, repair locality, repair-read amplification and erasure coding.
For the MDS baseline's construction assumptions, see Reed-Solomon recovery and a reproducible matrix counterexample.
Primary sources and scope
- Cheng Huang, Huseyin Simitci, Yikang Xu, Aaron Ogus, Brad Calder, Parikshit Gopalan, Jin Li and Sergey Yekhanin. Erasure Coding in Windows Azure Storage. USENIX ATC 2012, pp. 15-26; sections 2-3.
- Oleg Kolosov, Gala Yadgar, Matan Liram, Itzhak Tamo and Alexander Barg. On Fault Tolerance, Locality, and Optimality in Locally Repairable Codes. USENIX ATC 2018, pp. 865-877; sections 3, 5-6.
- Ceph: Locally Repairable Erasure Code Plugin (development documentation; parameter names are implementation-specific).
- Dimakis et al. Network Coding for Distributed Storage Systems. IEEE TIT 56(9), 4539-4551 (2010), DOI 10.1109/TIT.2010.2054295; equation 5.
- Vajha et al. Clay Codes: Moulding MDS Codes to Yield an MSR Code. FAST 2018, 139-154; sections 2, 4 and 5.
- Ceph: CLAY code plugin, development documentation; helper ranges, sub-chunks and deprecation notice.
- Gopalan, Huang, Jenkins and Yekhanin. Explicit Maximally Recoverable Codes with Locality. IEEE Transactions on Information Theory, June 2014; section II, Definition 3 and Lemma 4.
- Xiaolu Li et al. ParaRC: Embracing Sub-Packetization for Repair Parallelization in MSR-Coded Storage. FAST 2023, pp. 17-32; sections 2-3, figures 2-5.
- Gopalan, Huang, Simitci and Yekhanin. On the Locality of Codeword Symbols. Author manuscript, Theorem 5; arXiv:1106.3625 (2011).
- Rashmi et al. A Hitchhiker's Guide to Fast and Efficient Data Reconstruction in Erasure-coded Data Centers. SIGCOMM 2014, sections 3-7 and Appendix.
- Rashmi, Shah and Ramchandran. A Piggybacking Design Framework for Read-and Download-efficient Distributed Storage Codes, section II.
- Apache Hadoop 3.4.3: HHXORErasureDecodingStep, single-data versus multiple/parity dispatch.
- Apache Hadoop 3.4.3: HDFS Erasure Coding, supplied policies and supported codecs.
- Ceph v18.2.7: ErasureCodeClay::parse, shortening and sub-chunk count.
- Ceph Reef CLAY documentation: helper-byte formula and the inconsistent 250 MiB example.
- Miyamae, Nakao and Shiozawa. Erasure Code with Shingled Local Parity Groups for Efficient Recovery from Multiple Disk Failures. HotDep 2014, section 2.2 and Figure 2.
- Ceph development documentation: SHEC erasure code plugin, parameter meanings and deprecation notice.
- Jamie Pryde. Ending Support for some Erasure Code Plugins. Ceph project, 2025-12-16.
- Huang, Chen and Li. Pyramid Codes: Flexible Schemes to Trade Space for Access Efficiency in Reliable Data Storage Systems. NCA 2007, section 2.
- Huang, Chen and Li. Pyramid Codes. ACM Transactions on Storage 9(1), Article 3 (2013), sections 3-5. DOI: 10.1145/2435204.2435207.
Source [8] reviewed 21 October 2026; sources [1-3] reviewed 11 October 2026; [4-6] reviewed 18 October 2026; [1, 7] reviewed 19 October 2026. This is a literature synthesis and an accounting model, not a reproduction of either cluster experiment or a claim about Azure's current internals.