Lessons
43 lessons in computer-science · intermediate · page 2 of 2
- Computer Scienceintermediate
Layers, Frames, and the Wire
A packet is a stack of nested envelopes, and the bottom layer has rules of its own. Work through encapsulation, Ethernet frames, MAC learning inside a switch, ARP, and MTU, then diagnose the classic failure where small requests succeed and large ones hang forever.
11 steps·~17 min - Computer Scienceintermediate
Filesystems and the I/O Path
A file has no name; the name is a directory entry pointing at an inode. This lesson follows the kernel's I/O path: the VFS abstraction over every filesystem, the page cache and its writeback thresholds, buffered versus direct I/O, what fsync actually promises and what it does after a failure, ext4 journaling modes, and how a write finally reaches flash.
12 steps·~18 min - Computer Scienceintermediate
Syscalls and the Kernel Boundary
User code cannot touch a disk, a network card, or another process's memory without crossing into the kernel, and the crossing is not free. This lesson covers ring transitions and the syscall path, interrupts versus traps versus exceptions, measured boundary costs, why vDSO and io_uring exist, and how namespaces plus cgroups turn ordinary kernel features into containers.
11 steps·~17 min - Computer Scienceintermediate
Virtual Memory: Page Tables, TLBs and Faults
Virtual memory is not a trick for pretending you have more RAM. It is the hardware and kernel machinery that gives every process a private, relocatable address space. This lesson covers multi-level page tables, why a TLB miss costs real cycles, demand paging, copy-on-write, mmap, swapping, huge pages, and how the OOM killer picks a victim.
11 steps·~17 min - Computer Scienceintermediate
Processes and Scheduling: What the Kernel Actually Runs
A process is an address space plus a control block, and the thing Linux actually schedules is neither. This lesson walks the kernel side: what a context switch physically costs, how per-CPU run queues and preemption flags work, how nice values become weights, and why CFS was replaced by EEVDF in Linux 6.6.
11 steps·~17 min - Computer Scienceintermediate
Applications, Value, and Challenges
Where digital twins earn their keep and where they struggle. This lesson covers predictive maintenance (the flagship use), applications across manufacturing, aerospace, energy, cities, and healthcare, the underlying value of experimenting safely in virtual space, and an honest account of the challenges: data, model drift, cost, security, and standards.
7 steps·~11 min - Computer Scienceintermediate
Anatomy and Types of Digital Twins
What a digital twin is actually made of and the forms it takes. This lesson covers the virtual model (physics-based, data-driven, and hybrid), the data layer of sensors and pipelines that feeds it, the twin taxonomy from component to process scale, the fidelity-versus-cost tradeoff, and the sense-simulate-act loop that turns a model into a working twin.
7 steps·~11 min - Computer Scienceintermediate
What Is a Digital Twin?
A digital twin is a virtual replica of a specific physical thing, kept in sync by live data. This lesson defines it precisely, covers its three components, its origins with Michael Grieves and NASA, the crucial distinction from an ordinary simulation, and the digital model to digital shadow to digital twin taxonomy that pins down what 'twin' really means.
7 steps·~11 min - Computer Scienceintermediate
The weakest link is a person
Most breaches do not start with clever code; they start with a person. Learn how phishing actually works by dissecting a real example, how passwords get stolen through breaches, credential stuffing, and spraying, why multi-factor authentication helps and how attackers bypass it, and the practical habits, unique passwords, password managers, phishing-resistant MFA, that defend the human layer.
8 steps·~12 min - Computer Scienceintermediate
How a hacker actually breaks in
Real attacks are not a single dramatic moment; they are a patient, multi-stage process. Learn to think like an attacker and follow the chain from reconnaissance to initial access, privilege escalation, lateral movement, and the final objective. Understanding this sequence is the foundation of both breaking in and defending, because every stage is also a chance to stop the attack.
8 steps·~12 min - Computer Scienceintermediate
Idempotency
Why "the same request twice should produce the same result" is one of the most useful properties you can give an API, the standard patterns for implementing it (keys, dedupe tables, natural idempotency), and what goes wrong when you don't.
8 steps·~12 min - Computer Scienceintermediate
Event-Driven Architecture
Commands tell, events announce. How event-driven systems decouple producers from consumers, when CQRS and event sourcing earn their complexity, and the eventual-consistency tax you pay either way.
8 steps·~12 min - Computer Scienceintermediate
Microservices vs Monoliths
The honest case for each. When a monolith is correct, what microservices actually buy you (and what they cost), Conway's law, and how to spot a fake microservices architecture that's actually a distributed monolith.
8 steps·~12 min - Computer Scienceintermediate
Rate Limiting
How to keep one client from breaking the system for everyone else. The four canonical algorithms (fixed window, sliding window, token bucket, leaky bucket), distributed limiting with Redis, and the polite way to tell a client "slow down".
8 steps·~12 min - Computer Scienceintermediate
Message Queues
Async work between services without one tripping the other. Point-to-point vs pub/sub, the three delivery guarantees and what they cost, dead letter queues, and how to pick between Kafka, RabbitMQ, SQS, and friends.
8 steps·~12 min - Computer Scienceintermediate
Caching Strategies
The named caching patterns (cache-aside, read-through, write-through, write-behind), when each makes sense, and the failure modes that bite even experienced teams (thundering herd, stale invalidation, the second-hardest problem).
8 steps·~12 min - Computer Scienceintermediate
The CAP Theorem
Why every distributed system has to give up something when the network splits. CAP, the trade-offs in real databases, and the PACELC extension that's usually more useful in practice.
8 steps·~12 min - Computer Scienceintermediate
Database Sharding
When one database isn't enough. How sharding splits data across nodes, the trade-offs of different sharding keys, and the operational headaches (hot spots, rebalancing, cross-shard queries) you sign up for.
8 steps·~12 min - Computer Scienceintermediate
Load Balancing
How load balancers spread traffic across servers, what L4 and L7 actually mean, the routing algorithms in real use, and the failure modes you need to design around.
8 steps·~12 min

