feat: add 180 questions (90 sc + 90 fb) for networking subtopics
Deploy Examination / deploy (push) Successful in 31s
Deploy Examination / deploy (push) Successful in 31s
Cover 9 subtopics from the computer networking documentation: - http-handshake: TCP/TLS/HTTP2/HTTP3 handshakes - http-connection-cost: connection resource overhead & million concurrency - connection-pooling: pool reuse, HTTP/1.1 vs HTTP/2 - http-keepalive: Keep-Alive principle, head-of-line blocking - keepalive-scenarios: when to enable/disable Keep-Alive - domain-sharding: HTTP/1.1 hack, HTTP/2 obsolescence - cdn: edge nodes, caching, DDoS protection - cors: same-origin policy, preflight requests - go-build-strip: -s -w flags, binary size optimization
This commit is contained in:
+125
-1
@@ -73,6 +73,130 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "networking",
|
||||
"name": "计算机网络",
|
||||
"description": "从 HTTP 协议到底层连接管理,覆盖面试和实战中的核心网络知识",
|
||||
"subtopics": [
|
||||
{
|
||||
"slug": "http-handshake",
|
||||
"name": "HTTP 握手",
|
||||
"description": "TCP 三次握手、TLS 握手、HTTP/2 与 HTTP/3 的连接建立",
|
||||
"path": "topics/networking/http-handshake",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "http-connection-cost",
|
||||
"name": "HTTP 连接资源消耗",
|
||||
"description": "单连接资源开销、百万并发的真实数字与应对策略",
|
||||
"path": "topics/networking/http-connection-cost",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "connection-pooling",
|
||||
"name": "连接池复用",
|
||||
"description": "预建连接、借还机制、HTTP/1.1 与 HTTP/2 的复用差异",
|
||||
"path": "topics/networking/connection-pooling",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "http-keepalive",
|
||||
"name": "HTTP Keep-Alive",
|
||||
"description": "Keep-Alive 原理、队头阻塞、演进路线",
|
||||
"path": "topics/networking/http-keepalive",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "keepalive-scenarios",
|
||||
"name": "Keep-Alive 使用场景",
|
||||
"description": "何时启用、何时关闭、生产环境最佳实践",
|
||||
"path": "topics/networking/keepalive-scenarios",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "domain-sharding",
|
||||
"name": "域名分片",
|
||||
"description": "HTTP/1.1 时代的 hack,HTTP/2 后的淘汰",
|
||||
"path": "topics/networking/domain-sharding",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "cdn",
|
||||
"name": "CDN",
|
||||
"description": "边缘节点、缓存策略、加速原理与配置",
|
||||
"path": "topics/networking/cdn",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "cors",
|
||||
"name": "跨域 CORS",
|
||||
"description": "同源三元组、CORS 响应头、预检请求",
|
||||
"path": "topics/networking/cors",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"slug": "go-build-strip",
|
||||
"name": "Go 编译标志 -s",
|
||||
"description": "剥离调试信息、体积优化、生产发布",
|
||||
"path": "topics/networking/go-build-strip",
|
||||
"stats": {
|
||||
"total": 20,
|
||||
"by_type": {
|
||||
"single_choice": 10,
|
||||
"fill_blank": 10
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user