zqw's notes
Posts About
zqw's notes
Cancel
PostsAbout

Building a Mini Filesystem: Custom FS with FUSE + Go

Paul published on 2021-08-10 included in Linux

The best way to learn filesystems is to write one yourself. This post uses FUSE + Go to implement an in-memory filesystem with basic read/write operations, deep-diving into core concepts like inode and block.

Read More
 Filesystem, FUSE, Go

Redis Eviction Deep Dive: LRU vs LFU vs TTL Engineering Trade-offs

Paul published on 2021-07-03 included in Performance

Textbook LRU uses a doubly-linked list + HashMap. But why does Redis use “approximate LRU”? This post dives into Redis source code to analyze the engineering trade-offs behind different eviction strategies.

Read More
 Redis, Caching, Source Code Analysis

Linux Boot Process: Complete Guide from Power Button to Login

Paul published on 2021-05-20 included in Linux

To be a solid systems engineer, you need to deeply understand the Linux boot process. Only by knowing “what normal looks like” can you quickly troubleshoot when things go wrong. This post walks through every stage from power button to login screen.

Read More
 Boot Process, Systemd, Debugging

Hugo Blog CI/CD: GitHub Actions Auto-Build and Multi-Environment Deployment

Paul published on 2021-03-21 included in Linux

From the early days of hugo && scp to Git Push-triggered auto-deployment — this post documents the evolution of my Hugo blog CI/CD setup, along with production-grade GitHub Actions best practices.

Read More
 CI/CD, GitHub Actions, Automation

Linux Desktop Customization: Flatpak Theme Integration and Container Isolation Principles

Paul published on 2021-01-26 included in Linux

A simple requirement: make a Flatpak-installed PDF reader support dark mode. But solving it involves Flatpak’s sandbox mechanism, filesystem mounts, and environment variable injection — concepts highly similar to Docker/K8s containerization.

Read More
 Containers, Sandbox, Namespaces

Bit Operations in Practice: From Bitmap Indexes to High-Performance Permission Systems

Paul published on 2021-01-11 included in Go

Bit operations aren’t just interview questions. From Redis Bitmaps and Kafka ACLs to Linux file permissions, bit operations are fundamental to high-performance systems. This post demonstrates bit operations in real systems through practical examples.

Read More
 Bit Operations, Performance, System Design
  • 1
  • 2
  • 3
  • 4
  • 5
2019 - 2026 xxxx | CC BY-NC 4.0