分支预测器: 多少个 "if" 算多?(包括 x86 和 Apple M1 的基准测试!)
前段时间看到一个视频,说 Dubbo 代码中有个地方明明可以直接用 switch 判断,但是代码里用了 if + switch,因为 if 走分支预测可以加速执行,而 switch 需要先查一个地址表。让我想起了这篇没有翻译完成的文章… 阅读全文
Can you hear the gravity?
前段时间看到一个视频,说 Dubbo 代码中有个地方明明可以直接用 switch 判断,但是代码里用了 if + switch,因为 if 走分支预测可以加速执行,而 switch 需要先查一个地址表。让我想起了这篇没有翻译完成的文章… 阅读全文
原文地址:https://blog.cloudflare.com/getting-to-the-core/原文标题:Getting to the Core: Benchmarking Cloudflare’s Latest Server Hardware原文作者: 阅读全文
原文地址:https://blog.cloudflare.com/technical-details-of-why-cloudflare-chose-amd-epyc-for-gen-x-servers/原文标题:Why Cloudflare... 阅读全文
原文地址:https://blog.cloudflare.com/clickhouse-capacity-estimation-framework/原文标题:ClickHouse Capacity Estimation Framework原文作者: 阅读全文
原文地址:https://blog.cloudflare.com/http-analytics-for-6m-requests-per-second-using-clickhouse/原文标题:HTTP Analytics for 6M requests per... 阅读全文
原文地址:https://blog.cloudflare.com/how-cloudflare-analyzes-1m-dns-queries-per-second/原文标题:How Cloudflare analyzes 1M DNS queries per second 阅读全文
原文地址:https://blog.cloudflare.com/mitigating-a-754-million-pps-ddos-attack-automatically/原文标题:Mitigating a 754 Million PPS DDoS Attack Automatically原文作... 阅读全文
原文地址:https://blog.cloudflare.com/making-video-intuitive-an-explainer/原文标题:Making Video Intuitive: An Explainer原文作者: 阅读全文
这篇博客文章解释了基于 NTP 的 DDoS 攻击的工作原理,以及网站所有者如何帮助缓解这些攻击。 阅读全文
本文讲述了如何使用 Cloudflare Worker 来调用 API ,识别用户注册时使用的密码是否已经泄漏。而 Cloudflare Worker 是一项 Serverless 服务,无需提供服务器,可以很方便的部署代码。 阅读全文