Option 1: The Synchronous and Stateless Model

Option 1: The Synchronous and Stateless Model

The smallest and simplest configuration is a single server operating in a stateless mode. Although state is implied in many MAGIC Services operations, the state need not be maintained on the server but can be held on the client and forwarded as needed in the SOAP header. Peer-to-peer implementations most often follow the synchronous and stateless model. Synchronous operation also avoids the complexity associated with asynchronous communications between client and server, which introduce additional state requirements on both client and server, as well as extra complexity in implementing the trigger mechanisms on the server side.

A starting configuration can be a single server running Windows 2000 (or even Windows CE) and IIS, MSMQ, SQL Server 2000, and ISA Server. The firewall could be a third party hardware solution or else another server with ISA server. In these chapters, we will assume ISA server running on a single computer (Standard Edition) or running in an array across several computers for load balancing and redundancy (Enterprise Edition)

Most of the technology involved in this option is also used in the other options as well. Therefore, this option works well if you want to start off small, and then scale up to a more enterprise-level configuration, as described in our next solution.

In the synchronous solution, the server computer can be stateless. The client computer implementation is responsible for selecting those addition parameters needed to convey proper context to the server. This information is placed in the SOAP header and the server computer extracts that information before processing the request in the SOAP body. This solution allows maximum server scalability and minimum complexity because no state information must be maintained. Complicated timeout protocols are also avoided. The Synchronous solution is a good choice when the network node in the server role is inherently not very powerful as in peer-to-peer configurations.

This model provides the least scalability, availablity, and redundancy. It is the simplest to implement and administer.

Previous  Next


Microsoft Corporation - Microsoft. Net Server Solutions for the Enterprise
Microsoft .NET Server Solutions for the Enterprise
ISBN: 0735615691
EAN: 2147483647
Year: 2002
Pages: 483

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net