
外部精选
软件工程
#开发者实时流Show HN: Speed Demon, we give you a slow program, you make it fast, any language
Aggregate 3.1M structured log lines into per-endpoint request counts, p50/p95/p99 latency, and error rates bucketed by hour.
Hacker News 最新souvlakee2026/10/26 · 今天1 分钟阅读
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Aggregate 3.1M structured log lines into per-endpoint request counts, p50/p95/p99 latency, and error rates bucketed by hour.
The parsing track, and the one most teams should start with.
The naive version reads lines, splits on delimiters, parses timestamps with a date library, and pushes latencies into a growing list per endpoint before sorting each one at the end. Every part of that is a target.
239 MB · records 3.1M lines · reference 32.05 s · timeout 321 s
Three consecutive lines from the sample set, unmodified.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。