跳到正文
数字商店
原文
Thomas Wolf· @Thom_Wolf · X·· 11 天前精选AI 评分67
AI 导读

Hugging Face 的 Thomas Wolf 表示,自今年夏天起 Hugging Face 运行自建 CDN,每月传输近 1 exabyte,约每秒 420 GB、80,000 次请求。

推荐理由

作者以第一手运营数据解释 AI 下载为何不同于传统 CDN 场景,可帮助读者理解大规模模型分发的工程差异。

正文 · 原文

AI downloads broke the usual CDN model

Since this summer, we're running our own CDN at Hugging Face. It's shipping almost 1 exabyte per month, which means, in practice, about 420 GB every second, through 80,000 requests per second.

Why did we need to build our own?

Well, CDNs were designed to ship many small web files to many people. AI downloads are pretty different: it's a few enormous files, a significant part of them pulled by machines.

This changes a lot of design assumptions.

You're not caching small objects close to users in hundreds of cities anymore: these users are for a big part GPU clusters sitting in a handful of cloud regions.

And a cached web page is useful to 1,000 visitors, while a cached 1,000 GB model is useful to far fewer clients, but each one wants all of it, immediately.

So we've built our own CDN, with caches adapted to massive objects, able to handle release-day mega-floods and multiple giant datasets and trending models being pulled at once.

The team made a live map of it at https://t.co/hx0ZISQWDo

Hard to stop watching it - it's quite mesmerizing

来源:Thomas Wolf · x.com