Blog posts

2025

基础架构技能树

1 minute read

Published:

根据宝哥写的《我所知道的基础架构》进行总结,整理职业生涯中从 IT 运维到DevOps,再到 SRE,不同层级所需要的知识点

基础架构技能树

1 minute read

Published:

根据宝哥写的《我所知道的基础架构》进行总结,整理职业生涯中从 IT 运维到DevOps,再到 SRE,不同层级所需要的知识点

网络面试题 Part2:高性能网络优化

3 minute read

Published:

在高频量化公司的面试中,听到的一些网络问题。从最基础的 TCP 三次握手开始,顺势聊到了高频交易中实用的一些网络优化方案。结合后续网上补课看到的一些技术,总结的一下这些题目相关的网络入门知识。

网络面试题 Part1:协议和子网

3 minute read

Published:

在高频量化公司的面试中,听到的一些网络问题。从最基础的 TCP 三次握手开始,顺势聊到了高频交易中实用的一些网络优化方案。结合后续网上补课看到的一些技术,总结的一下这些题目相关的网络入门知识。

DDIA Chapter 10 Batch Processing

less than 1 minute read

Published:

The blog excerpt discusses the evolution of data models, comparing relational and document models, highlighting the limitations of each, and exploring the rise of NoSQL and graph data models for handling complex relationships like many-to-many.

DeepSeek API 初体验:使用 DeepSeek 为你的Github博客编写AI摘要

3 minute read

Published:

关于如何使用 DeepSeek 来为 GitHub 博客自动生成摘要。通过集成 DeepSeek API 和 GitHub Actions,来实现了新博客提交后自动生成摘要的工作流。从本地测试到线上部署都进行了清晰的操作说明,为开发节省了时间和精力。

DDIA Chapter 05 Replication

less than 1 minute read

Published:

The blog excerpt discusses the evolution of data models, comparing relational and document models, highlighting the limitations of each, and exploring the rise of NoSQL and graph data models for handling complex relationships like many-to-many.

DDIA Chapter 02 Data Models and Query Languages

less than 1 minute read

Published:

The blog excerpt discusses the evolution of data models, comparing relational and document models, highlighting the limitations of each, and exploring the rise of NoSQL and graph data models for handling complex relationships like many-to-many.

DDIA Chapter 01 Reliable, Scalable and Maintainable Applications

8 minute read

Published:

Notes from Designing Data-Intensive Applications Chapter 1, covering reliability, scalability, and maintainability in data systems. Key topics include handling hardware/software faults, human errors, load and performance analysis, operability, simplicity, and evolvability. Highlights include Twitter’s architecture evolution and techniques like abstraction, monitoring, and testing to build robust, efficient, and adaptive systems.

2024

Kernel Tuning for Kubernetes

1 minute read

Published:

This blog post discusses how to optimize Linux kernel parameters for improving Kubernetes node performance. It covers four key areas: networking, memory management, file systems, and process scheduling. By tuning parameters like connection tracking, TCP buffer sizes, memory overcommitment, and file descriptor limits, Kubernetes clusters can achieve better stability and performance. Additionally, it explains how to deploy these optimizations using Ansible for automated configuration across Kubernetes nodes.

Container Deepdive in Kubernetes

less than 1 minute read

Published:

This blog post explores the role of the “pause container” in Kubernetes for process isolation and resource cleanup within Pods. It also covers the evolution of kube-proxy modes, from user-space proxy to iptables and ipvs, highlighting how Kubernetes optimizes network traffic management and load balancing for improved performance at scale.

New Trend of GPT: GPT Memory

1 minute read

Published:

The introduction of GPT memory marks a significant step forward in creating more personalized and context-aware AI interactions. In this article, we explore how GPT memory works, how it enhances the conversational experience, and the potential benefits it offers for various applications. With memory, GPT can remember past interactions, adjust its responses accordingly, and offer a more seamless, coherent dialogue. We’ll also discuss the privacy and customization aspects of memory, as well as its implications for the future of AI-powered communication.

Enforcing Label-based Pod Restrictions with Admission Webhook

less than 1 minute read

Published:

In Kubernetes, ensuring that only pods with specific labels can be deployed is a common requirement for enforcing organization policies or resource allocation strategies. This blog demonstrates how to use an Admission Webhook to restrict pod creation based on labels. By implementing a custom webhook, you can control which pods are allowed to start, ensuring that only those with the required labels meet your deployment criteria. This solution provides an additional layer of validation, enhancing the security and consistency of your Kubernetes clusters.

GPT with Canvas

1 minute read

Published:

GPT中关于Canvas的新用法

2023

Core Addons in Kubernetes

4 minute read

Published:

Some details about three core addons(CNI, CoreDNS, KubePorxy) work for control plane of Kuberenetes.

2022

From HCI to Proxmox

1 minute read

Published:

超融合架构HCI的一些基础知识…

Nginx Basic Function

less than 1 minute read

Published:

Nginx的启动及信号格式…

Ubuntu 20.x 新功能:Autoinstall 应答文件

3 minute read

Published:

公司之前用了好多年的 preseed,实际上不仅难看懂,写起来也十分抽象。在公司升级 Ubuntu 到 20.x 版本过程中,发现了社区更新了应答文件编写方式,开始提倡 Autoinstall 应答文件,就升级流程做个简单的总结

Ansible 进阶用法:debug 与 流程控制

less than 1 minute read

Published:

就 Ansible 测试工作中获得的经验做的一些总结,主要是对如何通过 debug 参数来提升测试效率,以及如何通过调整系统变量来指定测试的部分。

Ubuntu Network Tools

1 minute read

Published:

随着 ifconfig 和 netstat 的淘汰,ip 和 ss 已经成为 Ubuntu 系统中管理网络的现代工具。这篇专门研究了 ip 命令的基本用法,帮助系统管理员告别旧命令,并展示如何通过 netplan 检查网络配置的有效性。

An Introduction to Ceph

less than 1 minute read

Published:

Ceph is an open-source distributed storage system designed to provide highly scalable and reliable storage solutions.

GIL 概念的 Deepdive

3 minute read

Published:

What is GIL and Why we have to bare the GIL in Python?

Ipmi Tools

less than 1 minute read

Published:

ipmi远控,也叫作BMC

leetcode DFS Collection

1 minute read

Published:

关于模拟的五道题,尤其注意回溯和深度搜索的使用

Ubuntu apt Usage

2 minute read

Published:

关于Ubuntu下包管理软件apt的相关资料

Proxmox 运维手册

less than 1 minute read

Published:

之前公司一直在使用 Proxmox 作为虚拟机解决方案,但 Proxmox 单薄的管理能力,实际上在国外一直是作为家用级别在使用。这里结合公司的用法,总结一下日常对 Proxmox 的运维经验。

2021

ZFS 基础知识

2 minute read

Published:

Some basic knowledge on ZFS as storage solution…

Netbox:企业级网络设备管理方案

4 minute read

Published:

公司网络组同事结合 Netbox 构建了一套新的网络设备监控方案,参考他们的方案,在家里的网络设备上做个Demo,也非常有效的管理了家用网络设备。

Linux网络诊断工具

less than 1 minute read

Published:

谈谈Ubuntu中常用的几个网络诊断工具

Linux File System

less than 1 minute read

Published:

Linux文件系统中的基础概念记录

Ubuntu PXE Research

less than 1 minute read

Published:

Start Project in Pony: 使用 iPXE 优化Ubuntu preseed 自动化流程

Kubernetes Introduction

7 minute read

Published:

Kubernetes官网中,对于Kubernetes的基础介绍及实验…

Ansible Basic

1 minute read

Published:

Ansible basic architecture

LVS 基础知识

1 minute read

Published:

关于LVS负载均衡配置的一些实例分析

Linux Kernel 初探

less than 1 minute read

Published:

A quick introduction to virtualization and hypervisors…

1105.填充书架

less than 1 minute read

Published:

“将数组中不同宽度、高度的书目放在指定长度的书架上,并计算书架最小高度”

Docker Advanced Session

less than 1 minute read

Published:

[狂神说JAVA系列]中,秦疆关于Docker系列的进阶课程

LC1104 二叉树寻路

less than 1 minute read

Published:

寻找之字形树上,指定节点到根节点之间的路径

LC671 二叉树中第二小的节点

less than 1 minute read

Published:

给定一个非空特殊的二叉树,每个节点都是正数,并且每个节点的子节点数量只能为2或0

LC23 合并K个升序链表

1 minute read

Published:

根据链表数组,每个链表都是升序。将所有链表合并成一个升序列表

LC179 最大数

less than 1 minute read

Published:

给定一组非负整数,重新排列每个数的顺序(每个数不可拆分)使之组成一个最大的整数…

InnoDB 存储引擎的深入分析

1 minute read

Published:

InnoDB的存储引擎系统,关于线程、内存、Checkpoint、Master Thread的实现细节,以及InnoDB五项特性

MySQL 进阶教程

4 minute read

Published:

关于InnoDB中事务与锁的实现方案的初步学习

Nginx Cookbook Session 01

3 minute read

Published:

通过 Nginx 服务可以构建四层/七层负载均衡,并通过HTTP协议与TCP协议来支持Session保持,健康状态检测

Linux 故障排查小节

3 minute read

Published:

简单总结下在 Linux 环境中常用的系统监控命令与监控工具,帮助全面了解如何监控和分析系统性能,确保服务器的稳定运行。重点讨论磁盘、内存、CPU以及网络的监控工具和方法。

Python Decorator

1 minute read

Published:

A function returning another function…

2018

Pagination in PHP

less than 1 minute read

Published:

实现查询结果分页

First Project of ElastiSearch

1 minute read

Published:

故事要从boss吃了安利,有一天忽然心血来潮想要搞一个内部全文检索系统开始说起…

Build RESTful API in PHP

less than 1 minute read

Published:

【转载】如何使用PHP调用API接口(如何POST一个JSON格式的数据给Restful服务)

2016

Git Operation

1 minute read

Published:

Just First Try on Git