Lecture 5 - Architectural Styles I Flashcards

(8 cards)

1
Q

Some architectural characteristics?

A

Scalability, elasticity, maintainability, consistency, teamwork, portability, modularity, flexibility, reusability, interoperability, simplicity, performance, security, reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Monolithic Architecture?

A
  • Model where the entire application is built as a single codebase
  • Handles multiple functions in one self-contained unit
  • Simple to develop and deploy
  • Hard to scale / modify
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Key characteristics of a Monolithic structure?

A
  • Single app block
  • Unified development
  • No component isolation
  • Interconnection & independence
  • Tight coupling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Layered Architecture?

A
  • System divided into layers
  • Each layer provides specific functionality to the layer ABOVE
  • Ex: presentation, business, persistence, database
  • IMPORTANT: database is another layer, a main class that instantiates everything is required (because each layer relies on another)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Key characteristics of a Layered Architecture?

A
  • Simplicity
  • Modularity
  • Maintainability
  • Scalable and Reusable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Pipeline Architecture?

A
  • Design pattern that organizes data and tasks into CONNECTED stages
  • Each stage performs a specific task and passes the result to the next stage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Key Components of the Pipeline Architecture?

A

Pipes
- channels to transfer data between filters
- unidirectional and point-to-point

Filters
- performs only ONE TASK
- composite tasks handled by multiple filters

Producer (Source)
- starting point of a process

Transformer
- accepts input and performs a transformation of data to forward to outbound pipe

Tester
- accepts input to test one or more criteria
- OPTIONALLY produces output based on test

Consumer
- End point of pipeline
- Can persist final result to a database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Key characteristics of a Pipelined Architecture?

A
  • Sequential
  • Modular
  • Isolation
  • Scalability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly