feat(benchmark): M1 IMU 高频摄入压测(引擎层)+ 诚实结果#124
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- 新增 benchmark/ingest:饱和相(找吞吐天花板) + 开环相(定速率证丢帧/尾延迟/内存) - 发现:MemTable 写入无背压,持续负载下内存随时间无界增长(60s 复测推翻短跑'内存有界'结论) - 丢帧经核为队列深度/计时毛刺,非引擎极限 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 4 minutes and 58 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🐯 BanGD 数据库内核评审整体风险:🟢 低 变更总结:该 PR 新增
未发现需要从架构层面改进的问题。 本次评审消耗 token:共 37477 tokens(输入 37135,输出 342,缓存命中 0,缓存写入 0)|维度 [concurrency, memory, storage, performance, resource]|补充阅读周边文件 [storage/engine.go, storage/zstorage/memtable.go]|对抗式复核 3 票/条,过滤疑似误报 0 条 |
M1 第一步:用开环压测验证存储引擎能否扛住高频传感器摄入。落点
benchmark/ingest/(独立 package,不动现有 benchmark/)+docs-step/方案与结果。做了什么
诚实结果(经 60s 复测修正)
抓到的真问题
MemTable 写入无背压(
StartFlush非阻塞、Put永不阻塞)+ SSTable/bloom 元数据累积 → "内存封顶"在持续负载下不成立。下一项存储改进:加写背压,再附"前后内存随时间曲线"。详见
docs-step/M1-ingest-benchmark-result.md。🤖 Generated with Claude Code