Architectural Kata

Where’s Fluffy?


original kata by Ted Neward

see archkatas.herokuapp.com for more katas

Rules


  1. work in teams
  2. eliminate assumptions
  3. document decisions
  4. iterate and increment!

increment #1


Pet owners can post details and photos of their missing pets.

Anyone can see a list of pets missing near to their location.

identify actors


  1. pet owner
  2. visitor
  3. postings service

draw data flows

learn

analyze data volumes

document decisions


  1. separate images component
  2. fixed list of locations
  3. no user registration needed

increment #2


Users can comment on pet missing entries, providing photo proofs of found pets, locations of sighted pets or area checked.

update actors


  1. pet owner
  2. visitor
  3. postings service
  4. image service
  5. pet scout

update data flows

get feedback

define infrastructure

document decisions


  1. use geo-location to improve usability on mobile devices

increment #3


Pet owners provide rewards for found pets. The service brokers the rewards. Pet finders collect rewards on confirmation from pet owners.

update actors


  1. pet owner
  2. visitor
  3. pet scout
  4. postings service
  5. image service
  6. pet finder
  7. reward broker

update data flows

learn

  1. consider data security and privacy
  2. (bonus) brainstorm risks

document decisions


  1. decision: support only monetary payments
  2. assumption: can process payments via a third party provider
  3. risk: no automatic payment cancellation