8 Scalability

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Non-functional requirements - Scalability

• requests per second


• volume of incoming or outgoing data
scalability •

number of concurrent connections
other…

the property of a system to handle a growing load


Non-functional requirements - Scalability

vertical scaling horizontal scaling


(scaling up) (scaling out)

more bigger more more


clients server clients servers

shared-nothing architecture
Non-functional requirements - Scalability

clients servers

horizontal scaling comes along with challenges

service discovery
load balancing
request routing
maintenance
Non-functional requirements - Scalability

I still think that every system must run on multiple It is possible to achieve high availability in a single machine
machines these days. It allows to have redundant (almost ☺) system. Relational databases and load
machines in the system. Thus, increases availability. balancers often use active/passive setup for this.

software
software engineer
engineer
Non-functional requirements - Scalability

horizontal and vertical scaling can be used in conjunction

server server server server server server server

scale horizontally then vertically then again horizontally


Non-functional requirements - Scalability

elasticity scalability
the ability of a system to acquire resources as it needs them,
and release resources when it no longer needs them
Non-functional requirements - Scalability
request
count

need 2N machines to handle day traffic

need N machines to handle night traffic

06 12 18 24 hour

machine
count
elasticity
2N
we grow or shrink infrastructure resources
over short time intervals to adapt to workload
N
changes

06 12 18 24 hour
Non-functional requirements - Scalability
request
count

2020 2021 year

machine
count
scalability
3N
we provision resources in incremental
manner over longer time intervals
N

2020 2021 year


Non-functional requirements - Scalability

scalability is required for elasticity


is about long-term, strategic needs is about short-term, tactical needs

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy