2. The four new features of ASP+
1. ASP+Based on a new architecture
ASP+is completely based on NGWS running framework.
NGWS Runtime Framework is a core component of Microsoft's next -generation web .NET architecture proposed by Microsoft. NGWS is a new infrastructure for Windows. It is used between Windows and user programs. It is used to manage code execution. It provides a package between developers and operating systems that make Windows programming easier. NGWS is completely based on objects when running. It extends the structure of the COM (component object model, component object model), providing more new enhanced services for scalable distributed applications. When NGWS is running, we don't have to worry about forgetting to clear a certain object in the ASP+page, because it will automatically handle memory waste recycling. At the same time, some of the underlying services that are vital to the operating system have become easier, security, certification, file system access, network information, etc. Essence Essence Everything is not a problem!
2.ASP+execute by compiling
ASP+has made many improvements on the execution performance of ASP. Page scripts are no longer executed by explanation. Instead, it is compatible with NGWS (Next Generation Web Services) compatible compilation. Don't misunderstand! The compilation we refer to is not to generate .exe files.
You still write code as before. The compilation work is automatically completed when the script code receives the request for the first time and runs by the NGWS when running, and saves a cache copy at the same time. When the script receives the request again, the system runs the copy of the cache directly, which greatly speeds up the execution speed, because we are now running the compiled code.
If the source of the source is changed, the old compilation version will be automatically discarded from the cache when runtime, so that the code will be re -compiled when the execution request is received next time.
3. Data cache technology
Well, now we have a faster compiled ASP+, but this is still not enough. Imagine this situation: You have a dynamically generated ASP+page. The content of this page originated from a background database, and this database may be updated for several days. Essence Essence Now, assuming that your server receives a request from the client, the server will connect to the database, perform query, retrieve records, and feedback to users, very simple, right? But what kind of consequences will be produced when the server has to deal with thousands of the same request at the same time? There is no doubt that the result is unnecessary repeated calculation and terrible system resources occupation.
This is why data cache technology is used.