The music video for “Despacito” set an Internet record in April 2018 when it became the first video to hit five billion views on YouTube. In the process, “Despacito” reached a less celebrated milestone: it burned as much energy as 40,000 U.S. homes use in a year.

Computer servers, which store website data and share it with other computers and mobile devices, create the magic of the virtual world. But every search, click, or streamed video sets several servers to work — a search for “Despacito” servers in six to eight data centers around the world — consuming very real energy resources.

A lot of them.

Today, data centers consume about 2% of electricity worldwide; that could rise to 8% of the global total by 2030, according to a study by Anders Andrae, who researches sustainable information and communications technology for Huawei Technologies Ltd.

U.S. data centers consumed 70 billion kilowatt-hours of electricity in 2014, the same amount that 6.4 million American homes used that year. Data centers need electricity to power their servers, storage equipment, backups, and power cooling infrastructure; most servers require temperatures below 80 degrees Fahrenheit to operate, and cooling can comprise up to 40% of electricity usage in conventional data centers.

More at Fortune