Responsibilities

  • Persist entity state into relational query database
  • Knows object-relational mapping for entities
  • Should discard out of order messages

Implementation details

  • Should not be scaled out to multiple role instances (may work, but needs validation)
  • May have multiple worker threads
  • Knows about entities and object-relational mapping
  • Current version uses Entity Framework POCO

Protocols

1. Handling of out of order messages

  1. If an out of order entity version arrives (version number is smaller than maximum in database), it should be discarded
  2. It should return success too

2. Database-level retry logic

  1. If database operation cannot be completed due to connection failures or lock violations, it should be retried multiple times

Last edited Apr 4, 2012 at 2:20 PM by delzubu, version 2

Comments

No comments yet.