Tag: design-system
All the articles with the tag "design-system".
-
System Design - How Distributed Stream Processing Works (Apache Flink)
How distributed stream processing works: dataflow graphs, event time vs processing time, windowing, watermarks, state management, checkpointing, and exactly-once semantics — with source code walkthrough from Apache Flink.
-
System Design - How Regex Engines Work
How regex engines work under the hood: Thompson's NFA construction, NFA-to-DFA conversion, backtracking, and how real implementations like RE2 and PCRE differ in their approach to matching.
-
System Design - How Compilers Turn Source Code into Machine Code
How compilers work: the full pipeline from source code to executable — lexing, parsing, AST construction, semantic analysis, intermediate representation, optimization passes, and code generation, with source code examples from real compilers.
-
System Design - How Time-Series Compression Works
How time-series databases compress timestamps and floating-point values: delta-of-delta encoding, XOR-based float compression, the Facebook Gorilla paper, and a source code walkthrough of Prometheus TSDB's chunk encoding.
-
System Design - How the Linux Boot Process Works
How a Linux machine boots: from pressing the power button through firmware (BIOS/UEFI), bootloader (GRUB2), kernel decompression, the init process, and systemd — with source code walkthrough from the Linux kernel.
-
System Design - How the ELF Binary Format and Program Loading Work
How the ELF binary format works on Linux: file structure, headers, sections vs segments, how the kernel loads a program via execve and load_elf_binary, dynamic linking with PLT/GOT, and the journey from ./a.out to the first instruction.