Tag

Source Code

0 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
Jun 16, 2025 · Databases

Unlocking Redis 6.0 Multithreaded I/O: How It Works and Boosts Performance

This article explains Redis 6.0's multithreaded I/O feature, covering its background, configuration parameters, execution flow, source code analysis, performance benchmarking against single‑threaded mode, identified limitations, and a brief comparison with Valkey 8.0's advanced I/O design.

DatabaseMultithreaded I/ORedis
0 likes · 22 min read
Unlocking Redis 6.0 Multithreaded I/O: How It Works and Boosts Performance
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 24, 2025 · Backend Development

Understanding How Spring Boot Embeds Tomcat: A Source Code Walkthrough

This article explains how Spring Boot eliminates XML configuration and embeds servlet containers like Tomcat by analyzing Maven dependencies, core startup methods, WebServer creation, and the lifecycle methods that ultimately start and stop the embedded Tomcat instance.

Embedded ServerJavaSource Code
0 likes · 10 min read
Understanding How Spring Boot Embeds Tomcat: A Source Code Walkthrough
Cognitive Technology Team
Cognitive Technology Team
Apr 11, 2025 · Databases

Understanding Redis 7.0.11 Multithreading: Configuration Options and Execution Flow

This article explains how Redis 7.0.11 implements multithreading, detailing the required configuration flags, the stages where threads are activated or deactivated based on client write‑backlog, and the impact on network I/O and command execution.

IO ThreadsMultithreadingRedis
0 likes · 3 min read
Understanding Redis 7.0.11 Multithreading: Configuration Options and Execution Flow
DevOps Operations Practice
DevOps Operations Practice
Aug 16, 2024 · Cloud Native

How to Read and Master Kubernetes Source Code: Tips, Patterns, and Resources

This article explains why mastering Kubernetes is key to cloud computing, outlines its rapid growth and ecosystem support, and provides practical steps, design‑pattern guidance, and community resources for effectively reading and understanding the Kubernetes source code.

DevOpsGoKubernetes
0 likes · 9 min read
How to Read and Master Kubernetes Source Code: Tips, Patterns, and Resources
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 13, 2024 · Databases

Understanding MySQL 8.0 Clone Plugin: Architecture, Implementation, and Comparison with Xtrabackup

This article explains the MySQL 8.0 Clone plugin introduced in version 8.0.17, compares it with Xtrabackup, details its five‑step cloning process, describes the code structure across SQL, plugin, and InnoDB layers, and outlines the page‑archiving subsystem used to track dirty pages during cloning.

Clone PluginInnoDBMySQL
0 likes · 18 min read
Understanding MySQL 8.0 Clone Plugin: Architecture, Implementation, and Comparison with Xtrabackup
Go Programming World
Go Programming World
May 4, 2024 · Backend Development

Deep Dive into Go's flag Package: Usage, Syntax, and Source Code Analysis

This article explains how to use Go's standard flag package for command-line argument parsing, demonstrates various flag definitions and parsing techniques, and provides an in‑depth analysis of its source code, including flag types, syntax, internal structures, and execution flow.

ParsingSource Codebackend
0 likes · 18 min read
Deep Dive into Go's flag Package: Usage, Syntax, and Source Code Analysis
Practical DevOps Architecture
Practical DevOps Architecture
Apr 18, 2024 · Cloud Native

Kubernetes Source Code Deep Dive and Secondary Development Course Outline

This curriculum provides a comprehensive, step‑by‑step exploration of Kubernetes internals—including kubeadm core source, Go module management, cobra libraries, kubeadm init/join processes, client‑go components, code generators, custom resources, operators, and practical deployment automation—aimed at mastering cluster setup, configuration, and advanced development.

Client-goCluster ManagementGo
0 likes · 10 min read
Kubernetes Source Code Deep Dive and Secondary Development Course Outline
Python Programming Learning Circle
Python Programming Learning Circle
Nov 21, 2023 · Game Development

Python Snake Game with Pygame: Design Overview and Full Source Code

This article presents a comprehensive guide to building a classic Snake game in Python using the Pygame library, covering game rules, overall design, required libraries, detailed function explanations, and the complete source code for both normal and wall‑through modes.

PygameSnake GameSource Code
0 likes · 21 min read
Python Snake Game with Pygame: Design Overview and Full Source Code
Architect
Architect
Oct 28, 2023 · Backend Development

How to Effectively Read Redis Source Code: A Step‑by‑Step Guide

This article shares a practical, seven‑step methodology for efficiently reading Redis source code, covering project mapping, prerequisite knowledge, starting from basic modules, identifying the core execution path, tackling complex functions, focusing on main and side branches, and performing targeted gap‑filling to deepen understanding.

RedisSource Codebackend
0 likes · 13 min read
How to Effectively Read Redis Source Code: A Step‑by‑Step Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 20, 2023 · Databases

Understanding the Dynamic Freeze Threshold in OceanBase: Source Code Analysis and Debugging

This article investigates why OceanBase's memory freeze threshold changes during load testing by analyzing monitoring data, inspecting the relevant source code, and demonstrating debugging steps, ultimately revealing that the threshold is computed dynamically based on real‑time memory usage and can be lowered when other memory modules consume space.

DatabaseFreeze ThresholdOceanBase
0 likes · 18 min read
Understanding the Dynamic Freeze Threshold in OceanBase: Source Code Analysis and Debugging
Tencent Database Technology
Tencent Database Technology
May 31, 2023 · Databases

MySQL Character Set Implementation: From System Tables to Source Code

This article explores MySQL character set implementation by analyzing system tables (CHARACTER_SETS and COLLATIONS) in information_schema and tracing internal source code structures like CHARSET_INFO, initialization logic, and client connection handling.

Client-Server ProtocolCollationDatabase Internals
0 likes · 6 min read
MySQL Character Set Implementation: From System Tables to Source Code
Aikesheng Open Source Community
Aikesheng Open Source Community
May 31, 2023 · Databases

Deep Dive into MySQL 8.0.33 Two‑Phase Commit: Source‑Code Analysis

This article provides a detailed source‑code walkthrough of MySQL 8.0.33’s two‑phase commit process, explaining the Prepare and Commit stages, internal structures such as binlog queues, GTID generation, redo‑log flushing, sync handling, and the interactions between InnoDB and the binary log.

GTIDInnoDBMySQL
0 likes · 18 min read
Deep Dive into MySQL 8.0.33 Two‑Phase Commit: Source‑Code Analysis
Aikesheng Open Source Community
Aikesheng Open Source Community
May 16, 2023 · Databases

Analyzing MySQL Slow Query Log Source Code and Debugging SELECT COUNT(*) Issues

This article examines why long‑running SELECT COUNT(*) statements are not recorded in MySQL's slow query log, analyzes the relevant source‑code functions, demonstrates debugging with gdb, identifies the min_examined_row_limit setting as the root cause, and provides practical solutions and bug‑report details.

InnoDBMySQLSlow Query Log
0 likes · 9 min read
Analyzing MySQL Slow Query Log Source Code and Debugging SELECT COUNT(*) Issues
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 19, 2023 · Databases

How MySQL Expands the '*' in SELECT Statements: Source Code Analysis

This article explains how MySQL 8.0.32 expands the '*' in a SELECT statement into all table columns, detailing the lexical parsing, query preparation, and the functions Item_asterisk::itemize, Query_block::prepare, Query_block::setup_wild, and insert_fields through source‑code excerpts.

Database InternalsMySQLSELECT *
0 likes · 10 min read
How MySQL Expands the '*' in SELECT Statements: Source Code Analysis
Python Programming Learning Circle
Python Programming Learning Circle
Feb 25, 2023 · Game Development

Python Mini-Game Collection with Source Code Tutorials

This article presents a series of Python mini-game tutorials, including code for coin-collecting, ping-pong, skiing, space shooter, whack-a-mole, dinosaur runner, match-3, Tetris, snake, 24-point puzzle, alien invasion, tic-tac-toe, and more, offering complete source files and gameplay explanations.

Mini GamesPygamePython
0 likes · 36 min read
Python Mini-Game Collection with Source Code Tutorials
Sanyou's Java Diary
Sanyou's Java Diary
Feb 6, 2023 · Backend Development

Master Reading Open‑Source Code: 18 Proven Strategies for Java Projects

This guide explains why reading source code matters and presents 18 practical techniques—covering JDK fundamentals, design patterns, official documentation, module analysis, demo‑first approach, purposeful reading, and effective note‑taking—to help developers confidently explore Java open‑source projects like RocketMQ.

DemoJavaSource Code
0 likes · 15 min read
Master Reading Open‑Source Code: 18 Proven Strategies for Java Projects
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 24, 2022 · Frontend Development

Debugging React Source Code with Webpack Alias and Custom CRA Configuration

This guide walks through creating a React app, downloading the React source, building it, linking the packages, configuring webpack aliases, fixing import paths, disabling ESLint, adjusting environment variables, and resolving internal React errors so you can edit and debug the original React source directly in the browser.

ReactSource CodeWebpack
0 likes · 11 min read
Debugging React Source Code with Webpack Alias and Custom CRA Configuration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 14, 2022 · Frontend Development

Deep Dive into Vue Router 4 Component Navigation Guards

This article explains the internal implementation of component‑level navigation guards in Vue Router 4, covering guard categories, the full navigation lifecycle, the execution mechanism, and detailed source‑code analysis with examples of extractComponentsGuards, beforeRouteUpdate, beforeRouteEnter, and beforeRouteLeave.

Component GuardJavaScriptNavigation Guard
0 likes · 12 min read
Deep Dive into Vue Router 4 Component Navigation Guards
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2022 · Frontend Development

Deep Dive into Vue Router 4 Navigation Guard Source Code

This article thoroughly explains the core mechanisms of Vue Router 4 navigation guards, covering global, per‑route, and component guards, their classification, execution flow, and the underlying source‑code implementations such as useCallbacks, guardToPromiseFn, and runGuardQueue.

JavaScriptNavigation GuardRouting
0 likes · 13 min read
Deep Dive into Vue Router 4 Navigation Guard Source Code
Tencent Cloud Developer
Tencent Cloud Developer
Aug 22, 2022 · Fundamentals

Understanding Go's Context: Source Code Analysis and Practical Usage

The article explains Go's context package by dissecting its source‑code implementations—emptyCtx, valueCtx, cancelCtx, and timerCtx—showing how the API (Background, WithCancel, WithTimeout, WithDeadline, WithValue) builds a tree‑structured cancellation and timeout system that simplifies goroutine lifecycle management and request‑scoped data propagation.

CancellationConcurrencyGo
0 likes · 19 min read
Understanding Go's Context: Source Code Analysis and Practical Usage