Faithful teaching kernels for mainstream infrastructure systems: core mechanisms made inspectable, differences stated explicitly, and experiments kept runnable.
主流基础设施系统的 Python 教学内核:核心机制高保真、差异显式声明、实验可直接运行。
These projects are educational kernels, not production replacements.
这些项目是教学内核,不是生产系统的替代品。
| Project / 项目 | Mirrors / 对标系统 | Teaching focus / 一句话主题 | Tutorial / 教程 | Implementation / 实现 | Docs / 文档 |
|---|---|---|---|---|---|
| MiniKafka | Apache Kafka | Partitioned logs, replication, consumer groups, and transactions / 分区日志、复制、消费组与事务 | 教程 Tutorial | ||
| MiniRedis | Redis | Typed in-memory structures, expiration, persistence, and async replication / 类型化内存结构、过期、持久化与异步复制 | 教程 Tutorial | ||
| MiniPostgres | PostgreSQL | SQL planning and execution over pages, indexes, MVCC, and WAL / SQL 规划执行、页与索引、MVCC 和 WAL | 教程 Tutorial | ||
| MiniQdrant | Qdrant | Filtered vector search, immutable segments, optimization, and recovery / 过滤向量检索、不可变段、优化与恢复 | 教程 Tutorial | ||
| MiniLucene | Apache Lucene | Analysis, positional indexes, BM25, NRT readers, and segment merge / 文本分析、位置索引、BM25、NRT 与段合并 | 教程 Tutorial | ||
| MiniDist | Redis-style replication / textbook Raft | Async primary–replica and Raft under one deterministic fault model / 在同一确定性故障模型下对照异步主从复制与 Raft | 教程 Tutorial | ||
| MiniMongoDB | MongoDB | Document semantics, array-aware queries, oplog, and journal recovery / 文档语义、数组查询、oplog 与日志恢复 | 教程 Tutorial | ||
| MiniS3 | Amazon S3 | Object versioning, delete markers, listing, and crash-safe publication / 对象版本、删除标记、列举与崩溃安全发布 | 教程 Tutorial |
Progress is tracked per repository; these are shared targets rather than a claim that every project already has identical coverage. / 完成度逐仓库追踪;以下是共享目标,不代表每个项目已经具备完全相同的覆盖。
- Map teaching mechanisms to the real system and classify semantic relationships explicitly. / 将教学机制映射回真实系统,并显式分类语义关系。
- Every semantic divergence is declared explicitly. / 与真实系统的语义背离必须显式声明。
- Grow runnable labs or examples alongside tests, with availability stated per project. / 在测试之外逐步补齐 labs 或 examples,并按项目声明可用性。