Скачать презентацию COM Greg Hope Architect Microsoft COM Team Mon Скачать презентацию COM Greg Hope Architect Microsoft COM Team Mon

f02130adba66dcd3567707a9c0c90c04.ppt

  • Количество слайдов: 32

COM+ Greg Hope Architect Microsoft COM+ Team Mon Tue Wed Thur Fri 9: 00 COM+ Greg Hope Architect Microsoft COM+ Team Mon Tue Wed Thur Fri 9: 00 Overview TP mons Log Files &Buffers B-tree 11: 00 Faults Lock Theory Res. Mgr COM+ Access Paths 1: 30 Tolerance Lock Techniq CICS & Inet Corba Groupware 3: 30 T Models Queues Adv TM Replication Benchmark 7: 00 Party Workflow Cyberbrick Party 8/5/99 WICS: COM+ 1

Agenda • Where we’ve been – COM, OLE, Active. X Controls, MTS, Win. DNA Agenda • Where we’ve been – COM, OLE, Active. X Controls, MTS, Win. DNA • Where we are – – – • COM+ 1. 0, Windows 2000 Attribute based programming model New and better services Where we’re going – Web Computing – Appliance Computing – Simplicity and Reliability 8/5/99 WICS: COM+ 2

Microsoft: COM+ Inside Linking and Embedding Automation Active. X Controls Authenticode DCOM MTS Component Microsoft: COM+ Inside Linking and Embedding Automation Active. X Controls Authenticode DCOM MTS Component Services 8/5/99 WICS: COM+ 3

Tools: COM+ Inside Web Developer Application Developer System Developer Content Developer Borland Latte Adobe Tools: COM+ Inside Web Developer Application Developer System Developer Content Developer Borland Latte Adobe Page. Maker Macromedia Director 8/5/99 Net. Objects Fusion Soft. Quad Hot. Metal Pro Borland Delphi Power. Soft Power. Builder Power. Soft Net. Impact Borland Intrabuilder WICS: COM+ 4

COM+ Worlds Most Successful Object Model • Strong technical features – Binary standard, language COM+ Worlds Most Successful Object Model • Strong technical features – Binary standard, language neutral, dynamic discovery • Proven flexible and adaptable – OLE, Compound Documents, Active. X Controls, MTS – Used on >200 M systems world-wide • Widespread tool and language support – > 3 M developers – Visual Studio and third parties • Thriving component marketplace – Active. X Controls 8/5/99 WICS: COM+ 5

Windows DNA A comprehensive platform scaling from the department to the Internet Databases Legacy Windows DNA A comprehensive platform scaling from the department to the Internet Databases Legacy Systems External Applications Thin Client Rich Client “How you gather, manage and use information will determine whether you win or lose. ” Bill Gates, Business @ the Speed of Thought lose. 8/5/99 WICS: COM+ 6

PC Week Labs Benchmark “It's clear the company's IIS (Internet Information Server) Web server PC Week Labs Benchmark “It's clear the company's IIS (Internet Information Server) Web server and MTS (Microsoft Transaction Server) transaction monitor, both included with the Windows NT 4. 0 operating system, are fast enough for any business on earth. ” (http: //www. zdnet. com/pcweek/stories/news/0, 4153, 409380, 00. html) 8/5/99 WICS: COM+ 7

Performance: IIS on COM+/NT 5 is up to 6 x faster than IIS on Performance: IIS on COM+/NT 5 is up to 6 x faster than IIS on MTS/NT 4 (* beta results) 8/5/99 WICS: COM+ 8

TPC-C: COM+ and SQL Server 8/5/99 WICS: COM+ 9 TPC-C: COM+ and SQL Server 8/5/99 WICS: COM+ 9

COM+ S E R V I C E S 8/5/99 COM R U N COM+ S E R V I C E S 8/5/99 COM R U N Administration Servers Transactions Security Queuing Events Clusters IMDB T I M E Data-types Self Describing Dynamic Invocation “Leak-proof” Memory Context Interception Tools Developers Ubiquity Market Multi-Language Discovery WICS: COM+ 10

COM+: Incremental, Additive Investment 1992 1996 1997 COM (Win 3. 1) COM (NT 4) COM+: Incremental, Additive Investment 1992 1996 1997 COM (Win 3. 1) COM (NT 4) COM/MTS (NT 4 OP) OLE Remoting Cmpd Docs Security Automation Active. X Controls Servers Transactions Administration 1999 (B 3 now) COM+ 1. 0 (Win 2000) Integrated and Enhanced Queuing Events Load Balancing IMDB 8/5/99 WICS: COM+ 11

Programming Model Interface, Attributes, Context IUnknown Context Attributes Client 8/5/99 Server WICS: COM+ 12 Programming Model Interface, Attributes, Context IUnknown Context Attributes Client 8/5/99 Server WICS: COM+ 12

Programming Model Implementation • Attributes determine Context – – Metadata accessed via Catalog interfaces Programming Model Implementation • Attributes determine Context – – Metadata accessed via Catalog interfaces Stored in Component Library Integrated with DS / MSI / Registry Client negotiation via monikers • Context determines Intercepters • Intercepter implements attribute semantics Client Interceptors Server Context Attributes 8/5/99 WICS: COM+ Catalog 13

Activators Intercepting Object Creation Machine Activators Process Activators Context Activators Client Process Server Context Activators Intercepting Object Creation Machine Activators Process Activators Context Activators Client Process Server Context A 8/5/99 WICS: COM+ B 14

Policies Intercepting Method Invocation Context C 2 Context C 1 Proxy Stub (Cross Apartment Policies Intercepting Method Invocation Context C 2 Context C 1 Proxy Stub (Cross Apartment or Process) A B Client Side Policies Server Side Policies Call, Return 8/5/99 Pass Buffer WICS: COM+ (Same Apartment) Enter, Leave 15

Example: Queued Components Client Server p. Book = new [Queued] Book; p. Book. Order(n. Example: Queued Components Client Server p. Book = new [Queued] Book; p. Book. Order(n. Quantity); [Queueable] Class Book { public void Order(int n. Amount) {…} } Client Recorder MSMQ Player Server Queued Queueable Catalog 8/5/99 WICS: COM+ 16

Example: Automatic Transactions Client p. Book = new Book; p. Book. Order(n. Quantity); Client Example: Automatic Transactions Client p. Book = new Book; p. Book. Order(n. Quantity); Client Server [Transacted] Class Book { public void Order(int n. Amount) {…} } Transaction DTC 8/5/99 WICS: COM+ Server Data 17

Example: Component Load Balancing Client Server p. Book = new Book; p. Book. Order(n. Example: Component Load Balancing Client Server p. Book = new Book; p. Book. Order(n. Quantity); [Load. Balanceable] Class Book { public void Order(int n. Amount) {…} } Client Router Server Application Cluster Server Response Time Tracker 8/5/99 WICS: COM+ 18

Performance: Load Balancing Near Linear Scaling (* beta results) 8/5/99 WICS: COM+ 19 Performance: Load Balancing Near Linear Scaling (* beta results) 8/5/99 WICS: COM+ 19

Example: Object Pooling Client p. Book = new Book; p. Book. Order(n. Quantity); Client Example: Object Pooling Client p. Book = new Book; p. Book. Order(n. Quantity); Client Server [Poolable] Class Book { Public void Order(int n. Amount) {…} } Pooler Server 8/5/99 WICS: COM+ 20

Performance: Object Pooling (* beta results) 8/5/99 WICS: COM+ 21 Performance: Object Pooling (* beta results) 8/5/99 WICS: COM+ 21

Performance: Object Pooling Governors Give Same Throughput with less resources (* beta results) 8/5/99 Performance: Object Pooling Governors Give Same Throughput with less resources (* beta results) 8/5/99 WICS: COM+ 22

Web COM+: Taming Disruptive Forces Appliances Simplicity Reliability “. . . products that do Web COM+: Taming Disruptive Forces Appliances Simplicity Reliability “. . . products that do not appear to be useful to our customers today (that is disruptive technologies) may squarely address their needs tomorrow. ” Clayton M. Christensen The Innovators Dilema 8/5/99 WICS: COM+ 23

Web Computing Disruptive Technology? “overperforming” Win 98/NT Win 3. x MS-DOS Mainframe Computing Era Web Computing Disruptive Technology? “overperforming” Win 98/NT Win 3. x MS-DOS Mainframe Computing Era 8/5/99 Personal Computing Era Web 1. 0 “good enough” Web Computing Era WICS: COM+ 24

Today’s “Good Enough” Web (Not!) • Hourglasses – World Wide Wait • User state Today’s “Good Enough” Web (Not!) • Hourglasses – World Wide Wait • User state is tied to a machine (Cookies, Wallet, Preferences) – Multiple systems, multiple users • Unreliable parts (Leaks, hangs, reboots, network) – Duplicate or missing orders – Unavailability/data corruption • Clients are underutilized – Lowest common denominator effect • Servers are hard Dunce – Handling concurrent requests – State management 8/5/99 WICS: COM+ 25

Win. DNA on the Web • Connecting Windows Clients and Windows Servers via Web Win. DNA on the Web • Connecting Windows Clients and Windows Servers via Web (HTTP) – Richest user experience (Adaptive UI) • Consumers – Web Lifestyle applications (ecomm, games, calendar ) • Business – Web Enabled personal productivity (collaboration, add-ons) – Web Native (ecomm, games) – Web Access (departmental, corporate LOB apps) • Service Providers – ISP’s, Web Farms • Simplicity – via reduction, consistency, unification • Reliability – self-everything, tamper-proof • Scalability – up, down, out 8/5/99 WICS: COM+ 26

N-tier: Web Computing Model • Rendering - Interacts with User • Presentation - Code N-tier: Web Computing Model • Rendering - Interacts with User • Presentation - Code that binds to rendering – May vary depending on type/functionality of client • Client Logic - Client code that talks to the Server – May run on client, personal tier, or server – May have access to read-only snapshot data (catalog) – May manage per-client writable data (shopping cart) • Server Logic - Server code that runs the business Data – Direct access to business data Reach Catalog Rendering 8/5/99 Presentation Cart Client Logic WICS: COM+ Rich • Database - Shared, Persistent store Order Server Logic 27

Appliance Computing: Disruptive Technology? Windows 98, Windows 2000 Auto. PC Web. TV Gaming Phone Appliance Computing: Disruptive Technology? Windows 98, Windows 2000 Auto. PC Web. TV Gaming Phone Smart objects 8/5/99 e. Books “Why good products can fail, the Personal Computer is so complex, and Information Appliances are the solution” Donald A. Norman, The Invisible Computer WICS: COM+ 28

Public networks PSTN, Internet Home Networking Internal Details Are Complex Network camera Home. PNA Public networks PSTN, Internet Home Networking Internal Details Are Complex Network camera Home. PNA Phone Line Network Power Line Network Hub Web phone Printer IEEE 1394 Home. RF Communications and control 8/5/99 Camera Entertainment Center WICS: COM+ Scanner 29

Public networks PSTN, Internet 8/5/99 What Users & Apps Must See Consistent Objects Everywhere Public networks PSTN, Internet 8/5/99 What Users & Apps Must See Consistent Objects Everywhere WICS: COM+ 30

Getting Started • • Win. DNA COM+ Windows 2000 Tools 8/5/99 www. microsoft. com/dna Getting Started • • Win. DNA COM+ Windows 2000 Tools 8/5/99 www. microsoft. com/dna www. microsoft. com/complus www. microsoft. com/windows msdn. microsoft. com/vstudio WICS: COM+ 31

8/5/99 WICS: COM+ 32 8/5/99 WICS: COM+ 32