

























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























































๏ Requirements: quality attributes or qualities ๏ Today ๏ How to achieve requirements : tactics ๏ Next time: ๏ How do tactics lead to architectural styles ๏ Case studies on architectural styles
๏ Tactics can refine other tactics ๏ Redundancy is refined by data redundancy, code redundancy
๏ One availability tactic: introduce redundancy ๏ Implication: we also need synchronization of replicas ๏ To ensure the redundant copy can be used if the original fails
๏ Deviation from intended functional behavior ๏ Observable by system users
๏ Fault: event which may cause a failure
๏ Keep faults from becoming failures ๏ Make possible repairments
๏ Comp. 1 issues a โpingโ to comp. 2
๏ Comp. 1 expects an โechoโ from comp. 2
๏ Answer within predefined time period
๏ Usable for a group of components
๏ Mutually responsible for one task
๏ Usable for client/server
๏ Tests the server and the communication path
๏ Hierarchy of fault detectors improves
bandwidth usage
๏ Comp. 1 assumed failed ๏ Fault correcting comp. 3 is notified
๏ Faulty operation of algorithm ๏ Failure of a processor
๏ All redundant components respond to events in
parallel => all in same state
๏ Response from only one comp used
๏ Downtime: switching time to another up-to-date component (ms)
๏ Used in client-server config (database syst)
๏ Quick responses are important
๏ Synchronization
๏ All messages to any redundant component sent to all redundant components
๏ Must be rebooted to appropriate SW config ๏ Have its state initialized when failure occurs
๏ For a while ๏ To make sure it mimics the behavior of the working components ๏ Before restoring it to service
Component reintroduction:
checkpoint/ rollback
๏ Record of a consistent state ๏ Created periodically or in response to specific events
๏ A previous checkpoint of a consistent state ๏ Log of transactions occurred since
๏ Comp removed from operation to undergo some activities to prevent anticipated failures ๏ Exp: rebooting comp to prevent memory leaks ๏ Automatic (design architecture) or manual (design system)
๏ sequential steps bundled together, s.t. the whole bundle can be undone at once
๏ If process fault detected, then monitoring process deletes non-performing process and creates new instance of it ๏ initialized to some appropriate state as in the spare tactic
Changes
Changes Made, Tested, Deployed Within Time and Budget
Modifiability
Localize changes
Prevention of ripple effects
Defer binding time Semantic coherence Anticipate expected changes Generalize module Abstract common services
Runtime registration Configuration files Polymorphism Component replacement Adherence to defined protocols
arrive
Hide information Maintain existing interface Restrict comm paths Use an Intermediary
Localize modifications: maintain
semantic coherence