Naar hoofdinhoud
🔒 Voorbeeldmodus. De eerste vijftien Foundations-lessen zijn gratis; deze is Pro. Start een 7-daagse trial om de editor, AI-hints en de rest van het curriculum te ontgrendelen. Kaart vereist, op elk moment opzegbaar in Dashboard.Start 7-daagse trial →
← CursussenFastAPI ProductionModule 4 · Async, Achtergrondtaken, WebSocketsLogsnelheidsbegrenzer met schuifvensterwrite54 / 105
+125 XP
Opdracht🌐 shown in EN
📝 **Question:** Implement `SlidingWindowLog`. Limit 2 per 10 sec, fake clock. 2 calls at t=100 → True,True. 3rd at t=100 → False. At t=111 (past window), call → True. 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
✏️ Schrijf hier je code
🐍
Python laden...
Eenmalige download (~1 MB). Daarna direct beschikbaar.
📊 Resultaat
Klik op Uitvoeren om het resultaat te zien...