MsDO Weekplan 10

The learning goals for Week 45 are:

Stability Antipatterns. Test double services.

Literature:

Slides:

Notes for this weekplan:

Nygard goes into much more detail than Newman, sometime very deep details! I advice to skim the chapters to get the central concepts, allowing you to return to the deep details later.

Note that Nygard talks about Stability where I, being based in Bass et al.'s terminology, would call it Availability. Anyway it is more or less the same concept.

The Test Double Service presentation (and screencast) is purely optional - it is a nice tool though...

Exercise 'skycave-antipatterns'

Review the SkyCave daemon (and cmd) for stability antipatterns. For each,

An incomplete list I can compile just-from-the-top-of-my-head: unbounded result set, slow response, cascading failures, users (of course :), blocked threads, unbalanced capacities, unsteady state, ...

Argue if SkyCave by design or by good-fortune is shielded from those antipatterns, you did not include in the list above.

Exercise 'mountebank'

Get the quote-service.json mountebank configuration file.

  1. What kind of test double does it represent?
  2. Use Mountebank to run the service as a test double for the quote service, and make your SkyCave daemon interact with it instead of the officially deployed quote service.