🧵 Domain 1: Multithreading & Concurrency
- [ ] [1.1] Hello Threads
- Goal: Spawn a basic thread that prints to the console.
- Requirement: Use
std::thread::spawn
and join
.
- [ ] [1.2] Threaded Counter
- Goal: Use multiple threads to increment a shared counter.
- Requirement: Use
Arc
and Mutex
safely.
- [ ] [1.3] Producer-Consumer Queue
- Goal: Simulate a job queue with producer and consumer threads.
- Requirement: Use
std::sync::mpsc
.
- [ ] [1.4] Parallel Map
- Goal: Implement a function that maps a function over a vector using multiple threads.
- Requirement: Use thread pools and shared data.
- [ ] [1.5] Async I/O Basics
- Goal: Build a simple TCP echo server using async/await.
- Requirement: Use
tokio
or async-std
.
- [ ] [1.6] Rate Limiter
- Goal: Implement a concurrent rate limiter for incoming requests.
- Requirement: Use channels and timers.
- [ ] [1.7] Actor Model Intro