Differences between revisions 1 and 2
Revision 1 as of 2010-10-14 07:46:33
Size: 368
Editor: eab
Comment:
Revision 2 as of 2010-10-14 09:16:13
Size: 1525
Editor: eab
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
= Name and grade ** =
grade is 0-2 stars ()or(*)or(**)
= Data Shards *** =
Line 8: Line 7:
When creating a data-model where the objects are all of the same work, When creating a new collection choices will often have to be made in regards to the actual structure of the data, it would for instance be technically demanding, beyond
reason, to store a continuous stream of television data, it must be broken into shards in order to allow for efficient data storage and handling.
Line 12: Line 12:
'''
This pattern describes the "low level" construction of a shard of data, it is generalised in order to span the multiple possible application of the shard data model in the DOMS.
Line 13: Line 15:
'''In bold font''' '''
Line 17: Line 19:
The major problem is the generality of the sharded data, this is also the strength of the shard pattern, shards are general enough to apply to most situations where data is split up, and can be used to model data-objects that are naturally granulated, think data that originates from pages, as well as data that is originally more complex, think of the video formats stored from a DVB-T stream.
Line 21: Line 23:
'''In bold font''' '''
The shards must have a sufficiently general structure to accommodate, at least, the current granulated objects as well as those envisioned for the future.

Use the shards as elements in the documents they form part of.
'''
Line 24: Line 30:
The actual mapping from a shard to the file (part) in the file system, also consider the possible requirement of a way to combine shard-data into a complete file/document.

Data Shards ***

Context

When creating a new collection choices will often have to be made in regards to the actual structure of the data, it would for instance be technically demanding, beyond reason, to store a continuous stream of television data, it must be broken into shards in order to allow for efficient data storage and handling.

Description of pattern

This pattern describes the "low level" construction of a shard of data, it is generalised in order to span the multiple possible application of the shard data model in the DOMS.

Problem description

The major problem is the generality of the sharded data, this is also the strength of the shard pattern, shards are general enough to apply to most situations where data is split up, and can be used to model data-objects that are naturally granulated, think data that originates from pages, as well as data that is originally more complex, think of the video formats stored from a DVB-T stream.

Solution

The shards must have a sufficiently general structure to accommodate, at least, the current granulated objects as well as those envisioned for the future.

Use the shards as elements in the documents they form part of.

Consider next

The actual mapping from a shard to the file (part) in the file system, also consider the possible requirement of a way to combine shard-data into a complete file/document.

GuidelinesForNewDatamodel/PatternLanguage/Data_Shards (last edited 2010-12-07 12:11:01 by eab)