Understanding Client-Server Architecture
Published: January 28, 2025 | Author: Rajiv
What is Client-Server?
The client-server model is a distributed application structure that partitions tasks between servers (providers of resources) and clients (requesters of resources).
Real-World Analogy
Think of it like a restaurant:
- Client = Customer ordering food
- Server = Kitchen preparing the order
- Request = Your food order
- Response = The prepared dish
Key Takeaways
- Clients request, servers respond
- HTTP is stateless - server forgets you after each request
- One page load = many requests