hi new learner here, , going through docs in cloud foundry , not able find how cloud foundry able scale quickly?
what there in makes fast , easy scale?
i have worked pivotal cloud foundry , try explain concepts it.
here link diego architecture.
please closely architecture diagram.
the diagram depicts components within pcf , how interact.
cloud foundry ecosystem containing lot of components. cells
in diagram diego cells
. these actual vm's containers hosted , run.
at basic level, containers in-fact folders on host vm, runtime isolations. container not know container.
when push app pcf, first thing happens app staged. here article explaining how diego stages buildpack applications.
notice blobstore
. part of staging process, cloud controller uploads ready-to-go blob blobstore. blob contains, os, monitoring tools (both sourced stem cell), runtime (jvm, api tools etc buildpack), , application archive.
cloud foundry runs 1 , 1 application in container. important. if app dies, container reclaimed. new container spun in place.
a spinning brand new vm expensive in terms of time , resources. spinning new container on existing vm relatively cheap. and, pcf has ready-to-go blob available.
so, if there need scale or if app instance crashes, pcf able spin new instance.
there ton of things involved in process. articles walk through it.
hope helps.
Comments
Post a Comment