A peek behind the scenes at Hotmail

z3r010

Administrator
Staff member
Local time
5:08 PM
Messages
53,536
Location
Douglas, Isle of Man
Hi, my name is Arthur de Haan and I am responsible for Test and System Engineering in Windows Live. To kick things off, I’d like to give you a look behind the scenes at Hotmail, and tell you more about what it takes to build, deploy and run the Windows Live Hotmail service on such a massive global scale.

Hosting your mail and data (and our own data!) on our servers is a big responsibility and we take quality, performance, and reliability very seriously. We make significant investments in engineering and infrastructure to help keep Hotmail up and running 24 hours a day, day in and day out, year after year. You will rarely hear about these efforts – you will only read about them on the rare occasion that something goes wrong and our service has run into an issue,.

Hotmail is a gigantic service in all dimensions. Here are some of the highlights:


  • We are a worldwide service, delivering localized versions of Hotmail to 59 regional markets, in 36 languages.
  • We host well over 1.3 billion inboxes (some users have multiple inboxes)
  • Over 350 million people are actively using Hotmail on a monthly basis (source: comScore, August 2009).
  • We handle over 3 billion messages a day and filter out over 1 billion spam messages - mail that you never see in your inbox.
  • We are growing storage at over 2 petabytes a month (a petabyte is ~1 million gigabytes or ~1000 terabytes).
  • We currently have over 155 petabytes of storage deployed (70% of storage is taken up with attachments, typically photos).
  • We’re the largest SQL Server 2008 deployment in the world (we monitor and manage many thousands of SQL servers).
You can imagine that the Hotmail user interface you see in the browser is only the tip of the iceberg – a lot of innovations happen beneath the surface. In this post I will give a high level overview of how the system is architected. We will do deeper dives into some specific features in later posts.

Architecture

Hotmail and our other Windows Live services are hosted in multiple datacenters around the world. Our Hotmail service is organized in logical “scale units,” or clusters. Furthermore, Hotmail has infrastructure that is shared between the clusters in each datacenter:


  • Servers to handle incoming and outgoing mail.
  • Spam filters (we will talk more about spam in a future blog post).
  • Data storage and aggregation from our service health monitoring systems.
  • Monitoring and incident response infrastructure.
  • Infrastructure to manage automated code deployment and configuration updates.
A cluster hosts millions of users (how many depends on the age of the hardware) and is a self-contained set of servers including:


  • Frontend servers – Servers that that check for viruses and host the code that talks to your browser or mail client, using protocols such as POP3 and DeltaSync.
  • Backend servers – SQL and file storage servers, spam filters, storage of monitoring- and spam data, directory agents and servers handling inbound and outbound mail.
  • Load balancers – Hardware and software used to distribute the load more evenly for faster performance.
Preventing outages and data loss is our top priority and we take utmost care to keep them from happening. We’ve designed our service to handle failure –our assumption is that anything that can fail will do so eventually. We do have hardware failures—with hundreds of thousands of hard drives in use, some are bound to fail. Fortunately, because of the architecture and failure management processes we have in place, customers rarely experience any impact from these failures.

Here are a few of the ways we keep failures contained:


  • Redundancy – We use a combination of SQL server storage arrays to host our data. We use active/passive failover technologies. This is a fancy way of saying that we have multiple servers and copies of your data that are constantly synchronized. If one server has a failure, another one is ready to take over in seconds. All in all we keep four copies of your data on multiple drives and servers to minimize the chance of data loss due to a hardware failure.
  • Another benefit of this architecture is that we can perform planned maintenance (such as deploying code updates or security patches) without downtime for you. Key pieces of our network gear are also duplicated to minimize the chance of network-related outages.
  • Monitoring – We have an elaborate system for monitoring hardware and software. Thousands of servers monitor service health, transactions (for example, sending an e-mail) and system performance for customers all over the world. Because we’re so large, we’re tracking performance and uptime metrics in aggregate as well as at the cluster level, and by geography. We do want to make sure that your individual experiences are reflected back to us, and not getting lost when we look at averages for the entire system. We care about every single user’s experience. We’ll talk more about performance and monitoring in a future post.
  • Response center – We have a round-the-clock response center team that watches over our global monitoring systems and takes action immediately when there is problem. We have an escalation process that can engage our engineering staff within a few minutes when needed.
Engineering process

I’ve talked a little bit about our architecture and steps we are taking to ensure uninterrupted service. No service is static however; in addition to growth due to usage, we do push out updates on a regular basis. So our engineering processes are just as important as our architecture to provide you with a great service. From patches to minor updates to major releases, we take a lot of precautions during our development and rollout process.

Testing and deployment – For every developer on our staff we have a test engineer who works hand in hand with him or her to give input on the design and specs, set up a test infrastructure, write and automate test cases for new features, and measure quality. When we talk about quality, we mean it in the broadest definition of the word: not just stability and reliability, but also ease of use, performance, security, accessibility (for customers with disabilities), privacy, scalability, and functionality in all browsers and clients that we support, worldwide. Given our scale, this is not an easy feat.

And because we’re a free service funded largely by advertising, we need to be highly efficient on an operational basis. So deployment, configuration, and maintenance of our systems are highly automated. Automation also reduces the risk of human error.

Code deployment and change management – We have thousands of servers in our test lab where we deploy and test code well before it goes live to our customers. In the datacenter we have some clusters reserved for testing “dogfood” and beta versions in the final stages of a project. We test every change in our labs, be it a code update, hardware change or security patch, before deploying it to customers.

After all the engineering teams have signed off on a release (including Test and System Engineering) we start gradually upgrading the clusters in the datacenter to push the changes out to customers worldwide. Typically we do this over a period of a few months – not only because it takes time to perform the upgrades without affecting customers with downtime, but it also allows us to watch and make sure there is no loss of quality and performance.

We can also turn individual features on or off. Sometimes we deploy updates but postpone or delay turning them on. In rare cases we have temporarily turned features off, say for security or performance reasons.

Conclusion

This should begin to give you a sense of the size and scope of the engineering that goes into delivering and maintaining the Hotmail service. We are committed to engineering excellence and continuous improvements of our services for you. We continue to learn as the service grows, and we take all your feedback seriously, so do leave me a comment with your thoughts and questions. I am passionate about our services and so are all the members of the Windows Live team – we may be engineers but we use the services ourselves, along with hundreds of millions of our customers.

Arthur de Haan
Director, Windows Live Test and System Engineering


aggbug.aspx

More...
 

My Computer My Computer

At a glance

Windows 11
Computer type
PC/Desktop
OS
Windows 11
As a loyal hotmail user, i never thought it was that big holy cow hotmail numbers are mind numbing:shock:
 

My Computer My Computer

At a glance

Windows 7 Ultimate X64Intel Core 2 Quad Q9650 3.0GHz (3.6GHz 24/7) ...8GB OCZ DDR3 PC3-14400 @ 1800MHz NVIDIA SLi-R...2XBFG GeForce GTX 280 OC Edition SLi'd
Computer Manufacturer/Model Number
custom of course...built by grimreaper
OS
Windows 7 Ultimate X64
CPU
Intel Core 2 Quad Q9650 3.0GHz (3.6GHz 24/7) maxed 4.05GHz
Motherboard
EVGA 790i Ultra SLi Model#132-CK-NF79-A1 BIOS P10
Memory
8GB OCZ DDR3 PC3-14400 @ 1800MHz NVIDIA SLi-Ready
Graphics Card(s)
2XBFG GeForce GTX 280 OC Edition SLi'd
Sound Card
SoundBlaster X-Fi Titanium Fatal1ty Pro Series
Monitor(s) Displays
Samsung 52" 1080P LCD HDTV (LN52B550)
Screen Resolution
1920X1080 @ 60Hz
Hard Drives
3xWestern Digital WD1001FALS Caviar Black 1TB Hard Drive(s) RAID 0 x2 encased in 3xMasscool KuFormula SHF1 HDD Cooler(s)
PSU
ThermalTake ToughPower 1200W P/N:W0133RU Modularized
Case
ThermalTake P/N: VH6000BWS Armor Full-Tower
Cooling
ThermalTake SpinQ P/N: P0466 CPU Cooler
Keyboard
Logitech cordless Y-RAJ56A piece of ****
Mouse
Logitech G7 Laser Cordless mouse black
Internet Speed
10 Mbps DL-1Mbps UL wirelessly DWA-552 extreme N
Other Info
1XSamsung DVD burner SH-S223Q/BEBN SATA
1XSamsung DVD burner SH-S223L/BEBN SATA
1XLG GGW-H20L Blu-Ray burner
4XCooler Master 120mm Blue LED SickleFlow 2000 RPM
1XBelkin UPS F6C1500TWRK) backup power supply
How comes I only get spam in my Hotmail account?
 

My Computer My Computer

At a glance

Windows 7 Ultimate SP1 64- bitIntel Core i7-3770K @3.50ghzKingston Technology 16GB (2x 8GB) 2133MHz DDR...EVGA GTX 670 4gb SC
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Ultimate SP1 64- bit
CPU
Intel Core i7-3770K @3.50ghz
Motherboard
EVGA Z77 FTW
Memory
Kingston Technology 16GB (2x 8GB) 2133MHz DDR3 Non-ECC
Graphics Card(s)
EVGA GTX 670 4gb SC
Sound Card
Nil
Monitor(s) Displays
Samsung 22"
Screen Resolution
1920 x 1080 60hz
Hard Drives
OCZ Vertex 4 SSD 128GB
SAMSUNG Spinpoint F3 HD502HJ 500GB 7200 RPM
PSU
Enermax Platinax EPM1000EWT Special OC Edition
Case
Cooler Master HAF Full Tower nVIDIA Edition
Cooling
CoolerMaster Hyper 212 Plus
Keyboard
HP Wireless Keyboard
Mouse
Corsair Vengeance M90
Internet Speed
20 Mb
Other Info
ASUS DRW-24B1ST/BLK/B/AS Black SATA 24X DVD Burner
Avid hotmail users! Liked the peak and yeah there are a lot of peeps using hotmail.
 

My Computer My Computer

At a glance

windows 7:)core2duo 68002gb ddr1nvidia 6800
Computer Manufacturer/Model Number
Myself
OS
windows 7:)
CPU
core2duo 6800
Motherboard
asrock vsta
Memory
2gb ddr1
Graphics Card(s)
nvidia 6800
Monitor(s) Displays
iiyama E2407HDSV
Hard Drives
1*250 gb
1*125 gb
1*125 gb
PSU
coolermaster 500watt
Case
thermaltake soproano
Cooling
arctic cooler
Impressive!
 

My Computer My Computer

At a glance

Windows 7 Home?AMD Athlon 2.8Ghz2GB 800MHZATI 3000
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Home?
CPU
AMD Athlon 2.8Ghz
Motherboard
GA-MA78LM-S2
Memory
2GB 800MHZ
Graphics Card(s)
ATI 3000
I'm not a hotmail user, but you'll do manage my schools email. I'm definetly impressed.
 

My Computer My Computer

At a glance

Windows 7 64-bitAMD Athlon II X4 620 Propus @ 2.6ghzOCZ Platinum 4GB (2 x 2GB) 240-Pin DDR2 SDRAM...ATI Radeon HD 4200 [on board]
OS
Windows 7 64-bit
CPU
AMD Athlon II X4 620 Propus @ 2.6ghz
Motherboard
GIGABYTE GA-MA785GM-US2H
Memory
OCZ Platinum 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 (PC2
Graphics Card(s)
ATI Radeon HD 4200 [on board]
Sound Card
Realtek ALC889A [on board]
Case
APEVIA X-QPACK-NW-BK/420 Black Aluminum
How comes I only get spam in my Hotmail account?

The only non contact mail seen in Windows Live mail here is the typical MS blog emails, WLM updates, annoucements,etc. unless you sign up for things using that address. Once that gets passed along to advertisers... no joy! :p:(
 

My Computers My Computers

  • At a glance

    W7 Ultimate x64/W10 Pro x64/W11 Pro Triple Bo...AMD Phenom II X4 975 Deneb 3.6ghz - 965 2nd r...Kingston Hyper X DDR3 1600 1.5v 16gb - Hyper ...MSI HD Radeon 5750 1gb - MSI HD Radeon 6450 o...
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    Custom builds = 2
    OS
    W7 Ultimate x64/W10 Pro x64/W11 Pro Triple Boot - Main PC W7 Remote PC Micro ATX W7 Pro x64/W11 Pro
    CPU
    AMD Phenom II X4 975 Deneb 3.6ghz - 965 2nd remote pc
    Motherboard
    Gigabyte GA-790XTA-UD4-Gigabyte GA-880GM-D2H remote pc
    Memory
    Kingston Hyper X DDR3 1600 1.5v 16gb - Hyper X Fury 8gb 2nd
    Graphics Card(s)
    MSI HD Radeon 5750 1gb - MSI HD Radeon 6450 on mini tower
    Sound Card
    Creative Labs X-Fi Xtreme Audio P - Realtek onooard 2nd case
    Monitor(s) Displays
    ASUS VW199T-P 19" HP 2082a Main-HP 2082a 20" remote pc
    Screen Resolution
    Asus 1440x900 - HP 1600x900
    Hard Drives
    WD Black 1TB HD per OS W7, W10, and pending W11 presently on 500gb OS Drive - Pending Triple 1TB HDs for Spanned Storage/backup volume
    Single 2TB external USB enclosure, single 1TB System 7 Host/Boot drive, Pending 8TB external HD for system image b
    PSU
    Corsair 750TX - primary / Corsair CX600 - second
    Case
    Antec 900-2 - SSD compatible / NZXT Vulcan mini tower
    Cooling
    Zalman CNPS9900A
    Keyboard
    AZIO L70 Backlit Letters Gaming - ONN Cordless/USB
    Mouse
    MSI DS200 Programmable, Logitech Cordless
    Internet Speed
    30mbps upgrade - primary hard wired - mini tower usb WiFi
    Antivirus
    GFI VIPRE Internet Security 2014 on W7 2016 beta on W10,
    Browser
    Cyberfox, WaterFox 64bit FF variants, FireFox x64, Pale Moon
    Other Info
    Accomdata fan cooled usb 2.0 PIDE/Sata II, III external enclosure.
    Sambient usb/eSata PATA/Sata II, III external enclosure.
  • At a glance

    W7 Pro x64/W11 ProAMD Deneb 3.6ghz - 965Kingston Hyper X Fury 8gbMSI HD Radeon 6450 DVI Output
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    CUSTOM ASSEMBLY
    OS
    W7 Pro x64/W11 Pro
    CPU
    AMD Deneb 3.6ghz - 965
    Motherboard
    Gigabyte GA-880GM-D2H remote pc
    Memory
    Kingston Hyper X Fury 8gb
    Graphics Card(s)
    MSI HD Radeon 6450 DVI Output
    Sound Card
    Realtek onooard Creative or Other separate PENDING
    Monitor(s) Displays
    VIZIO 32" LCD TV Separate LCD Pending
    Screen Resolution
    1600x1080
    Hard Drives
    WD 500GB OS Host/Boot WD Green 1TB Storage/Backup
    PSU
    Corsair 600W - THERMALTAKE 600W spare case
    Case
    NZXT Vulcan mini tower
    Cooling
    Twin 120mm Top Fans - 240mm Side Cover
    Keyboard
    ONN Cordless/USB Logitech Cordless
    Mouse
    ONN USB/Cordless - Logitech Cordless
    Internet Speed
    DSL 5G
    Browser
    MS Edge, FireFox, WaterFox x64, FireFox Nightly
    Other Info
    OS Testing-Remote Access to Main TeamViewer
Back
Top