1顆 CPU、10GB記憶體硬塞1,500 萬個 Web Server 的瘋狂實驗
Long-form16:43EducationPublished Nov 24, 2026, 11:49 AM · 1w ago
Views
12,748
+17 views/hour
Views / hour now
17
measured 2h ago
Peak views / hour
452
6d ago
First 24 hours
1.4K
views at 24 h
Engagement
0.7%
likes + comments / views
Likes
75
0.6% of views
Comments
12
0.09% of views
Est. ad revenue
$45–$102
lifetime, $3.5–8 RPM
Checked every 12 h while the video is this age · last check 2h ago · next in 564 min. YouTube itself updates public counts with a short delay.
Avg views / day
1.6K
since upload
vs channel median
1.1×
this video's views ÷ the channel's usual
Rank in channel
#20
of 34 tracked
Views over time
75 readings
Total views Views gained per hour
Description
工程師 Artem 用一顆 CPU、10GB 記憶體的虛擬機,想硬塞 1,500 萬個 Web Server:一路撞上埠號上限、處理程序太肥、問 AI 拿到錯的答案、Linux 核心每個連線吃掉 3,384 位元組,
最後繞過核心,用 smoltcp、DPDK、AF_XDP 把每個伺服器壓到 620 位元組,跑到 1,600 萬個。
章節
0:00 700 位元組養一個網站伺服器?
1:31 系統呼叫、socket 和埠號:卡在 28,232 個
3:52 埠號不夠,就換 IP:AnyIP
4:55 一個處理程序 1.5MB,1,500 萬個要 20TB
6:33 問 AI:一個連線要多少記憶體?
7:52 Linux 核心:每個連線 3,384 位元組
10:56 smoltcp:自己實作網路協定堆疊
11:32 TUN/TAP、中斷和 livelock
12:50 DPDK:繞過核心
13:54 AF_XDP
14:57 結果:620 位元組、1,600 萬個
原文和程式碼
- Artem〈15 million web servers on one VM - smoltcp, DPDK, AF_XDP〉(2026-11-18):https://kapteko.com/15-million-webservers/
- 實驗程式碼:https://github.com/artemyarulin/AI10M/tree/main/poc/ten-million-webservers
- smoltcp:https://github.com/smoltcp-rs/smoltcp
程式碼、表格、結果圖截自原文,作者頭像取自 GitHub:https://github.com/artemyarulin
素材出處
- Stock videos by Vecteezy:
https://www.vecteezy.com/video/1802832-beautiful-flight-through-the-digital-tunnel-with-numbers-connecting-lines-and-dots
https://www.vecteezy.com/video/14442263-businessman-working-with-smart-phone-and-laptop-and-digital-tablet-computer-in-office-with-digital-marketing-media-in-virtual-icon
https://www.vecteezy.com/video/1908982-businessman-drinks-coffee-while-working
https://www.vecteezy.com/video/88494899-green-linux-terminal-bash-command-line-typing-animation
https://www.vecteezy.com/video/59848578-blue-tech-animation-with-blinking-and-flashing-digital-data-lights-computer-network-server-concept-full-hd-technology-background
https://www.vecteezy.com/png/56709393-desktop-ram-essential-guide-for-gamers-and-professionals
https://www.vecteezy.com/video/71171403-cozy-retro-desktop-setup-with-vintage-crt-computer-and-pixel-art-game-on-screen
https://www.vecteezy.com/video/76641316-binary-code-stream-data-transfer-in-digital-world
https://www.vecteezy.com/video/73595001-white-and-black-color-3d-computer-microchip-glowing-circuit-board-futuristic-data-transfer-technology-background
https://www.vecteezy.com/video/7237608-brain-circuit-digital-computer-graphic-background-ai-microchip-brain-of-robot-futuristic-technology
https://www.vecteezy.com/video/56204885-a-person-in-blue-gloves-is-holding-a-computer-motherboard
- Linus Torvalds 照片:Beraldo Leal,CC BY 2.0,https://commons.wikimedia.org/wiki/File:Linus_Torvalds_-_Linuxcon2011.jpg
- Rust logo:Rust Foundation,https://github.com/rust-lang/rust-artwork
#Linux #WebServer #Rust
Tags
Web Server網站伺服器伺服器LinuxLinux 核心TCP/IP網路協定socket埠號記憶體記憶體優化虛擬機VMsmoltcpRustDPDKAF_XDPeBPFTUN TAPlivelock系統呼叫AI 答錯Codex程式設計後端工程師15 million web serversweb server on one VMLinux kernel networkingkernel bypass
Details
- Published
- Nov 24, 2026, 11:49 AM
- Length
- 16:43 (1,003 s)
- Format
- Long-form
- Category
- Education
- Audio language
- ZH
- Quality
- HD
- Captions
- Yes
- Made for kids
- No
- Licensed content
- Yes
- Video ID
- DdpQ5XvcSD0
More from P & H
5 位當代軟體開發傳奇人物,怎麼看 AI 寫程式?19.5K views · 6d ago · +56/h
如何用免費版AI快速製作精美A4 PDF (Claude、ChatGPT、Gemini比較)2.7K views · 1w ago · +1/h
黃仁勳戰略突圍 VS. 財務長風險控管,輝達內部的巔峰對決548 views · 2w ago
一張靜止立繪,AI 幫你做成 2D 遊戲動畫29.3K views · 2w ago · +8/h
最強 AI 工程師的 AI 用法,比你想的還簡單(不用懂程式)4.7K views · 2w ago
Claude 做網頁該裝哪個 Skill?實測 8 款:第一名「免費版」就能用!13K views · 3w ago · +3/h
微軟 AI 執行長的警告,可能解開了外星人之謎...651 views · 3w ago
前端?後端?生態系完整解析3.2K views · 3w ago
Statistics from the YouTube Data API, tracked by FameX. Views per hour, revenue and comparisons are FameX estimates.