1/238
i hate my life
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
URL Protocol
Specifies the communication rules (http or https) used between client and server
URL Hostname
The human-readable domain name that identifies the server
URL Port
The numeric channel used for communication (80 for HTTP
URL Path
The specific resource or page requested from the server
Hostname
A domain name that maps to an IP address via DNS
IP Address
A numeric address (IPv4 or IPv6) used by routers to deliver packets
Packet Route
The sequence of network hops a packet takes to reach a destination
Registrar
A company that rents domains and manages DNS for those domains
A Record
DNS record that maps a hostname to an IPv4 address
AAAA Record
DNS record that maps a hostname to an IPv6 address
Why IPv4 Is Needed
IPv6 is not widely supported so servers still need IPv4 for accessibility
Domain Cost
Domains typically cost $5–20 per year
IPv4 Cost
A single IPv4 address costs roughly $30–50 due to scarcity
Outbound Traffic Cost
Cloud providers charge around $50–100 per TB of outbound data
HTTPS Certificate Cost
HTTPS certificates are free using Let’s Encrypt
Instance
A rented virtual machine in the cloud
Instance Type
A preset hardware configuration defining CPU
AMI
An Amazon Machine Image used to launch identical server instances
Burstable CPUs
CPUs that earn credits when idle and use credits for bursts
RPS
The number of HTTP requests per second a server can reliably handle
t3.micro RPS
A small burstable instance that handles around 20 RPS
c5.large RPS
A compute-optimized instance that handles around 100 RPS
Capacity Utilization
The ratio of current RPS to maximum RPS
Queuing Delay
Latency added when requests must wait in a server queue
Amplification Factor
ρ/(1−ρ)
The amplification factor shows how queuing delays grow latency at an exponential rate
Amplification Behavior
Low when utilization is low but approaches infinity near 100%
Safe Utilization Range
Systems should keep utilization around 50–66% to avoid collapse
Auto-Scaling
Automatically adds or removes instances based on metrics like CPU usage
Load Balancer
Distributes incoming traffic across multiple servers
Congestion Collapse
When overloaded servers waste work and total throughput drops
addEventListener Syntax
element.addEventListener("event", function)