1 / 8

Repositories

Repositories . A Software Architecture Model……. Repositories. A central data structure component, operated on by collection of independent components. IC. IC. Data structure. Independent Component. IC. IC. Connector. Repository Architecture.

glennis
Download Presentation

Repositories

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Repositories A Software Architecture Model……

  2. Repositories • A central data structure component, operated on by collection of independent components. IC IC Data structure Independent Component IC IC Connector Repository Architecture • Communication between different independent component occurs • only through the central database structure.

  3. Repositories (Cont….) • Can be sub-categorized based on the control discipline • Selection of the processes to be executed, triggered by the input transaction. • Selection of the processes to be executed, triggered by the state of the central data structure.

  4. Repositories (discipline 1)… • Selection of the processes to be executed, triggered by the type of input transaction. node1 2: update Central Database 1: select node2 Example scenario • The selection of processes to be executed is triggered by the type of the query • fired to the central database by different independent components (control lies • in the type of the input transaction) .

  5. Repositories (discipline 2): • Selection of the processes to be executed, triggered by the state of the central data structure (also termed as ‘blackboard architecture’. KS1 KS3 Black Board Knowledge Source KS2 KS4 Control Black Board Architecture

  6. Example Black Board Architecture: • The processes to be executed is triggered by the state of the central data structure (shared file). • As soon as the user make any changes to the file, the state of the data structure changes and triggers the control processes (which may lie at the user side or the central data structure side), which in turn updates the view of the file to other users. User2 User4 Shared File User1 User3 White Board Sharing

  7. Advantages of this architecture: • The component’s independency allows the implementation of the component to be altered at will without affecting the overall system. • Similarly the components can be added or removed dynamically from the system without affecting the overall processing of the system.

  8. Architecture’s drawbacks: • The central data structure may require proper locking mechanism, in case the execution of different components are not sequential. • The final state of the central data structure may depend on the sequence in which the updates from different components are executed. i.e. if different components tries to modify the same data simultaneously. • Single point of failure (the central data structure).

More Related