Scalability and Performance Flashcards

(60 cards)

1
Q

In system integration, what does the term ‘performance’ primarily focus on?

A

It relates to response qualities, such as processing speed and the number of requests handled per second.

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

How is ‘scalability’ defined in the context of application health?

A

The system’s capacity to overcome performance restrictions by adding more hardware resources.

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

Performance of an application is considered _____ because it changes based on load and system parameters.

A

dynamic

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

Which performance metric measures the total time required to process a single request?

A

Response Time

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

What performance metric tallies the number of requests or page impressions a program can process in a specific timeframe?

A

Throughput

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

Why is ‘System Availability’ considered a critical baseline metric?

A

Other performance metrics cannot be measured if the system is offline.

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

What is the formula for ‘System Availability’?

A

The ratio of uptime versus downtime.

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

In resource-centric performance, what is compared against total throughput to assist with capacity planning?

A

The volume of resource requests.

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

Why is understanding the frequency of requests for specific resources like CPU or memory necessary?

A

To enable full application scaling.

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

How is the relationship between scalability and performance best understood in distributed cloud environments?

A

By analyzing resource consumption.

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

What happens to performance as system load increases beyond a certain point?

A

Performance inevitably diminishes due to resource pressure.

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

What is the outcome for an application that lacks scalability as load increases?

A

Performance continues to decline through longer response times or reduced throughput regardless of hardware.

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

Define ‘Vertical Scaling’ (Scaling Up).

A

Adding more hardware resources, such as CPU or RAM, to an existing single node.

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

What is the primary advantage of Vertical Scaling?

A

It requires no changes to the application architecture.

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

What is the main limitation of Vertical Scaling?

A

Scalability is constrained by the maximum capacity of the individual hardware node.

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

Define ‘Horizontal Scaling’ (Scaling Out).

A

Adding more nodes or computers to the system and distributing requests across them.

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

Which scaling approach is recommended for cloud-based setups?

A

Horizontal Scaling.

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

What is a major advantage of Horizontal Scaling beyond workload management?

A

It offers enhanced failover capacity and improved application availability.

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

If hardware is not overutilized but performance remains poor, what is the likely cause?

A

A synchronization bottleneck.

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

What trade-off do organizations make when adopting ‘eventual consistency’?

A

They sacrifice real-time data accuracy for higher throughput and better resource use.

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

What role do load balancers play in integration architectures?

A

They spread incoming requests over numerous instances of integration components.

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

Name three common load balancing strategies.

A

Round-robin, least connections, and session-based routing.

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

How does message queuing facilitate system integration?

A

It decouples the sender and receiver systems to enable independent message processing.

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

Apache Kafka and RabbitMQ are examples of _____.

A

Distributed Message Queues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
How does caching data improve the overall performance of a system?
It minimizes the need for expensive computations or resource-intensive database searches.
26
What is the purpose of 'Data Replication' in a distributed system?
It ensures data is dispersed over numerous nodes to enable load balancing.
27
Name an example of a distributed caching technology.
Redis (or Memcached).
28
In cloud infrastructure, what is 'Elasticity'?
The ability to dynamically expand or contract resources based on current demand.
29
What mechanism in cloud platforms like AWS or Azure automatically provisions resources in response to metrics?
Auto-scaling
30
What is the purpose of 'Session Persistence' or 'Sticky Sessions'?
Ensuring successive requests from the same client are routed to the same instance to maintain session state.
31
What is the specific goal of 'Load Testing' in integration architectures?
To discover performance bottlenecks by simulating high traffic scenarios and stress testing.
32
What does 'Performance Tuning' entail for message processing or database queries?
Refining methods and execution plans to improve scalability and responsiveness.
33
How does 'In-Memory Caching' reduce database load?
By storing frequently requested data in memory to avoid repetitive, resource-intensive queries.
34
Which optimization technique focuses on indexing strategies and data modeling?
Database Optimization
35
Where can API responses be cached to enhance response speeds?
At multiple layers, such as the gateway or individual services.
36
What is the benefit of real-time performance monitoring solutions?
They provide insights into system behavior, resource consumption, and reaction times to pinpoint bottlenecks.
37
What is the role of 'Event-Driven Architectures' (EDA) in microservices?
They enable communication between microservices to take place in a loosely connected manner through events.
38
Define 'Event Partitioning'.
The separation of events into logical partitions to accomplish parallel processing and scalability.
39
What is the advantage of 'Event Batching'?
It groups multiple events together to process them faster and with less administrative burden.
40
How does 'Event Compression' improve system performance?
It minimizes the overall size of events to improve transmission and storage efficiency.
41
Name a tool specifically used for load testing integration architectures.
Apache JMeter (or Gatling/LoadRunner).
42
What is the objective of tuning query execution plans?
To increase query performance and reduce latency.
43
How can performance optimization be integrated into the development pipeline?
By incorporating automated performance testing and profiling into continuous integration (CI) processes.
44
What is the function of 'Performance Regression Monitoring'?
To assist in maintaining consistent performance as a system evolves and grows.
45
In integration architecture, what does 'Least Connections' refer to?
A load balancing strategy that distributes requests to the node with the fewest active connections.
46
What is the primary difference between a message queue and a standard direct request?
Message queues allow for asynchronous communication and decoupling.
47
What is the relationship between hardware resources and 'Performance Decay'?
Performance inevitably diminishes as load increases because physical resources are finite.
48
Which cloud-based metric is typically used to trigger auto-scaling?
Workload-related metrics (such as CPU utilization or request count).
49
What is the purpose of 'Performance Profiling'?
To analyze system efficiency and locate specific areas causing performance degradation.
50
How does 'Round-robin' routing distribute requests?
By cycling through the list of available nodes in a fixed, sequential order.
51
Why is it important to maintain 'Session Affinity' in load balancing?
To preserve the integrity of session-related data for the client.
52
What is the core benefit of using 'Amazon SQS' in an integration design?
It provides a scalable and error-tolerant messaging capability for asynchronous communication.
53
How does 'Data Modeling' contribute to performance tuning?
By structuring data in a way that optimizes retrieval speed and storage efficiency.
54
In an Event-Driven Architecture, what is the purpose of 'Consumers'?
To process the events that have been placed in logical partitions.
55
What does 'deprovisioning' refer to in the context of cloud auto-scaling?
Automatically removing resources that are no longer needed due to decreased demand.
56
What is the primary goal of optimizing 'Query Execution Plans'?
To reduce the time and resources the database requires to retrieve specific data.
57
Why is 'throughput' often measured in 'requests per second'?
To provide a standard rate for assessing the volume of traffic a program can handle.
58
What is the impact of 'Friction' as an analogy for system load?
It represents how increasing load eventually slows down system responsiveness.
59
In horizontal scaling, how are incoming requests distributed across nodes?
Through load balancing strategies.
60
What prevents 'Session State' from being lost when a client communicates with a multi-node system?
Sticky sessions or session persistence techniques.