<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>liyu&apos;s blog’s Blog</title><description>一个 AI 深度使用者的技术随想。全栈开发、大模型算法、Agent 开发、网络安全与生活随笔。</description><link>https://blog.lyllink.top</link><item><title>2026 年我的全栈与 AI 技术栈演进：从工程底座到 Agent 与 RAG 生态</title><link>https://blog.lyllink.top/fullstack-tech-stack-2026</link><guid isPermaLink="true">https://blog.lyllink.top/fullstack-tech-stack-2026</guid><description>深入分享我在 2026 年的全栈与 AI 混合技术栈架构：以 Claude Code 和 Pi Agent 为主力编程助手，以 GLM 为核心基座大模型，以 Python + FastAPI + LangGraph + RAG 为 AI 引擎，并探索 FastMCP、FastGPT 与 RAGFlow 的企业级落地。</description><pubDate>Thu, 27 Aug 2026 16:00:00 GMT</pubDate></item><item><title>Java 并发编程实战：从 RAG 记忆加载看 CompletableFuture 异步编排与容错降级</title><link>https://blog.lyllink.top/java-concurrency-completablefuture-rag-memory</link><guid isPermaLink="true">https://blog.lyllink.top/java-concurrency-completablefuture-rag-memory</guid><description>在高并发全栈后端开发中，如何优雅地将多路独立 I/O 调用的总耗时从线性累加压缩到最大单次 RT？以大模型 RAG 记忆加载场景为例，深度解构 CompletableFuture.supplyAsync、allOf 屏障等待、线程池物理隔离、无锁结果聚合与 WithFallback 舱壁降级设计的核心细节。</description><pubDate>Thu, 27 Aug 2026 15:00:00 GMT</pubDate></item><item><title>AI 大模型 Ragent 项目：长会话 Token 爆炸？会话摘要压缩策略与水位线机制深度解析</title><link>https://blog.lyllink.top/ragent-memory-summary-compression-strategy</link><guid isPermaLink="true">https://blog.lyllink.top/ragent-memory-summary-compression-strategy</guid><description>当多轮对话聊到 30 甚至 50 轮，滑动窗口滑走了开头的关键约束、全量保留又会挤爆 Token 上下文，RAG 系统该如何破局？深入剖析 Ragent 记忆系统中的增量摘要压缩算法、lastMessageId 水位线推进机制、攒批压缩优化（summaryBatchSize）、Prompt 绝对禁止记录答案的设计哲学以及 Redisson 分布式锁防重实践。</description><pubDate>Thu, 27 Aug 2026 09:30:00 GMT</pubDate></item><item><title>AI 大模型 Ragent 项目：会话记忆系统设计与多轮对话状态管理实践</title><link>https://blog.lyllink.top/ragent-conversation-memory-system-architecture</link><guid isPermaLink="true">https://blog.lyllink.top/ragent-conversation-memory-system-architecture</guid><description>大语言模型 API 天然是无状态的，如何让每次独立的请求表现为连贯自然的连续对话？深入剖析 Ragent 问答流水线阶段一（loadMemory）背后的三层记忆架构、异步并发拉取与容错降级、滑动窗口规整（normalizeHistory）、loadAndAppend 时序避坑以及结构化 Prompt 上下文注入顺序。</description><pubDate>Thu, 27 Aug 2026 08:00:00 GMT</pubDate></item><item><title>阿里开源 TTL 原理解析：跨线程池上下文透传与 RAG 效率/成本追踪实战</title><link>https://blog.lyllink.top/ttl-principles-and-rag-trace-latency-cost-observability</link><guid isPermaLink="true">https://blog.lyllink.top/ttl-principles-and-rag-trace-latency-cost-observability</guid><description>深入剖析阿里巴巴开源 TransmittableThreadLocal (TTL) 的底层机制（Capture、Replay、Restore 与 Holder 弱引用字典），彻底破解线程池复用下的上下文丢失与污染困境。结合生产级 RAG 架构，实战解析如何利用全局 traceId 实现多路并发检索归因、分阶段耗时（TTFT/TBT）拆解与单次请求 Token 级成本精细化核算。</description><pubDate>Wed, 26 Aug 2026 09:30:00 GMT</pubDate></item><item><title>AI 大模型 Ragent 项目：知识问答在后端经历的八个阶段与三大短路点</title><link>https://blog.lyllink.top/ragent-knowledge-qa-eight-stages-architecture</link><guid isPermaLink="true">https://blog.lyllink.top/ragent-knowledge-qa-eight-stages-architecture</guid><description>从用户在前端输入一句话到打字机式流式响应返回，生产级 RAG &amp; Agent 问答系统后端究竟经历了什么？深度解构 Ragent 项目中 StreamChatPipeline 的八阶段线性编排、三大短路分支、数据总线设计以及前置幂等/限流/Trace 工程防线。</description><pubDate>Wed, 26 Aug 2026 08:00:00 GMT</pubDate></item><item><title>梦开始的地方：记两次架构设计上的启蒙</title><link>https://blog.lyllink.top/first-internship-technical-review-reflections</link><guid isPermaLink="true">https://blog.lyllink.top/first-internship-technical-review-reflections</guid><description>回望初入职场时的第一次实习，自己像一块干瘪的海绵在代码与业务的海洋里疯狂汲取养分。从被带教老师一句&quot;你这个东西是在内存中吧&quot;问住，到基因报告入库方案中见识到共享磁盘挂载的妙用，这两次技术评审如何打破了我的学生思维，开启了真正的工程架构认知。</description><pubDate>Wed, 26 Aug 2026 06:30:00 GMT</pubDate></item><item><title>我训练出了一个「人工智障」：中文 LLaMA2 (204M) SFT 微调翻车实录与深度复盘</title><link>https://blog.lyllink.top/myllama2-sft-finetune-failure-postmortem</link><guid isPermaLink="true">https://blog.lyllink.top/myllama2-sft-finetune-failure-postmortem</guid><description>在上一篇完成 Kaggle GPU 上的 LoRA SFT 微调后，满心欢喜地启动推理测试，结果却令人哭笑不得：基座模型还能头头是道地接龙，微调后却退化成了无限复读机与胡言乱语的&quot;人工智障&quot;。本文结合欠拟合、重复惩罚缺失与 LoRA 容量等硬核成因进行深度诊断，给出针对性重构方案。</description><pubDate>Wed, 26 Aug 2026 04:30:00 GMT</pubDate></item><item><title>从预训练到指令微调：中文 LLaMA2 (204M) 原生 LoRA SFT 实战与 Kaggle GPU 避坑指南</title><link>https://blog.lyllink.top/myllama2-sft-lora-finetune-kaggle</link><guid isPermaLink="true">https://blog.lyllink.top/myllama2-sft-lora-finetune-kaggle</guid><description>完整记录中文 LLaMA2（204M 参数）从预训练向 SFT 指令微调演进的全流程。深入剖析 Loss Masking 数据管道、原生手写 LoRA/QLoRA 模块实现，并深度复盘 Kaggle 云端 GPU 迁移中的只读文件系统、Git LFS 假死、GPU 架构兼容与跨设备张量对齐四大经典工程踩坑。文末联动 AstrBot Agent 微信机器人实现 GPU 训练定时看护。</description><pubDate>Tue, 25 Aug 2026 16:00:00 GMT</pubDate></item><item><title>云端智能运维实战：基于 AstrBot + Mihomo + 宝塔 MCP 打造全能运维 Agent 与联调避坑指南</title><link>https://blog.lyllink.top/astrbot-mihomo-baota-mcp-intelligent-ops</link><guid isPermaLink="true">https://blog.lyllink.top/astrbot-mihomo-baota-mcp-intelligent-ops</guid><description>详细记录在一台 4C4G3M 国内云服务器上，如何使用 AstrBot 作为 Agent 核心框架，通过 Mihomo 容器实现 Google Gemini API 的精准海外出口分流，并打通宝塔面板官方 MCP 服务的全过程。深度复盘自签名证书注入、PEM 解析损坏、协议选型（405）、IP 白名单鉴权（403/406）与安全加固等踩坑实战。</description><pubDate>Tue, 25 Aug 2026 10:00:00 GMT</pubDate></item><item><title>大模型分词器（Tokenizer）核心原理与 BPE 算法图解</title><link>https://blog.lyllink.top/llm-tokenizer-bpe-principles</link><guid isPermaLink="true">https://blog.lyllink.top/llm-tokenizer-bpe-principles</guid><description>一文讲清大模型分词器的本质：从“为什么需要子词分词”，到结合具体数据的 BPE 训练推导，再到现代大模型标配 BBPE 的核心机制。</description><pubDate>Thu, 20 Aug 2026 08:00:00 GMT</pubDate></item><item><title>大模型位置编码核心解析：从绝对位置编码到 RoPE 旋转位置编码</title><link>https://blog.lyllink.top/positional-encoding-evolution-rope</link><guid isPermaLink="true">https://blog.lyllink.top/positional-encoding-evolution-rope</guid><description>一文搞懂 Transformer 位置编码的本质：为什么需要位置编码？从 APE 的加法注入到 RoPE 的复数旋转几何证明，再到长上下文扩展（PI、NTK、YaRN、Base 缩放）演进全貌。</description><pubDate>Wed, 19 Aug 2026 09:00:00 GMT</pubDate></item><item><title>深入大模型注意力演进：MHA、MQA 与 GQA 的张量计算与优缺点全景剖析</title><link>https://blog.lyllink.top/llm-attention-mechanisms-and-memory-optimizations</link><guid isPermaLink="true">https://blog.lyllink.top/llm-attention-mechanisms-and-memory-optimizations</guid><description>聚焦大模型三大核心注意力机制：多头注意力（MHA）、多查询注意力（MQA）与分组查询注意力（GQA）。从张量维度（Tensor Shapes）与计算流出发，深度解读前向传播中矩阵的行、列、元素物理含义，剖析三者的优缺点与显存带宽权衡。</description><pubDate>Wed, 19 Aug 2026 08:00:00 GMT</pubDate></item><item><title>从键入网址到屏幕亮起：硬核拆解一次网络请求的奇幻漂流</title><link>https://blog.lyllink.top/what-happens-when-you-type-a-url</link><guid isPermaLink="true">https://blog.lyllink.top/what-happens-when-you-type-a-url</guid><description>当你在浏览器地址栏输入 URL 并按下回车，到网页绚丽呈现，这背后究竟经历了什么？从 HTTP 报文构建、DNS 分级解析，到操作系统内核协议栈封包、ARP 寻址，再到网卡、交换机、路由器的物理传输与服务端响应、浏览器渲染，本文带你完成一次穿透软硬件的全景探秘。</description><pubDate>Mon, 17 Aug 2026 00:00:00 GMT</pubDate></item><item><title>KNN vs ANN：搜广推与向量检索中的算法原理、性能权衡与工程选型</title><link>https://blog.lyllink.top/knn-vs-ann-search-ad-rec</link><guid isPermaLink="true">https://blog.lyllink.top/knn-vs-ann-search-ad-rec</guid><description>从暴力 KNN 的 O(N × D) 算力瓶颈，到 IVF、HNSW、IVF-PQ 的亚线性近似检索原理；从搜广推全链路端到端 SLA 预算分配，到工业级向量索引在维度、内存、动态更新与属性过滤下的全景选型决策。</description><pubDate>Sat, 15 Aug 2026 18:00:00 GMT</pubDate></item><item><title>当双塔模型遇见 RAG：召回与检索，殊途同归</title><link>https://blog.lyllink.top/dual-tower-meets-rag-vector-retrieval</link><guid isPermaLink="true">https://blog.lyllink.top/dual-tower-meets-rag-vector-retrieval</guid><description>搜广推系统中的双塔模型和 RAG 中的向量检索，一个诞生于推荐系统，一个兴起于大模型时代。当我把两者的架构图放在一起时，突然发现它们竟如此相似——本质上都是在向量空间中寻找最近的&quot;灵魂伴侣&quot;。</description><pubDate>Sat, 15 Aug 2026 12:00:00 GMT</pubDate></item><item><title>搜索算法基石：从 TF-IDF 到 BM25 的演进之路</title><link>https://blog.lyllink.top/search-algorithm-tfidf-bm25</link><guid isPermaLink="true">https://blog.lyllink.top/search-algorithm-tfidf-bm25</guid><description>在搜广推系统中，搜索是最核心的能力之一。本文从信息检索的经典算法 TF-IDF 出发，深入剖析其原理与局限，再引出工业界广泛使用的 BM25 算法，探讨它如何优雅地解决 TF-IDF 的不足。</description><pubDate>Sat, 15 Aug 2026 00:00:00 GMT</pubDate></item><item><title>你好，世界：我为什么要写博客</title><link>https://blog.lyllink.top/hello-world</link><guid isPermaLink="true">https://blog.lyllink.top/hello-world</guid><description>作为一个软件工程研究生，我决定开始记录自己的技术探索和思考。这篇文章聊聊我为什么选择写博客，以及我希望在这里分享什么。</description><pubDate>Fri, 14 Aug 2026 00:00:00 GMT</pubDate></item><item><title>从 LangGraph 到自主 Agent：我的 AI Agent 开发之路</title><link>https://blog.lyllink.top/my-agent-dev-journey</link><guid isPermaLink="true">https://blog.lyllink.top/my-agent-dev-journey</guid><description>从最初接触 LangChain 到深入 LangGraph 构建多步骤 Agent 工作流，这篇文章分享我在 AI Agent 开发领域的探索历程和一些实践心得。</description><pubDate>Mon, 10 Aug 2026 00:00:00 GMT</pubDate></item><item><title>Get started with AstroWind to create a website using Astro and Tailwind CSS</title><link>https://blog.lyllink.top/get-started-website-with-astro-tailwind-css</link><guid isPermaLink="true">https://blog.lyllink.top/get-started-website-with-astro-tailwind-css</guid><description>Start your web journey with AstroWind – harness Astro and Tailwind CSS for a stunning site. Explore our guide now.</description><pubDate>Sat, 12 Aug 2023 00:00:00 GMT</pubDate></item><item><title>Useful tools and resources to create a professional website</title><link>https://blog.lyllink.top/useful-resources-to-create-websites</link><guid isPermaLink="true">https://blog.lyllink.top/useful-resources-to-create-websites</guid><description>Explore vital tools and resources for a sleek website. From design to functionality, our guide elevates your online presence.</description><pubDate>Wed, 09 Aug 2023 00:00:00 GMT</pubDate></item><item><title>How to customize AstroWind template to suit your branding</title><link>https://blog.lyllink.top/how-to-customize-astrowind-to-your-brand</link><guid isPermaLink="true">https://blog.lyllink.top/how-to-customize-astrowind-to-your-brand</guid><description>Personalize AstroWind template for your brand. Our guide unlocks seamless customization steps for a unique online presence.</description><pubDate>Sun, 06 Aug 2023 00:00:00 GMT</pubDate></item><item><title>AstroWind template in depth</title><link>https://blog.lyllink.top/astrowind-template-in-depth</link><guid isPermaLink="true">https://blog.lyllink.top/astrowind-template-in-depth</guid><description>While easy to get started, Astrowind is quite complex internally.  This page provides documentation on some of the more intricate parts.</description><pubDate>Mon, 17 Jul 2023 00:00:00 GMT</pubDate></item><item><title>Markdown elements demo post</title><link>https://blog.lyllink.top/markdown-elements-demo-post</link><guid isPermaLink="true">https://blog.lyllink.top/markdown-elements-demo-post</guid><description>Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor.</description><pubDate>Mon, 02 Jan 2023 00:00:00 GMT</pubDate></item></channel></rss>