【正文】
? Memory Limits。陳碩 軟件開(kāi)發(fā)及測(cè)試工程師 Server Management Group Microsoft Corporation 及在其基礎(chǔ)上建立高性能的Web應(yīng)用程序 Win301/315 講座內(nèi)容瀏覽: ? 介紹 新的 體系 結(jié)構(gòu) : ? Performance ? Reliability ? Security ? Manageability ? 程序設(shè)計(jì)環(huán)境 ? ASP .NET ? ASP ? ISAPI ? 利用 Windows .NET Server 新特色 : Performance, security, reliability amp。 ? Processor affinity imposed Dynamic Kernel Caching GET C a ch eN e t w o r k S t a c kH T T P . S Y SW 3 W P . E X E ( I I S 6 . 0 )A S P . N E T / C L RU s e r A p p l i c a t i o nU s e rK e r n e lD a ta b a s eRequest Response Without Cache C a ch eN e t w o r k S t a c kH T T P . S Y SW 3 W P . E X E ( I I S 6 . 0 )A S P . N E T / C L RU s e r A p p l i c a t i o nU s e rK e r n e lD a ta b a s eWith Cache Request Response % OutputCache Duration=10 VaryByParam=none % Increasing .NET Scale And Performance Caching responses in ? ASP .NET is able to cache plete responses in ? Responses marked as Location=“Server” ? Cached responses served straight from ? Much faster when served from kernel – no usermode transition ? Your apps won’t see requests if served from cache ? Invalidation of cached plete responses (Server) same as in IIS5 % OutputCache Location=“Server” … % Worker process ISAPI Extension ISAPI filter Worker process ISAPI Extension ISAPI filter Increasing .NET Scale And Performance IIS 6 Web Gardens and Processor Affinity ? Web Gardens ? App Pool with 1 worker process ? Connectionbased routing w/in Garden ? Processor Affinitization ? Bind app pool process/es to 1 or more CPUs ? Maskbased config Worker process ISAPI Extension ISAPI filter Worker process ASP .NET ISAPI filter Web Garden application pool WAS ASP Considerations ? Run ASP in COM+ MTA for sites that have “Both” and “Free” threaded ponents ? Cache adjustments – avoid ASP page pilation ? Template cache should be big enough to hold “hot” pages ? Script engine cache should also hold “hot” pages ? Intrinsic improvements for ASP ? ASP does asynchronous writes to the work (more efficient in terms of number of threads in the OS) ? ASP uses VectorSend() under the covers W in 2K W in .NE T1P4P8P~50% ASP .NET 應(yīng)用指南 ? 內(nèi)核模式 (kernel)控制輸出緩存