在 2012年11月5日星期一UTC+8下午10时40分25秒,
florian...@googlemail.com写道:
Hi all,
in the last days I've read a lot about the CloudFoundry architecture, yet there is one thing that remains unclear for me: Which component does actually know about the runtime environments on which the cloud apps will run in the end?
What i know is: vmc have a detect process when you upload your app, then it clound know the runtime,framework,server info and other some environments. And Staging as so on more or less. Then you could ask app what it's environments.
DEAs are (as far as I got it) unaware of the application code and just use the start/stop buttons of the droplets. Yet, somewhere I read that DEAs tell the Cloud Controller which Runtime Environments they provide (or rather: they tell whether they could run a specific droplet, one parameter being the needed runtime environment). Now, how does it actually work?
DEA could calculate it's resources, then decide it's delay time when "process_dea_discover".
And another question: What does the Stager exactly do? Which components are being packed to a droplet?
Stager mainly do this things: Downloading app, which as a zip file in CC; Unpacking app and Staging app; Creating droplet, then uploading droplet.
The Stager do the common things, but the 'specific staging process' is by specific StagingPlugin.