Recent posts

nano-vllm源码阅读 3: Scheduler

1 minute read

在前面文章中我们介绍了代表用户请求的Sequence类,以及负责管理block的BlockManager类。这篇文章将介绍负责调度Scheduler

nano-vllm源码阅读 2: Block Manager

2 minute read

在上一篇文章中,我们介绍了代表用户请求的Sequence类,它通过block_table来追踪存储其KV cache的物理内存块,这篇文章将介绍负责管理这些内存块的BlockManager类

nano-vllm源码阅读 1: Sequence

1 minute read

最近在学习 AI Infra 相关的知识并根据一些教程阅读nano-vllm的源代码,这里记录一下相关内容,我们从Sequence开始,因为在源码中它的dependency比较少,而且代表了用户的每一个请求

从零到一:用 Go 构建一个支持 MVCC 的内存数据库

1 minute read

在这篇文章中,我们将探讨如何使用 Go 语言从零开始构建一个功能强大的内存数据库。这个项目不仅仅是一个简单的键值存储,它还将支持事务、过期时间和并发控制的技术——MVCC(多版本并发控制)。

Architecture of a Database System笔记

19 minute read

This paper presents an architectural discussion of DBMS design principles, including process models, parallel architecture, storage system design, transacti...