Blog posts

2025

DDIA Chapter 10

less than 1 minute read

Published:

0x01 根据实时性点系统分类

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

3 minute read

Published:

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

DDIA Chapter 05

less than 1 minute read

Published:

Why you want to replicate data?

DDIA Chapter 02 Data Model and DS

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

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.

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的新用法

less than 1 minute read

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 Autoinstall

3 minute read

Published:

用了好多年的preseed终于可以换一个能看懂的版本了…

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 Introduction

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 Handbook

less than 1 minute read

Published:

A handbook to setup your own homemade proxmox cluster…

2021

Linux Network Tools

less than 1 minute read

Published:

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

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 Startup

1 minute read

Published:

Ansible basic architecture

LVS Basic Knowledge

1 minute read

Published:

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

Linux Kernel Session

less than 1 minute read

Published:

A quick introduction to virtualization and hypervisors…

Docker Advanced Session

less than 1 minute read

Published:

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

leetcode 1104

less than 1 minute read

Published:

The blog discusses LeetCode problem 1104, which involves finding the path from the root to a given node in a binary tree labeled in a zigzag manner, with a Python solution provided to navigate and reverse the labels accordingly.

leetcode 1104

less than 1 minute read

Published:

【二叉树寻路】寻找之字形树上,指定节点到根节点之间的路径…

leetcode 863

less than 1 minute read

Published:

给定一个二叉树,求距离某个节点为K的所有节点

leetcode 671

less than 1 minute read

Published:

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

leetcode 23

1 minute read

Published:

【最长递增子序列】根据链表数组,每个链表都是升序。将所有链表合并成一个升序列表…

leetcode 300

less than 1 minute read

Published:

给定一个数组,从中寻找最长的递增子序列…

leetcode 179

less than 1 minute read

Published:

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

leetcode 1458

less than 1 minute read

Published:

从两个数列中寻找相同长度的两个子序列,使之点积最大…

MySQL Deepdive on InnoDB Storage Engine

1 minute read

Published:

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

Nginx Cookbook Session 01

3 minute read

Published:

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

Linux Monitoring Tools

1 minute read

Published:

从磁盘、内存、CPU角度谈谈Linux常用监控命令

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