Cloud Élastique (Elastic Computing)
La capacité d'une infrastructure cloud à provisionner et déprovisionner automatiquement des ressources de calcul (serveurs, conteneurs, fonctions) en réponse à la demande réelle — en ne payant que ce qui est utilisé.
Dans l'infrastructure blockchain, l'elastic computing est crucial pour les nœuds indexeurs et les fournisseurs RPC qui doivent absorber des pics de trafic lors de mints NFT ou de lancements de tokens.
graph LR
Center["Cloud Élastique (Elastic 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;
🧠 Test de connaissances
🧒 Explique-moi comme si j'avais 5 ans
Imagine un restaurant dont la cuisine peut magiquement grandir ou rétrécir selon le nombre de clients. Un mardi calme, il y a 2 chefs. Un samedi soir chargé, il en apparaît 20. Tu ne paies que les heures où ils cuisinent vraiment. L'elastic computing, c'est cette cuisine magique pour les logiciels : le cloud ajoute automatiquement plus d'ordinateurs quand ton application est très sollicitée, et les retire quand le trafic baisse.
🤓 Expert Deep Dive
Auto Scaling Group (ASG) : Target Tracking Scaling maintient une valeur cible de métrique (ex. CPU moyen à 60%). La période de cooldown (300s par défaut) prévient l'oscillation rapide. Kubernetes HPA v2 : interroge le Metrics Server toutes les 15 secondes. Formule : desiredReplicas = ceil[currentReplicas × (currentMetricValue / desiredMetricValue)]. Cold Starts Lambda : Lambda maintient un pool d'environnements chauds. Après ~15 min d'inactivité, ils sont gelés. L'invocation suivante doit charger le package et démarrer le runtime — 100–1000ms de latence. La Provisioned Concurrency pré-chauffe N environnements (facturés en continu).
❓ Questions fréquentes
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.