Http://www.microsoft.com/china/msdn/library/rchives/technic/voice/guide.asp
Windows DNA Sample Project - Compare Guide
Steve Kirkmsdn Architecture Group
June 2000
The MSDN Architecture Group has collected the comparative guide to the WINDOWS® DNA application in the training form to help users can better use the "Technical Lecture" to all examples and related materials that can be obtained on MSDN. The comparison format highlights similarity and differences, enabling you to easily compare the architecture of the application, implement language, technology, and other important functions. Summary is based on our repeated research on these examples, including discussions with designers and developers.
Although these examples illustrate the actual business schemes varying to extent, its important value is examples of architecture and implementation. We believe that if you do your best to completely understand the relative advantages and limitations of these examples - how to evaluate their core capabilities: reliability, manageability, scalability, etc. Won the biggest return.
Windows DNA Sample Project Guide includes the following topics:
Example applications (applications and documents that can run all source code). Case analysis (report from the actual project). Demonstration option (description technology or product prospect).
In addition to this guide, "Technical Lectures" and MSDN also sponsored online discussions on these examples, as well as group discussions, and "ask experts". These examples of designers and developers will attend "ask experts" to discuss the following topics in one another.
American Floral Services
This case introduces the application of "American Flower Services" development, which gives them 24,000 member flower shops with separate brands of Web store.
analysis
The app is very prominent in terms of flexibility, interoperability, and scalability (one million unique visitors), and a short-term launch market (3 months). The application resides on a site that looks like 24,000 separate sites. This configuration enables it to have large-scale economic (easy management and maintenance) while also supporting separate applications. In addition, it interacts with those gardeners (they choose to realize their own virtual domain).
"Technical Lecture" meeting
"Constructing 24,000 dynamic driven e-commerce sites (2-302)", speaker David Sutton and Alan Dickman. Explain how "American Flower Services" develops and why develop Windows DNA applications, which makes each of the 24,000 flower shops provide their own sales experience, local catalog and customer support. The meeting will discuss the size of the physical system, the object model design, and the modification of Microsoft Commerce Server.
Implement language / technology
Windows 2000 Advanced Server (Internet Information Server (IIS), Active Server Pages (ASP), COM ). Commerce Server 2000. SQL ServerTM 7.0. IBM MQ series.
American Flower Service "Architecture
Link Autonomous Application Physical Implementation Store Application Server Sports Commerce Server 2000DHTML, IIS, ASP Storage Management Server Fields Commerce Server 2000 Database Say: SQL Database SQL Server 7.0 Line Transfer IBM MQ Series Mail and Domain Services
Art.com
This case analysis customer sales web site art.com. Every day, 80,000 to 100,000 personal users are served, and Art.com will add extra boxes and non-additional art drawings and replicas directly to the public. analysis
In addition to using clustering techniques to get scalability, the application also solves online transaction (OLTP), directory search features, and online analysis processing (OLAP) by introducing database layers in transactions, directory search, and data warehouse blocks. Inherent contradiction between. Failover clusters also enhance applications improve reliability and availability. Here is the contradiction between the first, N-layer logical architecture and the two physical architecture of the two-layer physical architecture in many locations we can see. Since the workload completed on n logical layers cannot prove that the overhead of the process or the remote call is reasonable, these logical layers can be configured in two layers of the physics to achieve higher performance. In other examples, we can often see this mode.
"Technical Lecture" meeting
"Art.com: Windows DNA Case Analysis (9-306)", Speaker Jon Rauschenberger. The topic of this meeting is: How to use new Windows 2000 technology in the real world to expand. Discussing include scalability, clustering, state management, load testing, adjusting IIS, database partitions, code management, recording, and reporting.
Implement language / technology
Windows 2000 Advanced Server (IIS, Network Load Balancing (NLB), Windows Cluster Services (WCS), COM , ASP). SQL Server 7.0.
Art.com architecture
Logical N layer physics 2 layer representation layer (HTML 3.2) Service logic layer Web layer (NLB cluster) ASP / script COM component database layer SQL database database layer (WCS cluster) Search partition transaction partition data warehouse
Note: The status management scheme is based on customer cookie, which contains memory in the sessionID and databases.
test
The Microsoft Web Application Strength Tool (WAS) is used for testing. The test script is designed to simulate the expected business use of the application with an ASP log that coordinated between the assumptions and actual uses.
BookBroker
BookBroker is a virtual business solution that introduces how XML technology achieves interoperability from business to business between multiple business to customer bookstores and booksters.
analysis
In BookBroker, the focus on the architecture is transferred from a single application to interoperability between the applications. In a separate application, as a series of workflows implemented in a series of internal implementations, the task of exchange and processing documents that meet the standard architecture in XML-centered scenarios. The purpose of this scheme is to emphasize XML technology for implementing this interoperability.
"Technical Lecture" meeting
"Technical e-commerce applications (9-332 w)", speaker Zach Jason and Eric Schmidt.
This meeting introduces Microsoft's XML strategy and looks forward to current and future XML related products. The speaker will use the BookBroker application as an example of the demo XML technology.
Implement language / technology
MSXML analyzer (including XSL (T), XDR, XPath, and DOM). ActiveX® Data Objects (ADO) 2.6 (show new iCommand Stream interface). SQL Server 2000 (XML function). BizTalkTM Server. SOAP SDK. Internet Information Server 5.0. Windows 2000 Server. ASP. Visual Basic® COM components. Microsoft Internet Explorer 5.0 (JScript and VBScript). Commerce Server 2000. BookBroker architecture
Link Autonomous Application Physical Implementation Retail Application Commerce Server 2000Retail Application Commerce Server 2000Broker Application BizTalk Server 2000FULFILLLMENT App SQL Server 2000
DNayourbusiness.com
DNAYOURBUSINESS.com is a Windows DNA scheme, similar to BookBroker, which is also mutually intertise between the focus from a single application to the application. Unlike BookBroker, it emphasizes the underlying XML technology that emphasizes 2000 server technology. It connects the entire service supply chain together, including procurement, order completion, payment, and other processes.
DNAYOURBUSINESS.COM described in Technical Lecture is a way along Exchange Server, SQL Server, Commerce Server, Host Integration Server, and BizTalk Server. It is developed paving stone, can refer to the application, constructing your own business template for business applications. With the development of DNayourBusiness.com, you will bring you more information.
Duwamishonline.com
Duwamish Online is an example of the latest version of MSDN Duwamish books that will soon appear on the Internet. Duwamish Online utilizes the architecture of Duwamish Books Phase 4 applications, and there is a richer interface, just like the true application. In addition, there is a real business partner that provides directory, credit card verification, and inventory list. For more information, please visit Duwamish Books Phase 4.
A deployment and operation issues are introduced every two months in the Duwamish diary. These issues include network configuration, adjust server size, test, adjustment, security, and interoperability with credit cards and order completion services. The MSDN Architecture Group will continue to summarize these results into documents in this summer, in the depth introduction of the design and deployment topics, while the ongoing diary also includes the operation of the site.
analysis
The import of this application is to use XML / XSL conversion to bind data to the user interface and use the queued COM component. We once again saw the contradiction between the N-layer logical architecture and the two physical architectures.
"Technical Lecture" meeting
"Duwamish Online Performance Problem", speaker Michael Edwards.
This meeting (as a webcast only) describes setting performance requirements, selecting server hardware (proportional increase, and reduced mode) and test performance with Microsoft Web Application Strength Tools (previously referred to as HOMER).
Implement language / technology
Windows 2000 Advanced Server. Use the SQL Server 2000 of the stored procedure. COM service. ASP. Vbscript. Visual Basic COM components. Visual C ® (ATL) component - available thread cache. ADO disconnected record set. XML (MSXML Analyzer, XML / XSL). HTTPS encryption. Duwamish Online Architecture
Logical N-layer physics 2 layer representation layer HTML 3.2 Workflow span or combined multiple autonomous business transactions Working business logic label Autonomous Business Transaction Boundary Data Access Layer Process Disconnected Data Access Web (NLB Cluster) ASP VBScript Visual C ATL Cache components in all HTML ASP applications generated with XML / XSL, randantly change the HTML / XML Visual Basic COM Workflow, Business Logic, Data Access Components (COM Library) Database Layer SQL Database Layer ( WCS cluster) SQL Server 2000 using stored procedures
Note: The status management scheme is based on customer cookie, which contains memory in the sessionID and databases.
test
The test script is designed to analog expected application commercial use. The Microsoft Web Application Strength Tool (WAS) is used for testing. The test script is included in this example.
Fitch & Mather stocks 2000
Fitch & Mather stocks 2000 is the latest version of the Fitch & Mather Stocks sample application, which is an e-commerce product / directory online transaction application. FMSTOCKS 2000 (English) is running on the Internet.
Fitch & Mather stocks 2000: Introduction and Article list (English) can be obtained on the MSDN. FMSTOCKS 2000 is based on Fitch & Mather Stocks 1.0 (English), which can also be obtained on the MSDN.
analysis
The app is worth noting because it does not require a client browser to support cookies. The ISAPI DLL adds sessionid to the flowed HTML and retrieves sessionid for each request. FMSTOCKS 2000 and Nile Books / Visual Basic / ASP logic three-layer implementation and COM component sharing architecture. We can again see the contradiction between the N-layer logical architecture and the two-layer physical architecture.
"Technical Lecture" meeting
"FMSTOCKS 2000 internal: demand and architecture (9-317)", speaker Margaret Deem and Scott Stanfield.
"FMSTOCKS 2000 inside: Design high-telescopic intermediate layer (9-315)", speaker Margaret Deem and Scott Stanfield.
"FMSTOCKS 2000 internal: load testing and adjustment (9-316)", speaker Margaret deem and Scott Stanfield.
These conferences will introduce the design and development process, starting with the demand definition and development of the initial architecture. Next, introduce the design and programming of the intermediate layer component, use the COM components and transaction services. Adjust the meeting to the meeting, analyzes and studies the solution after discovering the bottleneck.
Implement language / technology
Windows 2000 Advanced Server. Use the SQL Server 2000 of the stored procedure. Network load balancing (NLB). Windows Cluster Services (MCS). ASP. Visual Basic COM components. ISAPI Visual C DLL. FMSTOCKS 2000 architecture
Logical N-layer physics 2 layer representation layer HTML 3.2 business logic layer data access layer Process Disconnected Data Access Hidden Storage Procedure Name Web Layer (NLB Cluster) Visual C Isapi DLL (Add and Retrieve Conference ID) ASP in VScript Visual Basic COM Components (COM Library) Database Layer SQL Database Database Layer (WCS Cluster) SQL Server 2000 for stored procedures
Note: Status management scenario uses the ISAPI DLL management hidden sessionID, and memory in the database.
test
A third-party test tool is used during testing.
Microsoft.com
The best laboratory of application architecture and technology is a primary application. It has 25 million members and millions of visits every day, Microsoft.com is one of the largest 5 Web sites today. See Microsoft.com Background Site to get the latest architecture and technical issues from Microsoft.com.
analysis
There are several reasons why the application is important. The 25 million-row member database represents the success strategy of the table partition, and provides an XML in addition to the other layers of the application, and there is a powerful case in the database layer. The intermediate layer is logically divided into a data access layer and a business logic layer, where classes are implemented as scripTlets in JScript, not the Scriptlet in the COM component. The physical two-layer implementation is still another example of contradiction between logic layers and physical layers. The workload and code size to be completed can not prove that the call outside the component or the overhead for the call to the remote component is justified. We get better performance and manageability. Finally, the importance of this application is that it uses XML / XSL as data binding technology, so that the code and data are fully separated from the format.
"Technical Lecture" meeting
"Microsoft.com's lecture on performance and scalability", speakers Mike Moore, Larry Jordan and Ahmad Safa.
The meeting won the design guidance experience from constructing a largest site on the Internet. The subject includes database optimization, using XML, localization, and operational guidelines. The searches also introduced the search and registration functions.
Implement language / technology
Windows 2000 Advanced Server (IIS, ASP, cluster). Use the SQL Server 2000 of the stored procedure. Windows Script Components (JScript). XML and XSL
Microsoft.com architecture
Logical N-layer physics 2 layer representation layer service logic layer data access layer Web layer (NLB cluster) ASP extension uses XML / XSL conversion to generate HTML Windows Scripts Components (JScript) Database Says SQL Database Layer (WCS Cluster) Horizontal Partition Database uses stored procedures SQL Server 2000
Note: The status management scheme is based on customer cookie, which contains memory in the sessionID and partition databases.
test
Microsoft.com Performance Tests using Microsoft Web Application Strength Tools (WAS).
Nile books
The NILE books app is an e-commerce product / directory online transaction application developed for PCWEEK / Doculabs.
analysis
4 variants prepared by Nile Books are to perform TPC-W benchmarks better in this competition. The four implementations are as follows: Visual Basic / COM / ASP. Visual C / Isapi Monolithic. Visual C / ISAPI / COM . VBScript / asp.
These implementations should be in two aspects of completion and core capacity standards such as scalability, maintainability, and manageability, compare the starting point of language and technology. Some applications also show the contradiction between logical N-layer and physically two-layer architecture, which is the same as other applications in this guide. In addition, the VBScript implementation of Visual Basic / Com implemented (using the VBScript class) proves that the decision of Microsoft.com in the intermediate layer uses the script class is correct.
"Technical Lecture" meeting
"Web application performance and scalability: COM load balancing, smart partition, and other Windows DNA architectural decisions (6-312)", speaker Greg Leake.
This meeting provides a comprehensive performance / scalability test result for the basic N-layer web application. Introduce the architecture and implementation decisions, focusing on their respective impact on performance. "Constructing high-performance web applications (PCWEEK NILE APP) (6-303)", Speaker Margaret Deem and Scott Stanfield.
This meeting describes developing high-performance web applications using Visual C . The subject includes ISAPI filter design, COM object pool, ODBC connection pool, and component load balancing.
Implement language / technology
The following table provides four different ways to implement the NILE books application. We divide their goal to compare the development of language and technology.
Nile Books (Visual Basic / COM / ASP) Architecture
Logical N-layer physics 2 layer representation layer HTML 3.2 Business logic layer data access layer Processing disconnected data access Web layer (NLB cluster) ASP VBScript Visual Basic COM component database layer SQL database database layer (WCS cluster) use stored procedures SQL Server 2000
Nile Books (Visual C / Isapi Monolithic DLL) Architecture
Logical N-layer physics 2 layer application layer web layer (NLB cluster) Visual C / ISAPI Monolithic DLL ODBC Data Access Database Layer SQL Database Layer (WCS Cluster) SQL Server 2000 with stored procedures
Nile Books (Visual C / ISAPI / COM Component) Architecture
Logical N-layer physics 2 layer representation layer HTML 3.2 Intermediate WEB layer (NLB cluster) ISAPI DLL Visual C COM Component (COM library) from the above ODBC data Access database layer SQL database database layer (WCS cluster) using stored procedures SQL Server 2000
Nile Books (VBScript / ASP) Architecture
Logical N layer physics 2 layer representation layer HTML 3.2 Intermediate WEB layer (NLB cluster) ASP VBScript (script) Database layer SQL database database layer (WCS cluster) uses stored procedures SQL Server 2000 test
Test scripts comply with the TPC-W e-commerce baseline used in PCWEEK / Doculabs test. A third-party test tool is used.
Application conference plan
June 5th, Monday
10: 45-12: 00, Valencia Anile Books "Web Application and Scalability: COM Load Balance, Intelligent Partition, and Other Windows DNA Architecture Decision (6-312)", speaker Greg Leake.
1: 30-2: 45, 209 Room Nile Books "Constructs High Performance Web Applications (6-303)", Speaker Margaret Deem and Scott Stanfield with C .
Treasure the e-commerce application (9-332 W) ", the speaker Zach Jason and Eric Schmidt in the Excellence BookBroker".
June 7th, Wednesday
AM 10: 15-11: 30, 209 Room US Flower Services "Textivate 24,000 dynamic-driven e-commerce sites (2-302)", speaker David Sutton and Alan Dickman.
1: 00-2: 15, 209 room fm stocks 2000 "FMSTOCKS 2000 internal: demand and architecture (9-317)", speaker Margaret deem and Scott Stanfield.
2: 45-4: 00, Valencia AFM Stocks 2000 "FMSTOCKS 2000 internal: Design high retracted intermediate layer (9-315)", speaker Margaret Deem and Scott Stanfield.
4: 30-5: 45, 209 Room FM Stocks 2000 "FMSTOCKS 2000 internal: load testing and adjustment (9-316)", speaker Margaret deem and Scott Stanfield.
Late 6: 15-7: 00, Valencia Dart.com "Art.com: Windows DNA Case Analysis (9-306)", Speaker Jon Rauschenberger.
Late 7: 30-8: 30, 206 Room Windows DNA Application Overview - Group Discussion.
Evening 7: 30-10: 00 to ask experts
June 8th, Thursday
8: 30-10: 15, D Hall Microsoft.com "Microsoft.com About Performance and Scalability Lecture (Gen. Session), Speaker Mike Moore, Larry Jordan and Ahmad Safa.