Toets Flashcards
3 advantages of microservices
Scalability, Flexibility in Technology Choices, Faster Deployment and Updates
3 disadvantages of microservices
Increased Complexity, Data Management Challenges, Higher Overhead
3 advantages of three tier
Simplicity, Reduced Overhead in Communication, Simplified Data Management
3 disadvantages of three tier
Limited Scalability, Tight Coupling and Less Flexibility, Single Point of Failure
What is an architectural pattern
A pattern is a solution to a problem in a context
Patterns often use several tactics
What is an architectural tactic
“A tactic is a design decision that influences the
achievement of a quality attribute response—
tactics directly affect the system’s response to
some stimulus
Focus on a single quality attribute response
What is the difference between a pattern and a tactic
Patterns often use several tactics
What is a Layer Pattern
In a layered software architecture pattern, the system is divided into horizontal layers, each with its own specific responsibilities. The higher-level layers depend on the services provided by the lower-level layers, which enables them to be developed and tested independently.
Name 2 aspects of the Layer pattern
It is a well-defined architecture that provides a structured approach for building complex software systems. This pattern is based on the concept of separating the different concerns of a system into distinct layers or levels. Each layer provides a specific set of functionality and is independent of the other layers, which helps to increase the flexibility, maintainability, and scalability of the system.
Name 2 positives of the Layer pattern
Flexibility: The modular structure of the architecture enables developers to make changes to one layer without affecting the other layers.
Reusability: The layered architecture pattern enables developers to reuse the code across different layers, which helps to reduce development time and costs.
What is the pipe-filter pattern
The Pipe and Filter software architecture pattern divides a system or application into a series of filters that process data in a specific way. Each filter receives input data, processes it, and then sends it to the next filter through a pipeline.
The pipeline consists of a series of connected filters, each performing a specific task on the data. The data flows from the source through each filter until it reaches the destination.
Name 2 negatives of the Layer Pattern
Overhead: The use of multiple layers can result in additional overhead, which can affect the performance of the system.
Complexity: The layered architecture pattern can become complex, especially when dealing with large systems, which can make it challenging to manage and maintain.
What is an Marshaller?
The Marshaller is responsible for converting (or serializing) the request object into a format that can be transmitted over the network. This is necessary because the request needs to be transmitted from one process (or machine) to another.
What is an Request handler
The Request Handler is responsible for managing and forwarding requests between different components within the broker architecture. It acts as an intermediary that passes the marshaled request from the client side (Process A) to the correct service or component on the server side (Process B).
What is the Broker Pattern
The Broker software architecture pattern is a design pattern that allows components in a software system or application to communicate with each other through a central intermediary called a broker.