<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>土法炼钢 · 系统与基础设施</title>
    <link>https://quant67.com/</link>
    <description>Linux 内核、存储与网络、可观测性、系统架构与大模型基础设施的工程笔记：机制拆解、踩坑复盘与可核对证据，少空谈。</description>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 31 Oct 2026 16:51:28 +0000</lastBuildDate>

    <item>
      <title>【大模型基础设施工程·特别篇】28：DeepInfer 深度解析——DeepSeek 生产推理引擎开源了什么</title>
      <link>https://quant67.com/post/llm-infra/28-deepinfer/28-deepinfer.html</link>
      <guid>https://quant67.com/post/llm-infra/28-deepinfer/28-deepinfer.html</guid>
      <pubDate>Wed, 28 Oct 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[对照固定版本源码，拆解 DeepInfer 的离线用法、kernels、EP/EPLB、DSpark、SWA 与 ZOS：解释优化的条件和代价，区分开源引擎、完整服务及营收口径。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程·特别篇】29：推理框架详解——为啥需要、做什么、底层举例与部署 Demo</title>
      <link>https://quant67.com/post/llm-infra/29-inference-frameworks/29-inference-frameworks.html</link>
      <guid>https://quant67.com/post/llm-infra/29-inference-frameworks/29-inference-frameworks.html</guid>
      <pubDate>Thu, 29 Oct 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从一次 generate 到并发服务，拆解调度、KV、并行与采样的职责；用 Roofline、分页写入和逐步调度解释成本，给出按官方文档核对的部署 Demo（未实跑模型服务）。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程·特别篇】30：推理算子与内核——Attention/GEMM/采样对比、工程实践与真实项目</title>
      <link>https://quant67.com/post/llm-infra/30-inference-kernels/30-inference-kernels.html</link>
      <guid>https://quant67.com/post/llm-infra/30-inference-kernels/30-inference-kernels.html</guid>
      <pubDate>Thu, 29 Oct 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从服务视角拆推理算子层：Attention 家族、GEMM/量化、采样与 MoE 的多维对比，引擎如何选 backend，Nsight 实践路径，以及 vLLM/SGLang/TRT-LLM/DeepInfer 的真实落点（定性，非 tok/s 排行）。]]></description>
    </item>
    
    <item>
      <title>【分布式系统百科】一致性模型全景：从线性一致性到最终一致性的光谱</title>
      <link>https://quant67.com/post/distributed/09-consistency-models/consistency-models.html</link>
      <guid>https://quant67.com/post/distributed/09-consistency-models/consistency-models.html</guid>
      <pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[成功写入之后，还能读到旧值吗？用反例区分线性、顺序与因果一致性，拆开最终收敛、会话保证和事务隔离；核对 ZooKeeper、Spanner、DynamoDB、Cassandra 的接口边界，并提供可运行的 Go 历史检查器。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程·特别篇】31：机房脏活——从业务规划到电力、光纤、RDMA、光模块与交换机</title>
      <link>https://quant67.com/post/llm-infra/31-datacenter-ops/31-datacenter-ops.html</link>
      <guid>https://quant67.com/post/llm-infra/31-datacenter-ops/31-datacenter-ops.html</guid>
      <pubDate>Fri, 30 Oct 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[业务驱动的机房脏活手册：从 QPS/卡数推到机柜功率，讲清电压与 PDU、冷却改造、光纤与光模块 BOM、IB/RoCE 采购取舍、RDMA 验收与分期预算（规划量级，非报价）。]]></description>
    </item>
    
    <item>
      <title>大模型基础设施工程</title>
      <link>https://quant67.com/post/llm-infra/index.html</link>
      <guid>https://quant67.com/post/llm-infra/index.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[面向中国工程团队的大模型基础设施系列。从 GPU/CUDA/互联、训练框架与 3D 并行、vLLM/SGLang 推理引擎、量化与推测解码、RAG/Agent 到服务化、网关、可观测性与安全合规，覆盖 LLMOps 全链路。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程】01：大模型基础设施全景 —— 训练、推理、RAG、Agent、观测</title>
      <link>https://quant67.com/post/llm-infra/01-intro/01-intro.html</link>
      <guid>https://quant67.com/post/llm-infra/01-intro/01-intro.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[面向工程师的大模型基础设施开篇地图，覆盖 2022 到 2026 的工程分水岭、五层工程栈、训练与推理的工程差异、中国与全球行业版图以及成本曲线。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程】02：GPU 计算入门——SM、Tensor Core、HBM、NVLink</title>
      <link>https://quant67.com/post/llm-infra/02-gpu-primer/02-gpu-primer.html</link>
      <guid>https://quant67.com/post/llm-infra/02-gpu-primer/02-gpu-primer.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从 CPU 与 GPU 的架构差异出发，讲清楚 SM、Warp、Tensor Core、HBM、NVLink 的工程含义，并结合 Roofline、FlashAttention 与国产算力栈，给出大模型工程师能直接上手的 GPU 心智模型。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程】03：CUDA 生态——cuBLAS、cuDNN、NCCL、Triton、CUTLASS</title>
      <link>https://quant67.com/post/llm-infra/03-cuda-stack/03-cuda-stack.html</link>
      <guid>https://quant67.com/post/llm-infra/03-cuda-stack/03-cuda-stack.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从 nvcc 到 Triton，把 NVIDIA 软件栈的每一层拆给大模型工程师看，顺便谈谈 ROCm、CANN 为什么一直追不上。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程】04：互联与网络——NVLink、InfiniBand、RoCE 与国产替代</title>
      <link>https://quant67.com/post/llm-infra/04-interconnect/04-interconnect.html</link>
      <guid>https://quant67.com/post/llm-infra/04-interconnect/04-interconnect.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从 NVLink / NVSwitch / NVL72 到 InfiniBand NDR 与 RoCEv2，再到华为 CloudMatrix、阿里 HPN、腾讯星脉，系统梳理万卡集群互联的工程选型与踩坑。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程】11：推理引擎基础</title>
      <link>https://quant67.com/post/llm-infra/11-inference-basics/11-inference-basics.html</link>
      <guid>https://quant67.com/post/llm-infra/11-inference-basics/11-inference-basics.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从 Prefill/Decode 两阶段、KV Cache、Continuous Batching 到 PD 分离，系统讲清楚大模型推理的工程基础。]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程】13：vLLM / SGLang / TensorRT-LLM / TGI 对比</title>
      <link>https://quant67.com/post/llm-infra/13-vllm-sglang/13-vllm-sglang.html</link>
      <guid>https://quant67.com/post/llm-infra/13-vllm-sglang/13-vllm-sglang.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[主流推理引擎的架构、性能、生态深度对比，给出工程选型与落地决策依据。]]></description>
    </item>
    
    <item>
      <title>【量化交易】风险模型：Barra 多因子、风险归因、压力测试</title>
      <link>https://quant67.com/post/quant/16-risk-models/16-risk-models.html</link>
      <guid>https://quant67.com/post/quant/16-risk-models/16-risk-models.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[股票数接近样本天数时，样本协方差会把最小方差组合的风险低估到真实值的约 1-N/T 倍。本文用 Barra 式因子模型降维，对比 Ledoit-Wolf 收缩与 eigenfactor 调整，配合欧拉风险归因、VaR/ES 回测和压力测试，用可运行的模拟代码给出各方法的偏差大小与适用边界。]]></description>
    </item>
    
    <item>
      <title>【量化交易】做市策略：Avellaneda-Stoikov 与库存管理</title>
      <link>https://quant67.com/post/quant/25-market-making/25-market-making.html</link>
      <guid>https://quant67.com/post/quant/25-market-making/25-market-making.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[做市不是猜方向，而是为流动性定价。本文从买卖价差与库存成本的经济学起步，沿 Glosten-Milgrom 走到 Avellaneda-Stoikov，讲清 reservation price、optimal spread、HJB 推导、库存惩罚、对抗逆选择（VPIN、订单流毒性）、加密做市的资金费率与跨所对冲、监管…]]></description>
    </item>
    
    <item>
      <title>【io_uring 系列】Go 如何集成 io_uring：从 CGO 封装到纯 Go 实现</title>
      <link>https://quant67.com/post/io_uring/08-golang-integration.html</link>
      <guid>https://quant67.com/post/io_uring/08-golang-integration.html</guid>
      <pubDate>Sun, 30 Nov 2025 00:00:00 +0000</pubDate>
      <description><![CDATA[系统梳理 Go 集成 io_uring 的关键问题：何时值得做、CGO 与纯 Go 如何取舍、runtime.Pinner、固定缓冲区与 SQPOLL 的工程实践。]]></description>
    </item>
    
    <item>
      <title>【量化交易】量化交易全景：从信号到订单的工程链路</title>
      <link>https://quant67.com/post/quant/01-intro/01-intro.html</link>
      <guid>https://quant67.com/post/quant/01-intro/01-intro.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[量化交易不是策略写得好就能赚钱，更难的是把数据、特征、因子、信号、组合、执行、风控、复盘这八段链路在工程上连成一条不漏数据、不串时间、不丢订单的流水线。本文是【量化交易】系列的总目录与读图，给出八段链路的输入输出、失败模式、不变量清单，并用研究流程图把从一个想法到一笔实盘订单之间所有该过的卡点串起来。]]></description>
    </item>
    
    <item>
      <title>量化交易</title>
      <link>https://quant67.com/post/quant/index.html</link>
      <guid>https://quant67.com/post/quant/index.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从因子研究到生产执行的量化交易全栈工程。覆盖市场微结构、数据管线、因子构造、组合优化、回测方法论、执行算法、做市策略、高频架构到生产运维。面向策略研究员与工程师。]]></description>
    </item>
    
    <item>
      <title>全部系列索引</title>
      <link>https://quant67.com/post/series/index.html</link>
      <guid>https://quant67.com/post/series/index.html</guid>
      <pubDate>Wed, 22 Jul 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[本站所有系列专题的总目录。按大模型基础设施、Transformer、量化交易与金融科技、数据与数据库、分布式与存储、密码学与安全、操作系统与底层、网络与 I/O、算法与可观测等方向分类整理，每个系列均给出简介与入口链接。]]></description>
    </item>
    
    <item>
      <title>【量化交易】数据陷阱：幸存者偏差、复权、前视、未来函数</title>
      <link>https://quant67.com/post/quant/06-survivorship-bias/06-survivorship-bias.html</link>
      <guid>https://quant67.com/post/quant/06-survivorship-bias/06-survivorship-bias.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[回测漂亮、实盘失效，常因数据在时点 t 泄漏了未来。本文拆解幸存者偏差、前视、未来函数、复权、停牌与日历陷阱，用可复现仿真说明退市收益的填补口径能翻转因子符号、财报时间戳错位能凭空造出收益，并给出 PIT 库实现与 CI 断言。]]></description>
    </item>
    
    <item>
      <title>【金融科技工程】幂等、事务与一致性：SAGA、TCC、对账补偿</title>
      <link>https://quant67.com/post/fintech/05-idempotency-txn/05-idempotency-txn.html</link>
      <guid>https://quant67.com/post/fintech/05-idempotency-txn/05-idempotency-txn.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[超时重试会让支付扣两次、退两次。本文按 Stripe 文档、IETF 草案与 Seata 实现拆解 Idempotency-Key 状态机、业务唯一键、2PC/TCC/SAGA/Outbox 的取舍与空回滚防悬挂，结论是每一跳都必须可安全重试。]]></description>
    </item>
    
    <item>
      <title>【量化交易】市场微结构：订单簿、价差、流动性、冲击</title>
      <link>https://quant67.com/post/quant/03-microstructure/03-microstructure.html</link>
      <guid>https://quant67.com/post/quant/03-microstructure/03-microstructure.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[回测按中价成交，实盘却被价差、冲击和逆向选择吃掉收益。本文从限价订单簿出发拆解价差口径与分解、流动性四维、OFI、Kyle λ、VPIN 与 Hawkes，并用币安 LTCUSDT 真实数据验证：10 秒 OFI 解释约六成中价变化，有效价差三分之二以上表现为价格冲击。]]></description>
    </item>
    
    <item>
      <title>【量化交易】交易成本模型：冲击成本、滑点、Implementation Shortfall 与 TCA</title>
      <link>https://quant67.com/post/quant/18-execution-cost/18-execution-cost.html</link>
      <guid>https://quant67.com/post/quant/18-execution-cost/18-execution-cost.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[回测按收盘价成交，实盘却多付几十 bp。本文把交易成本拆成显性费用、滑点、冲击、机会成本四层，用平方根律标定、Almgren-Chriss 与 Implementation Shortfall 统一口径，附合成数据验证的 Python 代码和按 2026 年官方规则核对的四市场费率。]]></description>
    </item>
    
    <item>
      <title>【Transformer 与注意力机制】17｜Causal Mask：让模型只看过去不看未来</title>
      <link>https://quant67.com/post/transformer/17-causal-mask/17-causal-mask.html</link>
      <guid>https://quant67.com/post/transformer/17-causal-mask/17-causal-mask.html</guid>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[自回归模型训练要并行、生成不能偷看未来。本文从 teacher forcing 推到 mask 矩阵，对比 causal、prefix LM、滑窗与 packing 文档掩码，结合 KV cache 对齐、FlashAttention 跳块与 GPT-2 实测 attention sink，说明 mask 决定训练并…]]></description>
    </item>
    
    <item>
      <title>【密码学百科】格基后量子方案：ML-KEM（Kyber）与 ML-DSA（Dilithium）原理、参数与部署</title>
      <link>https://quant67.com/post/cryptography/58-lattice-pqc/lattice-pqc.html</link>
      <guid>https://quant67.com/post/cryptography/58-lattice-pqc/lattice-pqc.html</guid>
      <pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[ML-KEM（FIPS 203）与 ML-DSA（FIPS 204）都建立在 Module-LWE 上。本文从 LWE 归约讲到 KeyGen/Encaps/Sign 流程、NTT 实现（附与朴素乘法对拍过的 Python 代码）、FO 变换与拒绝采样，说明参数集怎么选、core-SVP 估计为何不能直接和 NIST…]]></description>
    </item>
    
    <item>
      <title>【大模型基础设施工程】14：量化工程 —— INT8 / FP8 / FP4 / AWQ / GPTQ 怎么选</title>
      <link>https://quant67.com/post/llm-infra/14-quantization/14-quantization.html</link>
      <guid>https://quant67.com/post/llm-infra/14-quantization/14-quantization.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[decode 受显存带宽限制，量化把权重从 BF16 压到 FP8 或 INT4 就能直接换来显存和延迟收益。本文讲清 FP8/FP4/MX 数据类型、GPTQ/AWQ/SmoothQuant/旋转法各自解决什么问题、KV Cache 量化的收益边界，给出按硬件选位宽的规则和 AutoAWQ + vLLM、Tenso…]]></description>
    </item>
    
    <item>
      <title>【量化交易】回测陷阱：前视偏差、过拟合、数据窥视与 Deflated Sharpe</title>
      <link>https://quant67.com/post/quant/20-backtest-pitfalls/20-backtest-pitfalls.html</link>
      <guid>https://quant67.com/post/quant/20-backtest-pitfalls/20-backtest-pitfalls.html</guid>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[回测 Sharpe 漂亮却上线失效，多半死于前视偏差、过拟合和数据窥视。本文给出前视偏差的三条机械自查规则，用可复现仿真说明零信号数据上挑出的最佳策略能通过 PSR 却被 DSR 拒掉，并附 Bonferroni、BH-FDR、DSR 的 Python 实现与 30 条上线前自检清单。]]></description>
    </item>
    
    <item>
      <title>【Transformer 与注意力机制】08.5 神经网络基础：神经元、反向传播手算与 MLP 训练</title>
      <link>https://quant67.com/post/transformer/08-5-neural-network/08-5-neural-network.html</link>
      <guid>https://quant67.com/post/transformer/08-5-neural-network/08-5-neural-network.html</guid>
      <pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[神经网络训练就是前向、损失、反向、更新四步循环。本文用一个可手算的标量网络逐步推出反向传播梯度，再推广到两层 MLP 的矩阵求导，给出 NumPy 手写与 PyTorch 对照实现和真实训练曲线，最后说明固定窗口 MLP 为什么处理不好序列、RNN 改了哪一条边。]]></description>
    </item>
    
    <item>
      <title>整数压缩：varint、Golomb、PForDelta 与 SIMD 位打包，倒排表里每个整数花几比特</title>
      <link>https://quant67.com/post/algorithms/84-integer-compression/integer-compression.html</link>
      <guid>https://quant67.com/post/algorithms/84-integer-compression/integer-compression.html</guid>
      <pubDate>Tue, 12 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[以倒排表的 d-gap 为对象，在两份真实语料和伯努利合成表上实测 varint、Elias、Golomb/Rice、插值编码、Elias-Fano、Simple、PFOR、Stream VByte、BP128 的每整数比特数与下界之差，并在共享 2 vCPU 上测解码的相对速度。]]></description>
    </item>
    
    <item>
      <title>时序数据压缩：delta-of-delta、XOR 浮点编码与十进制数据上的失效</title>
      <link>https://quant67.com/post/algorithms/85-ts-compression/ts-compression.html</link>
      <guid>https://quant67.com/post/algorithms/85-ts-compression/ts-compression.html</guid>
      <pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[拆解 Gorilla 的时间戳 delta-of-delta 与浮点 XOR 编码，对照 Prometheus、InfluxDB、VictoriaMetrics 钉版本源码，用节点采集数据和 ALP 数据集实测每个值花多少比特，并说明 XOR 在十进制数据上失效的原因与 Chimp、Elf、ALP 的改法。]]></description>
    </item>
    
    <item>
      <title>列式压缩：轻量编码怎么选、Parquet 与 ORC 怎么写、编码数据上怎么算</title>
      <link>https://quant67.com/post/algorithms/86-columnar-compression/columnar-compression.html</link>
      <guid>https://quant67.com/post/algorithms/86-columnar-compression/columnar-compression.html</guid>
      <pubDate>Thu, 14 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[对照 Parquet 2.11 规范与 Arrow、ORC 源码拆开字典、RLE/位打包混合、DELTA 与 RLEv2，讲清写入器何时放弃字典；在 TPC-H lineitem 上按字节比较 Parquet、ORC 与级联选择，并数出在编码数据上执行省下的工作。]]></description>
    </item>
    
    <item>
      <title>BWT 与 FM-index：从 bzip2 到基因组比对</title>
      <link>https://quant67.com/post/algorithms/25-bwt-fm-index/bwt-fm-index.html</link>
      <guid>https://quant67.com/post/algorithms/25-bwt-fm-index/bwt-fm-index.html</guid>
      <pubDate>Sat, 23 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[BWT 只是可逆排列，LF 映射让它能还原文本、用 rank 查询计数子串。本文用对拍过的 C 实现推演逆变换、backward search 与采样 SA 定位，并对照 bzip2 1.0.8、BWA 0.7.18 源码说明工程取舍。]]></description>
    </item>
    
    <item>
      <title>Huffman 编码与 DEFLATE：最优前缀码、规范码表与比特的去向</title>
      <link>https://quant67.com/post/algorithms/80-huffman-deflate/huffman-deflate.html</link>
      <guid>https://quant67.com/post/algorithms/80-huffman-deflate/huffman-deflate.html</guid>
      <pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[证明 Huffman 码为何最优、离熵多远，讲清规范码、15 位限长、查表解码与 DEFLATE 的三层码表；用逐比特记账的解码器拆开 zlib 1.3 与 zopfli 的输出：Huffman 只比经验熵多 0.64%，距离额外比特却占 42%。]]></description>
    </item>
    
    <item>
      <title>LZ77、LZ78 与 LZW：字典从哪里来，最长匹配怎么找</title>
      <link>https://quant67.com/post/algorithms/81-lz-family/lz-family.html</link>
      <guid>https://quant67.com/post/algorithms/81-lz-family/lz-family.html</guid>
      <pubDate>Sat, 09 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从 1977、1978 年两篇原始论文出发，讲清滑动窗口与短语表两种字典、LZSS 与 LZW 的改动；用可解码验证的固定码 DEFLATE 输出实测哈希链与二叉树匹配查找器、贪心/lazy/最优解析：二叉树每位置 22 个候选即得最长匹配，最优解析比贪心小 12.7%。]]></description>
    </item>
    
    <item>
      <title>zstd 的格式与实现：序列、FSE 表、字典与长距离匹配</title>
      <link>https://quant67.com/post/algorithms/82-zstd-internals/zstd-internals.html</link>
      <guid>https://quant67.com/post/algorithms/82-zstd-internals/zstd-internals.html</guid>
      <pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[按 RFC 8878 与 zstd 1.5.7 源码拆开帧、块、字面量段和序列段，讲清 FSE 表怎么建、怎么传、编码器怎么选模式；用逐比特记账的解码器实测：偏移额外比特占 39–44%，FSE 离逐块经验熵不到 1%，字典与长距离匹配的收益取决于数据和编码器的启发式。]]></description>
    </item>
    
    <item>
      <title>算术编码、Range Coder 与 ANS：分数比特的记账方式与精度损失</title>
      <link>https://quant67.com/post/algorithms/83-arithmetic-coding/arithmetic-coding.html</link>
      <guid>https://quant67.com/post/algorithms/83-arithmetic-coding/arithmetic-coding.html</guid>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[算术编码、range coder、rANS、tANS 怎样让每个符号只花分数比特，有限精度的损失落在频率量化、区间截断、状态下界、表的排布和收尾字节中的哪一处；用逐比特记账的可复现实验量化离熵多远，并讨论自适应建模、专利与 tANS 建表的开放问题。]]></description>
    </item>
    
    <item>
      <title>算法工程索引</title>
      <link>https://quant67.com/post/algorithms/index.html</link>
      <guid>https://quant67.com/post/algorithms/index.html</guid>
      <pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[汇总本站算法工程相关文章，覆盖排序、哈希、树、字符串、近似数据结构、SIMD、随机化与编译器相关算法。]]></description>
    </item>
    
    <item>
      <title>并发哈希表：分段锁、桶锁、协作扩容与分裂有序表</title>
      <link>https://quant67.com/post/algorithms/78-concurrent-hashmap/concurrent-hashmap.html</link>
      <guid>https://quant67.com/post/algorithms/78-concurrent-hashmap/concurrent-hashmap.html</guid>
      <pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[对照 JDK 7/25 的 ConcurrentHashMap、NonBlockingHashMap、Linux rhashtable 与 Go sync.Map 的源码，说明并发哈希表真正难的是扩容；实测桶长分布、扩容克隆比例与树化条件，并给出通过 TSan 的分裂有序表实现。]]></description>
    </item>
    
    <item>
      <title>MPMC Channel：环形缓冲的三种同步方式与阻塞唤醒的两种语义</title>
      <link>https://quant67.com/post/algorithms/79-mpmc-channel/mpmc-channel.html</link>
      <guid>https://quant67.com/post/algorithms/79-mpmc-channel/mpmc-channel.html</guid>
      <pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[对照 Go 1.25、crossbeam-channel、DPDK v25.11 源码，拆解有界 channel 的一把锁、逐槽 stamp、两阶段预留三种环与直接交接、通知重试两种唤醒；实测线程停顿、丢失唤醒、公平性与 TSan 报告。]]></description>
    </item>
    
    <item>
      <title>RCU：宽限期的保证、读侧的三种实现与代价的去向</title>
      <link>https://quant67.com/post/algorithms/77-rcu/rcu.html</link>
      <guid>https://quant67.com/post/algorithms/77-rcu/rcu.html</guid>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从宽限期保证的形式陈述出发，对照 liburcu 0.15.7 与 Linux v6.12 源码，说明读侧省掉的 StoreLoad 栅栏由谁补上、'读侧零开销'在哪些配置下成立；实测读侧开销、宽限期延迟、membarrier IPI 转嫁给读者的代价和一个缺栅栏的变异体。]]></description>
    </item>
    
    <item>
      <title>无锁栈：Treiber 栈、ABA、指数退避与消除退避</title>
      <link>https://quant67.com/post/algorithms/73-lockfree-stack/lockfree-stack.html</link>
      <guid>https://quant67.com/post/algorithms/73-lockfree-stack/lockfree-stack.html</guid>
      <pubDate>Tue, 15 Jul 2025 00:00:00 +0000</pubDate>
      <description><![CDATA[Treiber 栈只靠一次 CAS，却要分别处理 ABA、内存回收和争用三件事。本文用确定性复现、守恒测试和 sanitizer 区分前两者，在 4 个逻辑 CPU 上实测指数退避与消除数组，并对照 Linux llist、Windows SList、Boost.Lockfree 的取舍。]]></description>
    </item>
    
    <item>
      <title>Hazard Pointers：发布-验证协议、有界垃圾与栅栏的代价</title>
      <link>https://quant67.com/post/algorithms/75-hazard-pointers/hazard-pointers.html</link>
      <guid>https://quant67.com/post/algorithms/75-hazard-pointers/hazard-pointers.html</guid>
      <pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[按 Michael（TPDS 2004）的条件拆解 hazard pointers：发布后为何要复读、StoreLoad 栅栏防哪种重排、未回收节点的上界从哪来；实测两个变异体、x86 store buffering 和每个指针的开销，对照 Folly、C++26 与乐观遍历之争。]]></description>
    </item>
    
    <item>
      <title>Epoch-Based Reclamation：两个纪元的由来、Crossbeam 的实现与停顿的代价</title>
      <link>https://quant67.com/post/algorithms/76-epoch-reclamation/epoch-reclamation.html</link>
      <guid>https://quant67.com/post/algorithms/76-epoch-reclamation/epoch-reclamation.html</guid>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从 Fraser（2004）的三个 limbo list 出发，推导 EBR 为什么要等两个纪元、垃圾该打哪个纪元的标签；对照 crossbeam-epoch 0.9.18 源码，实测两个变异体、pin 的指令选择、每节点开销、回收速率上限，以及一个被抢占或睡住的读者让垃圾涨到多少。]]></description>
    </item>
    
    <item>
      <title>主动队列管理：RED → CoDel → FQ-CoDel</title>
      <link>https://quant67.com/post/algorithms/71-aqm/aqm.html</link>
      <guid>https://quant67.com/post/algorithms/71-aqm/aqm.html</guid>
      <pubDate>Thu, 07 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[瓶颈队列何时丢包、丢谁的包：对照 RFC 与 Linux v6.12 源码核对 RED、CoDel、FQ-CoDel、PIE 的规则与默认值，用包级离散事件模拟比较四种队列的延迟、吞吐与短流完成时间，并梳理 FQ 与 L4S DualQ 之争。]]></description>
    </item>
    
    <item>
      <title>路由算法：距离向量、链路状态与路径向量的收敛与稳定性</title>
      <link>https://quant67.com/post/algorithms/70-routing-algo/routing-algo.html</link>
      <guid>https://quant67.com/post/algorithms/70-routing-algo/routing-algo.html</guid>
      <pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[在同一 8 节点拓扑上模拟距离向量、链路状态、路径向量在链路故障和目的地失效后的收敛轮数与消息数，对照 RFC 2328、RFC 4271 与 Labovitz、Griffin 等论文，解释 LSA 泛洪、MRAI、路由震荡抑制、策略不收敛和快速重路由各自解决什么、代价是什么。]]></description>
    </item>
    
    <item>
      <title>无锁队列：Michael-Scott 算法与 ABA 问题</title>
      <link>https://quant67.com/post/algorithms/72-lockfree-queue/lockfree-queue.html</link>
      <guid>https://quant67.com/post/algorithms/72-lockfree-queue/lockfree-queue.html</guid>
      <pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[按 PODC 1996 原文复原 Michael-Scott 无锁队列：线性化点、计数指针防 ABA、计数器为何不解决内存回收、每条 CAS 的 C11 内存序，并用 TSan 与线性化检查器实测。]]></description>
    </item>
    
    <item>
      <title>并发跳表：标记删除、乐观加锁与 ConcurrentSkipListMap</title>
      <link>https://quant67.com/post/algorithms/74-concurrent-skiplist/concurrent-skiplist.html</link>
      <guid>https://quant67.com/post/algorithms/74-concurrent-skiplist/concurrent-skiplist.html</guid>
      <pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[跳表插删要改多个指针，靠标记删除或乐观加锁把它们变成一次线性化操作。对照 Pugh、Harris、Fraser、HLLS 与 JDK 21、LevelDB、RocksDB 源码，并用 TSan 与对拍验证实现，实测独占 CPU 与超额订阅两种情形下的吞吐。]]></description>
    </item>
    
    <item>
      <title>负载均衡算法：P2C、平滑加权轮询与过时负载信息</title>
      <link>https://quant67.com/post/algorithms/69-load-balancing/load-balancing.html</link>
      <guid>https://quant67.com/post/algorithms/69-load-balancing/load-balancing.html</guid>
      <pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[从球箱模型与超市模型出发，用离散事件模拟比较随机、轮询、P2C、JSQ 在新鲜与过时负载信息下的平均与 p99 逗留时间，再对照 NGINX 1.26.2、Envoy v1.31.0、gRPC、Finagle 与 Prequal 说明各策略的真实实现与适用边界。]]></description>
    </item>
    
    <item>
      <title>TCP 拥塞控制：从 Jacobson 的 AIMD 到 CUBIC 与 BBR</title>
      <link>https://quant67.com/post/algorithms/66-congestion-control/congestion-control.html</link>
      <guid>https://quant67.com/post/algorithms/66-congestion-control/congestion-control.html</guid>
      <pubDate>Sat, 02 May 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[按 RFC 5681、RFC 9438、BBR 草案与 Linux 源码核对 Reno、CUBIC、BBR 的窗口规则，用包级离散事件模拟复现锯齿、缓冲区排队和 BBR 与 CUBIC 抢带宽的条件，并梳理 BBRv3 的标准化状态与公平性争论。]]></description>
    </item>
    
    <item>
      <title>LSM-tree Compaction 策略：leveling、tiering、lazy leveling 与 RocksDB 的实现</title>
      <link>https://quant67.com/post/algorithms/63-compaction/compaction.html</link>
      <guid>https://quant67.com/post/algorithms/63-compaction/compaction.html</guid>
      <pubDate>Wed, 29 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[拆解 leveling、tiering、lazy leveling 的代价模型，对照 RocksDB 9.7.4 的 leveled、universal、FIFO 源码，用计数模拟器实测 22 种配置的写、读、空间放大，并验证 Monkey 给小层更多 filter 位。]]></description>
    </item>
    
    <item>
      <title>MVCC 实现变体：版本存储、快照可见性与写偏斜</title>
      <link>https://quant67.com/post/algorithms/64-mvcc-variants/mvcc-variants.html</link>
      <guid>https://quant67.com/post/algorithms/64-mvcc-variants/mvcc-variants.html</guid>
      <pubDate>Thu, 30 Apr 2026 00:00:00 +0000</pubDate>
      <description><![CDATA[按 Wu 等人（VLDB 2017）的设计维度对照 PostgreSQL 17、InnoDB 8.4、Oracle、SQL Server、Hekaton 与 TiKV 的 MVCC；用模拟器验证三种可见性写法等价、测量 SSI 误杀，并在 PostgreSQL 上复现写偏斜。]]></description>
    </item>
    
  </channel>
</rss>
