Port of schuchert.wikispaces.com


TddAndConcurrency.Agile2008.Outline

TddAndConcurrency.Agile2008.Outline

Part 0

Begin running driver that exercises ObjectWithValue before the start.

At start, David Nunn will present himself and myself.

Part 1: Prove it’s broken

Part 2: Deadlock and Dining Philosophers

Problem: Imagine you have two pooled resources: one bucket of MQ connections and one bucket of database connections. Also imagine 4 operations: CRUD, each of which uses one connection and one database. Finally, assume these operations are fronted by some threaded environment, e.g. a web-server:

Dining Philosophers:

Part 3: Refactorig to SRP to test

Show example system that is not performing.

What should I do to make this testable?


Comments

" Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.