Elastisches Computing

Die Fähigkeit einer Cloud-Infrastruktur, Rechenressourcen (Server, Container, Funktionen) automatisch in Reaktion auf die tatsächliche Arbeitslast bereitzustellen und freizugeben — nur bezahlen, was genutzt wird.

In der Blockchain-Infrastruktur ist elastisches Computing entscheidend für Indexer-Nodes und RPC-Provider, die plötzliche Traffic-Spitzen bei NFT-Mints oder Token-Launches abfangen müssen.

        graph LR
  Center["Elastisches Computing"]:::main
  Rel_scalability["scalability"]:::related -.-> Center
  click Rel_scalability "/terms/scalability"
  Rel_data_modeling["data-modeling"]:::related -.-> Center
  click Rel_data_modeling "/terms/data-modeling"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Wissenstest

1 / 1

🧒 Erkläre es wie einem 5-Jährigen

Stell dir ein Restaurant vor, dessen Küche magisch wachsen oder schrumpfen kann, je nachdem wie viele Gäste kommen. An einem ruhigen Dienstag gibt es 2 Köche, an einem vollen Samstag sofort 20. Du zahlst nur für die Stunden, in denen die Köche wirklich kochen. Elastisches Computing ist diese magische Küche für Software — die Cloud fügt automatisch mehr 'Computer-Köche' hinzu, wenn deine App viel Betrieb hat, und entfernt sie, wenn der Verkehr nachlässt.

🤓 Expert Deep Dive

Auto Scaling Group (ASG): Target Tracking Scaling hält eine Ziel-Metrik (z.B. durchschnittliche CPU 60%). Die Cooldown-Period (Standard 300s) verhindert Thrashing. Kubernetes HPA v2: fragt den Metrics Server alle 15 Sekunden ab. Formel: desiredReplicas = ceil[currentReplicas × (currentMetricValue / desiredMetricValue)]. Lambda Cold Starts: AWS Lambda hält einen Pool warmer Ausführungsumgebungen. Nach ~15 Minuten Inaktivität werden sie eingefroren. Der nächste Aufruf muss das Deployment-Paket laden und die Runtime starten — 100–1000ms Latenz. Provisioned Concurrency wärmt N Umgebungen vorab (wird kontinuierlich berechnet).

❓ Häufig gestellte Fragen

What is the difference between elastic computing and auto-scaling?

Auto-scaling is the specific mechanism (adding/removing servers based on metrics). Elastic computing is the broader principle — the cloud infrastructure's ability to match capacity to demand dynamically. Auto-scaling is one implementation of elasticity.

What is a 'cold start' in serverless computing?

A cold start occurs when a serverless function (like AWS Lambda) is invoked after its execution environment has been idle and deallocated. The cloud must provision a new environment, load the runtime, and run initialization code before the function logic executes, adding 100ms–1s of latency.

Is elastic computing always cheaper than fixed infrastructure?

No. Elasticity saves money for workloads with high variability (e.g., e-commerce sites with day/night cycles). For flat, predictable workloads, reserved instances with 1-3 year commitments are typically 40–60% cheaper than on-demand elastic pricing.

📚 Quellen