Tag: #architecture
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 100 posts
virt-launcher, libvirt, QEMU: Where and How the Actual VM Process Runs
Traces how the command server, libvirt connection, domain event monitor, and guest agent poller inside the virt-launcher Pod mesh together to execute the actual QEMU process.
2026-03-20 · 5 min read #architecture#kubevirt#qemu#libvirt#virt-launcherThe Moment a User Request Becomes a VMI: virt-api and Admission Flow
Describes what validation, defaulting, subresource handling, and migration request creation virt-api performs as KubeVirt's API entry point, based on source code.
2026-03-20 · 5 min read #architecture#kubevirt#kubernetes#virtualization#apiKubeVirt Source Code Reading Map: Where to Start to Grasp the Entire Structure
Proposes a reading map for grasping the overall KubeVirt structure quickly by reading source code in the order of API types, controller, node agent, launcher, network, migration, and kernel integration.
2026-03-20 · 6 min read #architecture#kubevirt#source-code#reading-map#kubernetesKubeVirt Network 2: Comparing bridge, masquerade, passt, and SR-IOV Bindings
Explains how KubeVirt's main network bindings -- bridge, masquerade, passt, and SR-IOV -- each configure guest NICs, and how they differ in performance, connectivity, and migration characteristics.
2026-03-20 · 5 min read #architecture#kubevirt#networking#multus#sriovLive Migration 2: The Real Meaning of Pre-copy, Post-copy, Dirty Pages, and Auto-converge
Explains the meaning of pre-copy, post-copy, dirty pages, auto-converge, and pause transitions in the actual data transfer stage of KubeVirt live migration, based on source code.
2026-03-20 · 6 min read #architecture#kubevirt#live-migration#libvirt#qemuHow KubeVirt Runs VMs on Pods
A source-code-level dissection of how KubeVirt runs VMs by reusing Pod scheduling, Pod networking, and Pod storage without modifying Kubernetes itself.
2026-03-20 · 6 min read #architecture#kubevirt#kubernetes#virtualization#qemuCPU, Memory, NUMA, HugePages: How KubeVirt Aligns the Resource Model
Explains how KubeVirt translates VMI CPU and memory requests into launcher Pod resource requests, memory overhead, CPU pinning, NUMA, and hugepages models.
2026-03-20 · 5 min read #architecture#kubevirt#kubernetes#numa#hugepagesHow VMI Spec Gets Converted to libvirt Domain XML
Explains how KubeVirt's converter transforms VMI spec into libvirt domain spec and XML, and how disks, NICs, CPU, and security options are reinterpreted in the process.
2026-03-20 · 5 min read #architecture#kubevirt#libvirt#qemu#domain-xmlvirt-controller Deep Dive: Creating VM Pods with Informers, Queues, and Reconcile
Dissects how virt-controller watches VMIs, Pods, PVCs, and migrations, creates launcher Pods, and propagates state through informers and reconcile loops.
2026-03-20 · 6 min read #architecture#kubevirt#kubernetes#controller#reconciliationVMI Status, Metrics, Guest Agent, Debugging: How KubeVirt Exposes Internal State
Describes how KubeVirt collects and exposes VM internal state through VMI status, guest agent, domain stats, Prometheus metrics, and virt-handler API, based on code analysis.
2026-03-20 · 6 min read #architecture#kubevirt#observability#metrics#guest-agentKubeVirt Network 1: How Pod Networks Become VM Networks
Explains how KubeVirt connects CNI networks attached to Pods to guest NICs through bridge, TAP, DHCP, and NAT layers, and the IP assignment model.
2026-03-20 · 6 min read #architecture#kubevirt#kubernetes#cni#networkingLive Migration 3: Why Migration Proxy, Ports, TLS, and Sockets Are Needed
Explains why KubeVirt places a migration proxy between source and target launchers in live migration, and how it combines ports, Unix sockets, and TLS paths.
2026-03-20 · 5 min read #architecture#kubevirt#live-migration#networking#tlsKVM, cgroup, namespace, tap, netlink: The Kernel Technologies Behind KubeVirt
Describes the roles of Linux kernel technologies -- KVM, cgroup, namespace, TAP, netlink, and VFIO -- that enable KubeVirt to implement VMs on top of Pods.
2026-03-20 · 5 min read #architecture#kubevirt#linux#kvm#cgroupsWhat Do the VM, VMI, and Migration CRDs Represent?
Explains what responsibilities each of KubeVirt's core API types -- VirtualMachine, VirtualMachineInstance, and VirtualMachineInstanceMigration -- has, and why they are separated, based on the source schema.
2026-03-20 · 6 min read #architecture#kubevirt#kubernetes#virtualization#crd[Architecture] Complete Guide to Rate Limiting and API Throttling
A comprehensive guide covering rate limiting algorithms (Token Bucket, Sliding Window, etc.), Redis/Nginx/Kong implementations, LLM API cost control, and distributed rate limiting.
2026-03-20 · 18 min read #architecture#rate-limiting#api-gateway#redis#nginx[Architecture] Building Async Systems with Message Queues: Kafka vs RabbitMQ
A comprehensive comparison of Kafka and RabbitMQ architectures, async processing patterns for LLM Gateways, practical implementation examples, and a selection guide.
2026-03-20 · 15 min read #architecture#kafka#rabbitmq#async#message-queueAI System Design Complete Guide: From LLM Services to MLOps Architecture
A complete guide to designing production-grade AI systems. Learn real-world architectures for real-time inference systems, vector search infrastructure, LLM service architecture, data pipelines, and monitoring system des
2026-03-17 · 27 min read #system-design#ai-infrastructure#llm#mlops#architectureMicro Frontend Architecture Practical Guide: Module Federation, Single-SPA, Web Components Comparison
Compares three micro frontend implementation approaches -- Webpack Module Federation, Single-SPA, and Web Components -- with production code, covering shared state management, CSS isolation, independent deployment strate
2026-03-15 · 6 min read #architecture#micro-frontend#module-federation#single-spa#web-componentsEvent-Driven Architecture Practical Guide: CQRS, Event Sourcing, Saga Patterns
Analyzes the core patterns of Event-Driven Architecture -- CQRS, Event Sourcing, and Saga -- with production code examples, and covers operational strategies and troubleshooting methods.
2026-03-14 · 26 min read #architecture#event-driven#cqrs#event-sourcing#saga-patternComplete Guide to API Gateway Pattern: Rate Limiting, Authentication, and BFF Architecture Design
A deep dive into API Gateway patterns covering Rate Limiting algorithms (Token Bucket, Sliding Window), authentication/authorization strategies, BFF (Backend for Frontend) architecture, load balancing, circuit breakers,
2026-03-13 · 14 min read #architecture#api-gateway#rate-limiting#authentication#bff