Data center: where websites live
A data center is a building where thousands of servers run around the clock. A server by itself is simple; the hard part is something else — continuously supplying megawatts of electricity, carrying away just as much heat and linking everything with a fast network. Our machine hall is about 30 × 20 m with 1.2 MW of load; the demo shows what happens when the city power grid goes out.
Why gather servers in one building
You can put a server at home, but it won’t be able to reliably serve millions of people there: there’s no backup power for hours, no cooling for tens of kilowatts, no multiple independent fiber entries, no security. A data center solves these problems once for thousands of servers — more cheaply and more reliably.
Data centers come in different kinds. Commercial (colocation) ones rent out rack space, electricity and connectivity, and clients bring their own servers. Enterprise data centers are built by banks and large companies for themselves. Hyperscalers — the largest cloud and internet companies — build campuses of several buildings totaling hundreds of megawatts. Small “edge” data centers are placed closer to users.
The scale: according to the International Energy Agency, in 2024 the world’s data centers consumed about 415 TWh — roughly 1.5% of all electricity — and consumption is growing fast because of AI. A single campus for training neural networks can require hundreds of megawatts — like a city of hundreds of thousands of people.
That’s why a data center site is chosen by three main criteria: a strong power grid (ideally from two substations), lots of passing fiber (proximity to internet exchange points) and a cool climate or available water for cooling. Risks are also taken into account — floods, earthquakes, proximity to airports and industrial facilities.
The machine hall and racks
The machine hall in the model is about 30 × 20 m, with rows of ten racks. A rack is a steel cabinet 60 cm wide, 1–1.2 m deep and 42–48 units high (about 2 m). At the top there’s usually the top-of-rack switch (ToR), below it the servers, and at the back along the sides the vertical power strips (PDUs) of feeds A and B, from which every server is powered.
How many servers go into a rack is limited not by space but by power and cooling. A typical rack is rated for 5–15 kW — that’s 10–20 two-unit servers, though physically more would fit. 10 kW is like a dozen apartments with their electric stoves switched on, only in a single cabinet. Racks with AI accelerators need 40–130 kW, and they can no longer be cooled with air (see the section on liquid cooling).
The hall floor is often a raised floor: 60 × 60 cm tiles on pedestals, with 0.5–1 m of space beneath for cold air and cables. In newer halls the floor is increasingly solid concrete: air is supplied directly into the aisles, and cables and busways run overhead on trays.
Every server has an exact address — hall, row, rack, unit — and the inventory system knows what is where and which switch port and power outlet it’s connected to. A technician receives a ticket “replace the drive in bay 7 of the server in units 21–22 of rack R04-12” and walks straight there.
Double-clicking the rack holding our server opens the server.
Cooling: aisles and air handlers
Almost all the electricity consumed by servers turns into heat: the hall’s 1.2 MW of load is 1.2 MW of heat, continuously, like five hundred electric kettles boiling nonstop. Without cooling, the temperature in the hall would rise to dangerous levels within minutes.
Racks stand in rows facing each other: between the front sides is a cold aisle, between the backs a hot aisle. CRAH air handlers along the wall draw hot air from under the ceiling, pass it through a heat exchanger with chilled water and supply it under the raised floor. Through perforated tiles the cold air comes out into the cold aisle; the servers draw it in, heat it by 10–20 °C and blow it out into the hot aisle, from where it rises back to the air handlers. The particles in the model show this loop: blue for cold air, red for air heated by the servers.
Aisle containment — a glass roof and doors — keeps hot air from flowing over the tops of the racks back to the server inlets. Without it, some servers would breathe a mixture and overheat, and the air handlers would have to supply colder air. Aisle containment is one of the cheapest ways to cut cooling costs.
Where the heat goes next: water from the CRAH heat exchangers goes to chillers — large refrigeration machines — or directly to dry coolers on the roof. When it’s cold outside, the chillers can be turned off: the outside air cools the water (“free cooling”). That’s why data centers love Scandinavia and northern locations in general. Evaporative cooling towers are even more efficient but consume water — for a large campus, hundreds to thousands of cubic meters per day.
The recommended server inlet air temperature (per ASHRAE) is 18–27 °C. Halls used to be kept at 18–20 °C “just in case”; today operators aim closer to the upper limit, because every degree warmer saves a few percent of cooling energy.
Liquid cooling and AI racks
Air is a poor heat carrier: a liter of water has roughly 3500 times the heat capacity of a liter of air. As long as a rack draws 10–20 kW, air is enough. A 100 kW accelerator rack would need about 20 thousand cubic meters of air per hour through a cabinet 60 cm wide — a real hurricane.
That’s why AI racks use direct liquid cooling. Instead of a heatsink, the processor and each accelerator get a copper “cold plate” with microchannels, through which water with additives flows, usually at 25–45 °C at the inlet. A coolant distribution unit in the row or rack separates this loop from the building’s loop via a heat exchanger. Air remains only for the small stuff — memory, drives, power supplies.
The water in such a loop is warm, and it can be cooled by outside air almost all year round without chillers, and sometimes the heat is even fed into district heating — such projects operate in Scandinavia and Germany.
There is also immersion cooling: entire servers are submerged in a tank of non-conductive liquid. It’s very efficient but inconvenient to service, and it’s still used rarely.
Power: UPS, batteries, ATS, generator
Electricity arrives from a substation over medium-voltage cables (usually 10–20 kV), often from two independent substations. Transformers step it down to 0.4 kV, and then the current flows through the ATS, the UPS and busways to the racks. The power lines in the model show this path: city grid and generator → ATS → UPS → busway.
The ATS (automatic transfer switch) switches between power inputs. It constantly measures the voltage and frequency of the city grid and, if they disappear or go out of tolerance, starts the generator and switches the load over to it.
A double-conversion UPS works like this: a rectifier turns AC into DC, the batteries are connected to this DC bus, and an inverter turns the DC back into a clean 50 Hz sine wave. The servers are always powered by the inverter. When the grid goes out, the rectifier stops supplying current, and the inverter seamlessly draws energy from the batteries — there isn’t a gap of even a millisecond. The price is 3–6% losses in the double conversion, so many UPSs can run in an economy mode and switch on the inverter only when there’s a problem: server power supplies can ride through a pause of a few milliseconds.
The batteries are lead-acid or, increasingly, lithium-ion: the latter are more compact and last 10–15 years instead of 4–6. Their job isn’t to keep the hall running for hours, but to hold out for a few minutes until the generators start. In the model there are 200 kWh for 1.2 MW of load, which is 10 minutes.
Diesel generators are the main backup: 1–3 MW each, with fuel for 24–72 hours and a contract for refueling deliveries. They are installed with a margin (N+1 — one more than needed) and are regularly started under load: a generator that hasn’t been tested may fail to start when it’s needed.
There are usually two power paths — A and B, from different UPSs — and every server gets both through its two power supplies (see the “Server” level). A fully duplicated design (2N) allows any part of it to be repaired without shutting down the servers.
The “Power failure” demo, second by second
The “Normal” step: the 1.2 MW load is fed from the city grid through the UPS, the batteries are 100% charged, the generator is off.
The “Grid lost” step (0 s): the voltage at the input disappears. The UPS inverter instantly starts drawing energy from the batteries, and the servers notice nothing. The draw is 1.2 MW, so 200 kWh will last 10 minutes.
After 3 s the ATS confirms that the grid hasn’t come back (dips of a fraction of a second happen often, and there’s no point starting the generator for each one) and gives the start command. The engine spins up, and by the 12th second the generator reaches rated speed, frequency and voltage. At the 13th second the ATS switches the input to the generator, and the UPS starts powering the load and recharging the batteries from it. During those 13 seconds the batteries gave up only about 2% of their charge.
After 30 minutes the city grid returns. The ATS is in no hurry: for another 5 minutes it watches that the voltage is stable, and only then switches the load back and stops the generator. By then the batteries are already fully charged.
The essence of the scheme is the division of roles: batteries kick in instantly but last only minutes; the generator starts slowly but runs for days. Together they provide uninterrupted power. In real incidents it’s usually not a single part that fails but a combination: the generator didn’t start and at the same time the batteries ran down, or a person made a mistake during a manual switchover.
Energy efficiency and PUE
A data center’s efficiency is measured by PUE — the ratio of the building’s total energy to the energy received by the IT equipment: servers, storage, network. A PUE of 1.0 is the ideal, where everything goes into computing. A PUE of 1.5 means that for every kilowatt of servers another 0.5 kW is spent on cooling, losses in UPSs and transformers, and lighting.
The industry’s average PUE, according to the Uptime Institute’s annual surveys, is about 1.55 and has barely changed in recent years: there are many old halls. New large data centers reach 1.1–1.2 thanks to warm aisles, free cooling and efficient UPSs; Google reports an average PUE of about 1.1 across its data centers.
PUE doesn’t show how usefully the servers themselves are working: an idle server can draw half its peak power. That’s why server utilization and efficiency — how much computing is done per watt — matter too. For the same reason old equipment is regularly replaced: a new generation often does the same work with noticeably lower consumption.
Water has its own metric — WUE, liters per kilowatt-hour of IT load. There is a trade-off between energy and water: evaporative cooling saves electricity but uses water, and in arid regions dry coolers are chosen.
Reliability: redundancy and Tier levels
The main principle of a data center: any part can fail, and that must not stop the servers. N is exactly as much equipment as the load needs; N+1 is one extra element (five air handlers when four are needed); 2N is everything doubled along two independent paths.
The Uptime Institute classification is often used. Tier I has no redundancy: any breakdown or planned maintenance stops the hall. Tier II has redundant components but a single power and cooling path. Tier III allows any element to be serviced without stopping the servers. Tier IV survives any single failure on its own, even a fire in one of the rooms. The expected availability often quoted for them ranges from 99.67% (about 29 hours of downtime per year) to 99.995% (about 26 minutes).
Data centers are also protected against fire: aspirating detectors continuously draw in air samples and sense smoke long before an open flame appears, and fires are put out with gas or with sprinklers whose pipes fill with water only after the detectors trigger. Physical security is provided by guards, one-at-a-time mantrap entries, biometrics and video surveillance of every row.
Large cloud companies go further: instead of one “perfect” building, they build several independent data centers in one region (availability zones) a few kilometers apart and distribute copies of data and services among them. Then even the loss of an entire building doesn’t stop the service.
Connectivity: fiber entry and the network core
Providers’ fiber enters the building by at least two routes from different sides, so that a single excavator can’t cut the data center off from the world. The cables converge in the meet-me room: here equipment from different carriers stands side by side, and any two networks can be connected with a short fiber patch cord — a cross-connect. A data center where dozens of carriers are present is called carrier-neutral; the largest ones have hundreds of networks connected, and an internet exchange point often operates there.
Inside the hall, the network is built on a leaf-spine design (a Clos network). Each rack’s switch (leaf) is connected to every core switch (spine). The path from any server to any other is leaf → spine → leaf — three switches, and all paths are the same length. In large data centers another tier is added above the spine, and the number of hops becomes five.
There are many paths — one through each spine — and traffic is spread across all of them at once: the switch hashes the addresses and ports of each connection and picks one of the equal-cost paths (ECMP). The failure of one spine only slightly reduces the total bandwidth. The switching chip of a modern switch handles 25–100 Tbit/s — for example, 64 ports of 800 Gbit/s (since 2025 there are 102.4 Tbit/s chips).
Fiber from the core to the racks runs on trays above the rows (in the model — “Fiber to racks”), at 100–400 Gbit/s per link. Inside a rack, short direct-attach copper cables go to the servers. Through the core, traffic goes out to the border routers, and from there to providers and exchange points over the city’s backbone fiber.
Our request’s path in the data center: from the city fiber into the meet-me room, to the border router, then to a load balancer, which chooses which of the site’s servers will handle the request, and through the spine and our rack’s switch to the server. All of this takes tens of microseconds.
Common misconceptions
“It’s as cold as a refrigerator in a data center.” The cold aisle is 20–27 °C, and the hot aisle can be over 40 °C. It is, however, very noisy — 80–90 dB, so you can’t work there for long without hearing protection.
“UPS batteries last for hours.” Usually 5–15 minutes: keeping a hall on batteries for hours would be monstrously expensive. Long-term operation is provided by the generators.
“The main threat is hackers.” The most common causes of major data center outages are power problems, human errors during changes and network failures. That’s why procedures, checks and redundancy are so important.
“Almost all of a data center’s energy goes to cooling.” In modern data centers, cooling and losses add 10–30% on top of the server load; most of the energy is consumed by the computing itself.