Architectural Styles Repositories
Architectural Styles Repositories
Styles
Repositories
Repositories
• Subsystems access and modify data from a single data structure called the
repository, also called blackboard architecture
• Repository architecture is a collection of independent components which
operate on central data structure.
Weaknesses:
Subsystems must agree (i.e., compromise) on a repository data model
Schema evolution is difficult and expensive, for larger subsystems
Distribution can be a problem
Blackboard architecture
• Interactions between the repository and its external components can
vary significantly between systems
• The blackboard model is usually presented with three major parts:
i. The knowledge sources: make changes to the shared data that lead
incrementally to solution
ii. The blackboard data structure: problem-solving state data, organized
into an application-dependent hierarchy. Knowledge sources make
changes to the blackboard that lead incrementally to a solution to
the problem.
iii. Control shell: is driven entirely by the state of the blackboard
Blackboard architecture
Examples
• Repository: modern compilers act on shared data: symbol table, abstract
syntax tree