Today, let's take a look at the differences between azure cloud application and the traditional local applicaiton in running mode.
Here, we specifically use the. NET implemented applicaiton.
1). Traditional. NET application
After learning about the operating system, we know that a process is a dynamic execution form of a program in the operating system and the smallest unit that can be allocated when the operating system executes a static program.
The thread is an execution process of the process.
Before the emergence of. net, the life cycle of the program begins with the creation of the process and ends with the completion of the process.
With the emergence of. net, app domain has been well known by the majority of technical staff. (are there any updates to our university tutorials ????)
In most cases, developers do not have to deal with processes directly. Instead, we can operate on this relatively lightweight container.
There are many advantages in this regard. The important point is that it avoids the possible "sitting" phenomenon. It is estimated that foreigners cannot understand this word.
2). Azure Clound Application
In Windows Azure, the concept of APP domain is replaced by the concept of vitual machine (Virtual Machine.
An application is distributed across one or more VMS for execution. MS uses a technology called hypervisor to coordinate the work between VMS.
Currently, the CTP version provides two types of VMS: Web role instance and worker node ).
Currently, ide only provides templates for the creators of two types of nodes.
The front-end node of the web is used to directly respond to HTTP/s requests from outside countries and work on IIS 7.0.
If the front node of the web is mainly engaged in diplomatic work, then the back node of the worker is engaged in internal affairs.
Generally, its executor is a front-end web node from the same application, in the form of queue.
In terms of implementation methods, the former can use ASP. NET, WCF/Web Service, and the latter can be any executable assembly.
Note that VMS can use the system-level API provided by Windows azure.
Next time, let's take a look at the differences between cloud applications and traditional applications in data operations.
After learning these basic concepts, it will be helpful for some practical examples in our future series.