Forum
Does normalised behavior make hotspots?
Does normalised behavior make hotspots? |
|
| Page: 1 |
| User | Post |
|---|---|
|
6:20 pm Admin
|
Where do you keep your behavior? Normalised in the application domain objects? In non-domain transaction-performing classes? Some of each? I seem to remember this question being touched on once long ago in Digitalk’s Compuserve forum, but never since. One of the benefits of a persistent object database is that not only static integrity constraints but arbitrarily complex procedure can be expressed just once in the appropriate application domain object, rather than being scattered and/or replicated in a number of external function oriented procedures - normalisation of procedure, in other words. However, the downside of this is that if an intensively used method is located in a domain class of which there are relatively few instances, then those objects may become locking hotspots which destroy concurrency, even though they themselves may not be changed, merely carrying transactional responsibility. At the other extreme, locating transaction procedures in non-database objects which call only get & set methods in the domain objects, maybe with simple integrity constraint methods, imposes no additional constraint on concurrency, but at the cost of additional work during application design and modification, to ensure that update transactions are all consistent with each others’ implied integrity constraints. Design by CRC cards (class, responsibility, collaboration) would seem to identify the theoretical location of transaction responsibility, but how does this work out in practice? Are there common patterns from which guidelines might be found for these design decisions? |
| Page: 1 |
|
About the VOSS 3.1 forum | |||
|---|---|---|---|
|
Currently Online: 2 Guests Maximum Online: 20 |
Forums: Groups: 2 Forums: 8 Topics: 17 Posts: 19 |
Members: There are 2 members There are 1 guests John Clapperton has made 13 posts |
Top Posters: Thomas Holzer - 1 |
Simple Forum WordPress Plugin created by Andy Staines: Yellow Swordfish
Forum Skin/Icons: theme229compatible / default
Default 'Silk' Icon Set created by Mark James: fam fam fam
Math Spam Protection based on code by Michael Woehrer: Software Guide
Tabbed Admin uses Tabifier by Patrick Fitzgerald: BarelyFitz Designs
My thanks to all the people who have aided, abetted, suggested and helped test this plugin