Hosting
Hosting is the service that stores your application's files (code, database, media files) and ensures they are accessible 24/7 over the internet.
In essence, you rent resources like CPU, RAM, ROM on a server, deploy your application there, and run it. This way, your application becomes accessible to everyone on the internet.
OSI Model (Open Systems Interconnection)
The OSI model is a standardized model that explains how computer networks operate, from physical hardware to software.
When data is sent from one computer to another, this process is carried out in the same order across all devices.
The OSI model consists of 7 layers:
-
Physical
Transmitting data as bits over the physical medium (cable, fiber, radio signal). Voltage levels, cable types, etc.
-
Data Link
Error-free data transfer between devices on the same physical network (frames). Physical addressing (MAC addresses).
Switches operate at this level. The Ethernet protocol resides here.
-
Network
Routing of packets between different networks. Logical addressing (IP addresses) is performed at this level.
-
Transport
End-to-end (host-to-host) data transfer that is reliable (TCP) or unreliable (UDP).
Error control, flow control. Port numbers are important for this layer.
-
Session
Establishes connections between devices, tracks the active side, and performs synchronization.
-
Presentation
Formats, encrypts, and compresses data, ensuring it reaches the application layer in a more understandable form.
-
Application
The layer where applications interface with the network (HTTP, FTP, SMTP, DNS, etc.).
APIs operate here.
TCP/IP Model
A model created before the OSI model, focusing more on real-world applications.
It is named after its two most important protocols:
TCP (Transmission Control Protocol) and IP (Internet Protocol)
The most common 4-layer model:
-
Application Layer
The layer where user applications interact with the network.
Roughly speaking, it combines the roles of the Application, Presentation, and Session layers in the OSI model.
-
Transport Layer
Includes the TCP and UDP protocols.
-
Internet Layer
IP ensures that data is routed between networks using IP packets.
-
Network Access Layer (or Link Layer)
Determines how IP packets are routed over the network.