Granularity .

37
• granularity https://store.theartofservice.com/the-granularity- toolkit.html

Transcript of Granularity .

Page 1: Granularity .

• granularity

https://store.theartofservice.com/the-granularity-toolkit.html

Page 2: Granularity .

Metadata - Granularity

1 Hence granularity shall take into account the effort to create as well as the effort to

maintain.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 3: Granularity .

Profiling (computer programming) - Data granularity in profiler types

1 Profilers, which are also programs themselves, analyze target programs by collecting information on their execution. Based on their data granularity, on how

profilers collect information, they are classified into event based or statistical

profilers. Since profilers interrupt program execution to collect information, they have

a finite resolution in the time measurements, which should be taken with

a grain of salt.https://store.theartofservice.com/the-granularity-toolkit.html

Page 4: Granularity .

Metadata (computing) - Granularity

1 Hence granularity shall take into account the effort to create as well as the effort to

maintain.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 5: Granularity .

Lock (computer science) - Granularity

1 Before being introduced to lock granularity, one needs to understand three concepts

about locks.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 6: Granularity .

Lock (computer science) - Granularity

1 Conversely, using a fine granularity (a larger number of locks, each

protecting a fairly small amount of data) increases the overhead of the locks themselves but reduces lock

contention

https://store.theartofservice.com/the-granularity-toolkit.html

Page 7: Granularity .

Lock (computer science) - Granularity

1 In a database management system, for example, a lock could protect, in order of decreasing granularity, part of a field, a field, a record, a data page, or an entire table. Coarse granularity, such as using

table locks, tends to give the best performance for a single user, whereas fine granularity, such as record locks, tends to give the best performance for

multiple users.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 8: Granularity .

Process modeling - By granularity

1 Granularity refers to the level of detail of a process model and affects

the kind of guidance, explanation and trace that can be provided.

Coarse granularity restricts these to a rather limited level of detail

whereas fine granularity provides more detailed capability. The nature of granularity needed is dependent

on the situation at hand.https://store.theartofservice.com/the-granularity-toolkit.html

Page 9: Granularity .

Process modeling - By granularity

1 While notations for fine-grained models exist, most traditional process models

are coarse-grained descriptions. Process models should, ideally, provide a wide

range of granularity (e.g. Process Weaver).C. Fernström and L. Ohlsson (1991). Integration Needs in Process Enacted Environments, Proc. 1st Int. Conf. on the Software Process. IEEE

computer Society Press.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 10: Granularity .

Granularity

1 'Granularity' is the extent to which a system is broken down into small parts, either the system itself

or its description or observation. It is the extent to which a larger entity is

subdivided. For example, a yard broken into inches has finer

granularity than a yard broken into feet.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 11: Granularity .

Granularity

1 The terms 'granularity', 'coarse', and 'fine' are relative, used when

comparing systems or descriptions of systems. An example of increasingly

fine granularity: a list of nations in the United Nations, a list of all

states/provinces in those nations, a list of all cities in those states, etc.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 12: Granularity .

Granularity

1 The terms fine and coarse are used consistently across fields, but the term granularity itself is not. For

example, in investing, more granularity refers to more Position (finance)|positions of smaller size,

while photographic film that is more granular has fewer and larger

chemical grains.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 13: Granularity .

Granularity - Computing

1 In parallel computing, granularity means the amount of computation in relation to communication, i.e., the ratio of computation to the amount

of communication.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 14: Granularity .

Granularity - Computing

1 The finer the granularity, the greater the potential for parallelism and

hence speed-up, but the greater the overheads of synchronization and

communication.[http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?granularity

FOLDOC]

https://store.theartofservice.com/the-granularity-toolkit.html

Page 15: Granularity .

Granularity - Computing

1 In order to attain the best parallel performance, the best balance

between load and communication overhead needs to be found. If the

granularity is too fine, the performance can suffer from the

increased communication overhead. On the other side, if the granularity is

too coarse, the performance can suffer from load imbalance.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 16: Granularity .

Granularity - Data granularity

1 The granularity of data refers to the size in which data fields are sub-divided. For example, a postal

address can be recorded, with coarse granularity, as a single field:

https://store.theartofservice.com/the-granularity-toolkit.html

Page 17: Granularity .

Granularity - Data granularity

1 or with fine granularity, as multiple fields:

https://store.theartofservice.com/the-granularity-toolkit.html

Page 18: Granularity .

Granularity - Data granularity

1 or even finer granularity:

https://store.theartofservice.com/the-granularity-toolkit.html

Page 19: Granularity .

Granularity - Data granularity

1 A performance problem caused by excessive granularity may not reveal

itself until scalability becomes an issue.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 20: Granularity .

Granularity - Credit portfolio risk management

1 In credit portfolio risk modeling, granularity refers to the number of the exposures in the portfolio. The higher the granularity, the more positions are in a credit portfolio, providing a higher degree of size

diversification, which in turn reduces concentration risk. This is colloquially known as not putting all your eggs in

one basket.https://store.theartofservice.com/the-granularity-toolkit.html

Page 21: Granularity .

Granularity - Photographic film

1 In photography, granularity is a measure of film grain. It is measured using a particular standard procedure

but in general a larger

https://store.theartofservice.com/the-granularity-toolkit.html

Page 22: Granularity .

Granularity - Business

1 For example, granularity has been written about in the book, The Granularity of Growth: Making

choices that drive enduring company performance

https://store.theartofservice.com/the-granularity-toolkit.html

Page 23: Granularity .

XML pipeline - Pipe granularity

1 Different XML Pipeline implementations support different granularity of flow.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 24: Granularity .

Interaction technique - Level of granularity

1 In contrast, viewed at higher levels of granularity, interaction is not tied to

to any specific technology or platform

https://store.theartofservice.com/the-granularity-toolkit.html

Page 25: Granularity .

Record locking - Granularity of locks

1 A higher degree of Granularity#Computing|granularity is

achieved if each individual account may be taken by a clerk. This would allow any customer to be serviced without waiting for another customer who is accessing a different account. This is analogous to a

record level lock and is normally the highest degree of locking granularity in a

database management system.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 26: Granularity .

Service Granularity Principle

1 'Service Granularity' is a design principle that identifies the optimal scope of business functionality in a

web service|service operation.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 27: Granularity .

Service Granularity Principle - Interpretation

1 The four key factors to consider when designing for optimal granularity are

performance, message size, transaction and business function.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 28: Granularity .

Architecture of Interoperable Information Systems - Levels of technical granularity

1 The description of system elements on different levels of technical

granularity supports a systematic development of collaborative

information systems, starting with the business requirements definition

and going all the way down to the code level

https://store.theartofservice.com/the-granularity-toolkit.html

Page 29: Granularity .

Film grain - RMS granularity

1 Granularity, or RMS granularity, is a numerical quantification of film-grain noise, equal to the root-mean-square (rms) fluctuations in optical density,

measured with a densitometer|microdensitometer with a 0.048mm (48-micrometre) diameter circular aperture, on a film area that has

been exposed and normally developed to a mean density of 1.0 D

(that is, it transmits 10% of light incident on it).

https://store.theartofservice.com/the-granularity-toolkit.html

Page 30: Granularity .

Film grain - RMS granularity

1 Granularity is sometimes quoted as diffuse RMS granularity times 1000,

so that a film with granularity 10 means an rms density fluctuation of 0.010 in the standard aperture area.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 31: Granularity .

Film grain - RMS granularity

1 When the particles of silver are small, the standard aperture area

measures an average of many particles, so the granularity is small. When the particles are large, fewer

are averaged in the standard area, so there is a larger random fluctuation,

and a higher granularity number.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 32: Granularity .

Film grain - Selwyn granularity

1 Film grain is also sometimes quantified in a way that is relative independent of size

of the aperture through which the microdensitometer measures it, using R. Selwyn's observation (known as Selwyn's

law) that, for a not too small aperture, the product of RMS granularity and the square root of aperture area tends be independent of the aperture size. The

Selwyn granularity is defined as:

https://store.theartofservice.com/the-granularity-toolkit.html

Page 33: Granularity .

Multiple granularity locking

1 In computer science, 'multiple granularity locking' (MGL) is a locking

method used in database management systems (DBMS) and

relational databases.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 34: Granularity .

Multiple granularity locking

1 Multiple granularity locking is usually used with non-strict two-phase

locking to guarantee serializability.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 35: Granularity .

Multiple granularity locking - Lock Modes

1 Determining what level of granularity to use for locking is done by locking

the finest level possible (at the lowest leaf level), and then

escalating these locks to higher levels in the file hierarchy to cover more records or file elements as needed. This process is known as

Lock Escalation.

https://store.theartofservice.com/the-granularity-toolkit.html

Page 36: Granularity .

Lock (software engineering) - Granularity

1 In a database management system, for example, a lock could protect, in order of increasing granularity, part of a field, a field, a record, a data page, or an entire table. Coarse granularity, such as using table

locks, tends to give the best performance for a single user,

whereas fine granularity, such as record locks, tends to give the best

performance for multiple users.https://store.theartofservice.com/the-granularity-toolkit.html