[WINDOWS]EWS CAS to CAS Request Proxying

Discussion in 'Windows/*nix' started by FSOwner, July 20, 2008.

  1. FSOwner

    FSOwner FS Owner

    In Exchange Server 2007 SP1, the EWS team added a new feature called EWS Request Proxying.В* It is sometimes also referred to as EWS Proxy or HTTP Proxy.В* Not much has been said about this feature, but if you care about performance, it is important to understand why it is there, why you want to avoid it if at all possible, and if you cannot avoid it, why it is important to have.</p> What is it?

    EWS Request Proxying only comes into play in Exchange installations that have multiple Active Directory sites.В* If you have a single AD site, you can stop reading this post right now.В* Now that our readership has become smaller, let's continue.В* Active Directory sites are typically created to define a boundary of highly connected computers and devices.В* This implies that accessing resources cross-site is more (potentially much more) expensive than accessing resources within a single site.В* EWS lives on a Client Access Server (CAS) within a specific site.В* If the mailbox that EWS is trying to communicate with resides on a mailbox server in a different Active Directory site, the ensuing RPC calls between EWS and the mailbox server will be made across a potentially expensive cross-site link.В* Depending on the EWS operation that is being performed, there may be *many* resulting cross-site RPC calls.В*

    To combat this potentially expensive RPC chattiness, when EWS encounters a request that needs to be serviced in another AD Site, it will actually package the entire request up and make an EWS request to a CAS server in the destination site rather than face cross site RPC calls.В* The initial CAS box is proxying the inbound HTTP request to a more appropriate CAS server, which is why you will sometimes hear this feature referred to as "HTTP Proxy". In Exchange 2007 SP1, EWS determines the "best CAS" to proxy to by scoring all the items in the request and determining which site can service the most items.В* The downside of this is that IF your request needs to access mailboxes in multiple AD sites, you WILL encounter cross site RPC calls since EWS does not "split up" requests.


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice