Low-Level / Object-Oriented Design / Stage 3 · Stateful components

Compose stateful components and test their contracts

CoreAdvancedDraft, not yet reviewed10 min of activities

"Already know" meets prerequisites. "Not relevant" removes the topic from your total but leaves what builds on it waiting.

Self-check

  • Design a chat service with a bounded recent-message cache per room. Demonstrate eviction, fan-out to every member, and a test for two messages arriving at the same moment.
  • Evidence to include: Keep the component boundaries and the contract each one promises, the eviction test, the fan-out test, and how the concurrent test makes the race repeatable.

Try it without the material first, then compare. Save your answer in your notes below. Report a problem with this self-check

Learning activities

2 activities

My notes

Saved on this device, synced when signed in
Esc
↑ ↓ to move↵ to open