Runtime and course boundaries
See where the experiments run, what the browser saves and which results come from models.
Before you begin
Basic Python lists, dictionaries, functions and lambdas are enough to start. The 8-part course has 46 chapters: 30 executable investigations and 16 interleaved design and distributed-system readings. Prediction prompts, changes, progressive hints and independent tasks build toward an incident report. Published outputs and design chapters are available without running Python.
What runs on your device
Bytewax 0.21.1 and confluent-kafka 2.6.1 run as normal native Python packages inside an x86-64 Linux VM compiled to WebAssembly. The open-source container2wasm/Bochs runtime replaces the JSLinux x86 proof of concept so this site can host its own assets. The Python bundle is built from a pinned Debian Bookworm image; versions and hashes are recorded in the runtime manifest and the Python library manifest.
Open chapters and their published results immediately. Your first visit to an executable lesson may download about 84 MiB of verified assets. Automatic preparation keep Linux and trusted helpers ready in the current lesson, while starting fresh Python processes with private files and sockets. The compatibility runner starts a new guest each time when required. Browsers without the required WebAssembly JSPI support use fresh Linux. Prepared asset bytes can be cached in IndexedDB across chapters, but the running guest is not. Stop ends the current run and discards Linux. Reset Linux discards a warm guest between runs. In either case, the next run starts Linux again.
A Kafka simulator, with real clients
The broker lessons start librdkafka’s in-memory Kafka simulator inside the guest. Producer and consumer sockets use Linux loopback. The live-stream investigation starts a separate Bytewax engine process and sends later records only after earlier results arrive. Partition and group-offset exercises issue real Kafka protocol requests. The simulator is not Apache Kafka and does not establish disk durability, replication, failover, retention or transaction guarantees.
What survives
Each experiment starts with clean Python state, scratch files, socket queues and processes. In fast mode the Linux kernel and installed runtime stay warm; writable files are private and system directories are read-only. Fast mode has 32 MiB of scratch space and no /proc; choose the compatibility runner for system inspection. The recovery investigation performs SIGKILL and process restart inside one experiment. Its checkpoint files do not survive another Run, a reset or closing the page, and its output file is not transactional.
Drafts, theme and explicit reading marks use this browser’s localStorage under the existing esl: keys. Previous RxPY drafts are retained separately during migration so they can be downloaded. Restore code opens the published example. Recover draft restores the most recently replaced draft, including after a reload when storage is available. Run success never marks a chapter read. Source downloads embed the helper modules. Export run records the last successful source, output and runtime identity. A failed or stopped attempt leaves that result and its trace available. Storage may be unavailable in restricted browsing modes.
Models remain labelled
Correction/retraction policies, temporal and interval join references, retention/compaction, queue accounting, operation counts and fluid capacity calculations are authored policies or models. Running them in Linux does not make them Bytewax built-ins or distributed guarantees. Real Bytewax EventClock, windowing and session operators are identified explicitly. Bounded source completion flushes windows; frozen clocks make examples repeatable and do not measure wall-clock latency.
Performance and compatibility
Use the native Bytewax performance harness for measured local service work. Emulation and computed model times do not establish production throughput. Chromium is checked; other browsers and low-memory mobile execution require separate validation. The reading path works without JavaScript or any runtime download. Runtime downloads have a five-minute limit. A guest boot that stalls for 60 seconds is retried once before Python starts; editor programs are never automatically retried. In Export run, look in runtime.timing for preparation, startup and execution durations, and in runtime.initialization_retries for the number of startup retries. The completion status and elapsed_ms export show the full button-to-result wait, including initialization retries. Per-attempt phase timings also distinguish Linux and isolated-process startup. These device-specific times include emulation and are not production throughput measurements. Editor programs have a three-minute limit after Python starts. An infinite loop is stopped by replacing its Web Worker.
Privacy and connections
Your editor source and events stay on your device. Runtime assets and course helpers are fetched from this site. There is no execution backend, network relay, external Kafka connection, account, telemetry or cross-device synchronization. No complete offline-installation claim is made.
Sources and component notices
See runtime build instructions, provenance and source links and third-party notices. The native engine is Bytewax; the mock API is documented in librdkafka 2.6.1. The VM comes from container2wasm 0.6.3 and its pinned demo distribution. These components retain their own licenses, distinct from this course’s prose and code.
Continue beyond one guest
The advanced chapters compare Flink, Spark and Kafka contracts without claiming those distributed systems run here. Real-broker replication, membership changes and external-sink transaction lessons require a native/container deployment. The Messaging Patterns Lab companion runs real guest-local ZeroMQ experiments in a separate course.