Code Wrench
Code Wrench
Mar 12, 2026 · Backend Development

Unlocking Go Server Secrets: How 1Panel Uses cmux, Docker, and Clean Architecture

This article walks through the 1Panel Go codebase, highlighting its clean project layout, the "golden" dependency stack, the step‑by‑step server startup chain, the clever use of cmux for port multiplexing, and robust Docker configuration validation to build a more reliable backend service.

DockerGoProject Layout
0 likes · 9 min read
Unlocking Go Server Secrets: How 1Panel Uses cmux, Docker, and Clean Architecture
ITPUB
ITPUB
Feb 2, 2020 · Backend Development

How Redis Starts: A Deep Dive into server.c Initialization

This article explains the step‑by‑step process Redis follows to launch, from executing the redis‑server binary, initializing the server struct, loading configuration files, setting up data structures, restoring persistence, to entering the event loop.

C programmingEvent LoopRedis
0 likes · 6 min read
How Redis Starts: A Deep Dive into server.c Initialization
Ziru Technology
Ziru Technology
Aug 29, 2019 · Backend Development

Inside Redis: How Initialization and Event Loop Power the Server

This article explains Redis's startup sequence, detailing server initialization, configuration loading, event‑loop creation, supported I/O multiplexing mechanisms, timer and I/O callbacks, and the complete request‑response flow from client command to server reply.

Event LoopI/O MultiplexingRedis
0 likes · 13 min read
Inside Redis: How Initialization and Event Loop Power the Server