The following diagram represents a client-server interaction:
![](https://static.packt-cdn.com/products/9781787287495/graphics/assets/91118019-e466-4904-8460-5ab1afb9e7f1.png)
We will discuss some of the variants of client-server patterns in this section. Some of the prominent variants of client-server patterns are as follows:
- The master-slave pattern
- The peer-to-peer pattern
Let's discuss them in detail.