SlideShare a Scribd company logo
L7 LB

Ex

Ex

Ex

CAS

MBX

Ex

HT

MBX

C

C

C

H H H

SAN

•
•

Role differentiation through
manual configuration
Backups and hardware
solutions for “reliability”

2000/2003

•

•

Separate roles for
deployment &
segmentation
Support cheaper storage

2007

•
•
•

Separate HA solution per role
Introduction of the DAG
Support for Hybrid
deployments

2010
Forefront Online
Protection for
Exchange

Internal Network

E

Phone system
(PBX or VOIP)

H

External
SMTP
servers

M

U

Mobile phone

Web
browser

Layer 7 LB

C

Outlook (remote
user)
Outlook (local user)

Line of business application
E
Exchange 2010 SP3
Exchange 2007 SP3 RU10

C C

H

U

M
E
Exchange 2010

C

M

C

M
Building Blocks

efficiency
simplicity
inter-op
isolation
EWS protocol
MRS proxy
protocol
SMTP

Protocols,
Server Agents

MRS
MRSProxy

EWS

Assistants

RPC CA

Business Logic

Transport

MailItem

XSO
CTS

Storage

Custom WS

E2010

Banned

ESE

Server1 (Vn)

File system

EWS

Assistants

RPC CA

MailItem

XSO
CTS

Other APIs

Content
index

Store

MRS
MRSProxy

Transport

Other APIs

Content
index

Store
ESE

Server2 (Vn+1)

File system
Exchange 2010
Architecture

L7 LB
Client Access
Hub Transport,
Unified Messaging

Mailbox

Exchange 2013
Architecture

L4 LB

AuthN, Proxy,
Re-direct

Client Access

AuthN, Proxy,
Re-direct

Protocols, API,
Biz-logic

Assistants, Store, CI

Protocols, Assistants,
API, Biz-logic
Store, CI

Mailbox
Outlook Web App

Outlook

EAS

EAC

PowerShell

POP/IMAP

SMTP

SIP

Load Balancer
IIS
HTTP Proxy

Client
Access

POP
,
IMAP

HTTP

Redirect

SMTP

UM
SMTP

POP IMAP
,

IIS
RpcProxy

RPS

RPC CA

OWA, EAS, EWS,
ECP OAB
,

POP
IMAP

Transport

Mailbox
MDB

MailQ

UM

SIP + RTP
Sue

mail.contoso.com

(somewhere in NA)

DNS Resolution
Round-Robin between # of VIPs

VIP #1

DAG

Sue

DNS Resolution via Geo-DNS
Round-Robin between # of VIPs

VIP #2

VIP #3

DAG

(traveling
in APAC)

VIP #4
External SMTP

External SMTP

Front End Transport service
SMTP Receive

SMTP Send

Protocol
Agents
Hub Selector

SMTP from MBX 2013

SMTP to MBX 2013
Element

Exchange 2007

Exchange 2010/2013

Physical Contiguity
(ESE)

Poor physical contiguity of leaf pages.
Hence many, small-sized IOs (1 for
each page)

Excellent physical contiguity of leaf
pages. So fewer, large-sized IOs,
spanning N pages

Logical Contiguity
(Store)

Headers for each folder kept in
separate table. So many, small-sized
IOs spread over many tables

Single message table for an entire mailbox.
(Property blobs used to store actual message
properties, large blob in LV)
Several messages/page, fewer large IOs to
retrieve message properties in view)

Temporal Contiguity
(View)

All views and indexes updated each
time a mail is delivered. So many,
small-sized IOs spread over time

Views and indexes updated only when
they are accessed by user. So fewer,
large-sized IOs are done together
E14

E15

0.70
0.60
0.50
0.40

0.65

0.30
0.20
0.10

0.16

0.00

4
3.5
3
2.5
2
1.5
1
0.5
0

LoadGen Simulation – 10 DBs/1000 users
Two profiles: Online and Cached (Default/Optimized)

Perf gains are not free – increase in CPU and memory

RPC
Average
Latency

DB IOPS/Mailbox

Mcycles
per RPC
packet

Store
Memory
per
Mailbox
(MB)

Online Mode | Cached Mode
•
•
•
•

48 | 76% reduction in disk IOPS
18 | 41% reduction in Average RPC Latency
17 | 34% increase in CPU per RPC processed
~4x increase in Store memory overhead

CPU increase is factor of optimizing for two-socket servers
and moving to multi-process architecture
Enables us to scale out using multi-core processors
without having to cross processor bridge to access
shared L2 cache
Some CPU overhead comes from using managed code
Memory increase is also factor of multi-processor
architecture
Most of the memory is in small and large object heaps
in .NET primarily used for object allocation and cleanup
DB IOPS/Mailbox
1
0.8

~95.5%
Reduction!

0.6
0.4
0.2
0
Exchange 2003

Exchange 2007

Exchange 2010

IOPS/Mailbox

Exchange 2013
SMTP from FET or the Mailbox Transport
service on other servers

SMTP to FET or Mailbox Transport
service on other servers

Transport Service

SMTP Receive
Protocol
Agents

Categorizer
SMTP Send

Routing
Agents
Submission Queue

Delivery Queue

Pickup/Replay
Directory

SMTP from Mailbox Transport
Submission service

SMTP to Mailbox Transport Delivery
service
SMTP from Transport Service

SMTP to Transport Service

Mailbox Transport service
SMTP Receive

SMTP Send
Hub Selector

Store Driver Deliver
Store Driver Submit

Mailbox
Deliver Agents

Mailbox
Assistants

Mailbox Transport Delivery

Mailbox
Submit
Agents

Mailbox Transport Submission

MAPI

MAPI

Mailbox Database
Scott Schnoll
Principal Technical Writer
scott.schnoll@microsoft.com
http://aka.ms/schnoll
schnoll

More Related Content

What's hot

Windows Server 2012 r2
Windows Server 2012 r2Windows Server 2012 r2
Windows Server 2012 r2
Khalid Hussain
 
What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2
Christopher Keyaert
 

What's hot (19)

Plongée en eaux profondes dans l'architecture du nouvel Exchange 2013
Plongée en eaux profondes dans l'architecture du nouvel Exchange 2013Plongée en eaux profondes dans l'architecture du nouvel Exchange 2013
Plongée en eaux profondes dans l'architecture du nouvel Exchange 2013
 
Exchange 2013
Exchange 2013Exchange 2013
Exchange 2013
 
Advaced training-wso2-esb
Advaced training-wso2-esbAdvaced training-wso2-esb
Advaced training-wso2-esb
 
Wso2 integration platform deep dive eu con 2016
Wso2 integration platform deep dive   eu con 2016Wso2 integration platform deep dive   eu con 2016
Wso2 integration platform deep dive eu con 2016
 
Wso2 con eu 2016 an introduction to the wso2 integration platform by chanak...
Wso2 con eu 2016   an introduction to the wso2 integration platform by chanak...Wso2 con eu 2016   an introduction to the wso2 integration platform by chanak...
Wso2 con eu 2016 an introduction to the wso2 integration platform by chanak...
 
Overview of Microsoft Exchange Server
Overview of Microsoft Exchange ServerOverview of Microsoft Exchange Server
Overview of Microsoft Exchange Server
 
Biztalk ESB Toolkit Demos
Biztalk ESB Toolkit DemosBiztalk ESB Toolkit Demos
Biztalk ESB Toolkit Demos
 
Exchange Server 2013 Architecture Deep Dive, Part 2
Exchange Server 2013 Architecture Deep Dive, Part 2 Exchange Server 2013 Architecture Deep Dive, Part 2
Exchange Server 2013 Architecture Deep Dive, Part 2
 
Ch07 disaster recovery
Ch07 disaster recoveryCh07 disaster recovery
Ch07 disaster recovery
 
SoCal User Group Meeting 2013-05-06
SoCal User Group Meeting 2013-05-06SoCal User Group Meeting 2013-05-06
SoCal User Group Meeting 2013-05-06
 
Ch05 high availability
Ch05 high availabilityCh05 high availability
Ch05 high availability
 
Exchange 2010 High Availability And Storage
Exchange 2010 High Availability And StorageExchange 2010 High Availability And Storage
Exchange 2010 High Availability And Storage
 
Ch06 edge transport
Ch06 edge transportCh06 edge transport
Ch06 edge transport
 
Biztalk ESB Toolkit Introduction
Biztalk ESB Toolkit IntroductionBiztalk ESB Toolkit Introduction
Biztalk ESB Toolkit Introduction
 
24 Hours Of Exchange Server 2007 ( Part 7 Of 24)
24  Hours Of  Exchange  Server 2007 ( Part 7 Of 24)24  Hours Of  Exchange  Server 2007 ( Part 7 Of 24)
24 Hours Of Exchange Server 2007 ( Part 7 Of 24)
 
Windows Server 2012 r2
Windows Server 2012 r2Windows Server 2012 r2
Windows Server 2012 r2
 
UNC309 - Getting the Most out of Microsoft Exchange Server 2010: Performance ...
UNC309 - Getting the Most out of Microsoft Exchange Server 2010: Performance ...UNC309 - Getting the Most out of Microsoft Exchange Server 2010: Performance ...
UNC309 - Getting the Most out of Microsoft Exchange Server 2010: Performance ...
 
What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2
 
WebSphere Message Broker Training | IBM WebSphere Message Broker Online Training
WebSphere Message Broker Training | IBM WebSphere Message Broker Online TrainingWebSphere Message Broker Training | IBM WebSphere Message Broker Online Training
WebSphere Message Broker Training | IBM WebSphere Message Broker Online Training
 

Similar to Exl393 exchange 2013 architecture schnoll (rm221)

Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...
Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...
Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...
Ceph Community
 
Introduction to NVMe Over Fabrics-V3R
Introduction to NVMe Over Fabrics-V3RIntroduction to NVMe Over Fabrics-V3R
Introduction to NVMe Over Fabrics-V3R
Simon Huang
 
ClickOS_EE80777777777777777777777777777.pptx
ClickOS_EE80777777777777777777777777777.pptxClickOS_EE80777777777777777777777777777.pptx
ClickOS_EE80777777777777777777777777777.pptx
BiHongPhc
 
SharePoint 2010 Architecture - TechEd Brasil 2010
SharePoint 2010 Architecture - TechEd Brasil 2010SharePoint 2010 Architecture - TechEd Brasil 2010
SharePoint 2010 Architecture - TechEd Brasil 2010
Michael Noel
 
Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...
Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...
Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...
Ceph Community
 
OOW09 EBS Tech Essentials
OOW09 EBS Tech EssentialsOOW09 EBS Tech Essentials
OOW09 EBS Tech Essentials
jucaab
 
High Performance Communication for Oracle using InfiniBand
High Performance Communication for Oracle using InfiniBandHigh Performance Communication for Oracle using InfiniBand
High Performance Communication for Oracle using InfiniBand
webhostingguy
 
Creating Competitive Advantage by Revolutionizing I/O
Creating Competitive Advantage by Revolutionizing I/OCreating Competitive Advantage by Revolutionizing I/O
Creating Competitive Advantage by Revolutionizing I/O
Emulex Corporation
 

Similar to Exl393 exchange 2013 architecture schnoll (rm221) (20)

Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...
Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...
Ceph Day Berlin: Deploying Flash Storage for Ceph without Compromising Perfor...
 
Ceph Day SF 2015 - Deploying flash storage for Ceph without compromising perf...
Ceph Day SF 2015 - Deploying flash storage for Ceph without compromising perf...Ceph Day SF 2015 - Deploying flash storage for Ceph without compromising perf...
Ceph Day SF 2015 - Deploying flash storage for Ceph without compromising perf...
 
SDN/OpenFlow #lspe
SDN/OpenFlow #lspeSDN/OpenFlow #lspe
SDN/OpenFlow #lspe
 
Optimize Your It Environment With An Hp Blade System Solution
Optimize Your It Environment With An Hp Blade System SolutionOptimize Your It Environment With An Hp Blade System Solution
Optimize Your It Environment With An Hp Blade System Solution
 
Introduction to NVMe Over Fabrics-V3R
Introduction to NVMe Over Fabrics-V3RIntroduction to NVMe Over Fabrics-V3R
Introduction to NVMe Over Fabrics-V3R
 
Hpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago admHpe service virtualization 3.8 what's new chicago adm
Hpe service virtualization 3.8 what's new chicago adm
 
Converged Networks: FCoE, iSCSI and the Future of Storage Networking
Converged Networks: FCoE, iSCSI and the Future of Storage NetworkingConverged Networks: FCoE, iSCSI and the Future of Storage Networking
Converged Networks: FCoE, iSCSI and the Future of Storage Networking
 
ClickOS_EE80777777777777777777777777777.pptx
ClickOS_EE80777777777777777777777777777.pptxClickOS_EE80777777777777777777777777777.pptx
ClickOS_EE80777777777777777777777777777.pptx
 
SharePoint 2010 Architecture - TechEd Brasil 2010
SharePoint 2010 Architecture - TechEd Brasil 2010SharePoint 2010 Architecture - TechEd Brasil 2010
SharePoint 2010 Architecture - TechEd Brasil 2010
 
LINE's Infrastructure Platform: How It Scales Massive Services and Maintains ...
LINE's Infrastructure Platform: How It Scales Massive Services and Maintains ...LINE's Infrastructure Platform: How It Scales Massive Services and Maintains ...
LINE's Infrastructure Platform: How It Scales Massive Services and Maintains ...
 
Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...
Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...
Ceph Day Chicago - Deploying flash storage for Ceph without compromising perf...
 
Red hat Enterprise Linux 6.4 for IBM System z Technical Highlights
Red hat Enterprise Linux 6.4 for IBM System z Technical HighlightsRed hat Enterprise Linux 6.4 for IBM System z Technical Highlights
Red hat Enterprise Linux 6.4 for IBM System z Technical Highlights
 
Ceph Day Amsterdam 2015 - Deploying flash storage for Ceph without compromisi...
Ceph Day Amsterdam 2015 - Deploying flash storage for Ceph without compromisi...Ceph Day Amsterdam 2015 - Deploying flash storage for Ceph without compromisi...
Ceph Day Amsterdam 2015 - Deploying flash storage for Ceph without compromisi...
 
OOW09 EBS Tech Essentials
OOW09 EBS Tech EssentialsOOW09 EBS Tech Essentials
OOW09 EBS Tech Essentials
 
Fibre Channel over Ethernet (FCoE), iSCSI and the Converged Data Center
Fibre Channel over Ethernet (FCoE), iSCSI and the Converged Data CenterFibre Channel over Ethernet (FCoE), iSCSI and the Converged Data Center
Fibre Channel over Ethernet (FCoE), iSCSI and the Converged Data Center
 
"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011
"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011
"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011
 
Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph
Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph
Ceph Day Seoul - AFCeph: SKT Scale Out Storage Ceph
 
High Performance Communication for Oracle using InfiniBand
High Performance Communication for Oracle using InfiniBandHigh Performance Communication for Oracle using InfiniBand
High Performance Communication for Oracle using InfiniBand
 
Creating Competitive Advantage by Revolutionizing I/O
Creating Competitive Advantage by Revolutionizing I/OCreating Competitive Advantage by Revolutionizing I/O
Creating Competitive Advantage by Revolutionizing I/O
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
 

Recently uploaded

Recently uploaded (20)

Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdf
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 

Exl393 exchange 2013 architecture schnoll (rm221)

  • 1.
  • 2.
  • 3.
  • 4. L7 LB Ex Ex Ex CAS MBX Ex HT MBX C C C H H H SAN • • Role differentiation through manual configuration Backups and hardware solutions for “reliability” 2000/2003 • • Separate roles for deployment & segmentation Support cheaper storage 2007 • • • Separate HA solution per role Introduction of the DAG Support for Hybrid deployments 2010
  • 5. Forefront Online Protection for Exchange Internal Network E Phone system (PBX or VOIP) H External SMTP servers M U Mobile phone Web browser Layer 7 LB C Outlook (remote user) Outlook (local user) Line of business application
  • 6.
  • 7.
  • 8. E Exchange 2010 SP3 Exchange 2007 SP3 RU10 C C H U M
  • 9.
  • 10.
  • 12.
  • 14. EWS protocol MRS proxy protocol SMTP Protocols, Server Agents MRS MRSProxy EWS Assistants RPC CA Business Logic Transport MailItem XSO CTS Storage Custom WS E2010 Banned ESE Server1 (Vn) File system EWS Assistants RPC CA MailItem XSO CTS Other APIs Content index Store MRS MRSProxy Transport Other APIs Content index Store ESE Server2 (Vn+1) File system
  • 15. Exchange 2010 Architecture L7 LB Client Access Hub Transport, Unified Messaging Mailbox Exchange 2013 Architecture L4 LB AuthN, Proxy, Re-direct Client Access AuthN, Proxy, Re-direct Protocols, API, Biz-logic Assistants, Store, CI Protocols, Assistants, API, Biz-logic Store, CI Mailbox
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. Outlook Web App Outlook EAS EAC PowerShell POP/IMAP SMTP SIP Load Balancer IIS HTTP Proxy Client Access POP , IMAP HTTP Redirect SMTP UM SMTP POP IMAP , IIS RpcProxy RPS RPC CA OWA, EAS, EWS, ECP OAB , POP IMAP Transport Mailbox MDB MailQ UM SIP + RTP
  • 21.
  • 22. Sue mail.contoso.com (somewhere in NA) DNS Resolution Round-Robin between # of VIPs VIP #1 DAG Sue DNS Resolution via Geo-DNS Round-Robin between # of VIPs VIP #2 VIP #3 DAG (traveling in APAC) VIP #4
  • 23.
  • 24.
  • 25.
  • 26. External SMTP External SMTP Front End Transport service SMTP Receive SMTP Send Protocol Agents Hub Selector SMTP from MBX 2013 SMTP to MBX 2013
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40. Element Exchange 2007 Exchange 2010/2013 Physical Contiguity (ESE) Poor physical contiguity of leaf pages. Hence many, small-sized IOs (1 for each page) Excellent physical contiguity of leaf pages. So fewer, large-sized IOs, spanning N pages Logical Contiguity (Store) Headers for each folder kept in separate table. So many, small-sized IOs spread over many tables Single message table for an entire mailbox. (Property blobs used to store actual message properties, large blob in LV) Several messages/page, fewer large IOs to retrieve message properties in view) Temporal Contiguity (View) All views and indexes updated each time a mail is delivered. So many, small-sized IOs spread over time Views and indexes updated only when they are accessed by user. So fewer, large-sized IOs are done together
  • 41. E14 E15 0.70 0.60 0.50 0.40 0.65 0.30 0.20 0.10 0.16 0.00 4 3.5 3 2.5 2 1.5 1 0.5 0 LoadGen Simulation – 10 DBs/1000 users Two profiles: Online and Cached (Default/Optimized) Perf gains are not free – increase in CPU and memory RPC Average Latency DB IOPS/Mailbox Mcycles per RPC packet Store Memory per Mailbox (MB) Online Mode | Cached Mode • • • • 48 | 76% reduction in disk IOPS 18 | 41% reduction in Average RPC Latency 17 | 34% increase in CPU per RPC processed ~4x increase in Store memory overhead CPU increase is factor of optimizing for two-socket servers and moving to multi-process architecture Enables us to scale out using multi-core processors without having to cross processor bridge to access shared L2 cache Some CPU overhead comes from using managed code Memory increase is also factor of multi-processor architecture Most of the memory is in small and large object heaps in .NET primarily used for object allocation and cleanup
  • 43.
  • 44.
  • 45.
  • 46.
  • 47. SMTP from FET or the Mailbox Transport service on other servers SMTP to FET or Mailbox Transport service on other servers Transport Service SMTP Receive Protocol Agents Categorizer SMTP Send Routing Agents Submission Queue Delivery Queue Pickup/Replay Directory SMTP from Mailbox Transport Submission service SMTP to Mailbox Transport Delivery service
  • 48. SMTP from Transport Service SMTP to Transport Service Mailbox Transport service SMTP Receive SMTP Send Hub Selector Store Driver Deliver Store Driver Submit Mailbox Deliver Agents Mailbox Assistants Mailbox Transport Delivery Mailbox Submit Agents Mailbox Transport Submission MAPI MAPI Mailbox Database
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56. Scott Schnoll Principal Technical Writer scott.schnoll@microsoft.com http://aka.ms/schnoll schnoll