From the course: Software Architecture: Patterns for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Peer-to-peer
From the course: Software Architecture: Patterns for Developers
Peer-to-peer
- [Instructor] Now we're going to take a look at the peer-to-peer architecture. A peer-to-peer application is a special case in our catalog of software architecture patterns. Peer-to-peer applications are a network of applications that communicate with each other without a central server in between them. The individual applications don't have to be online all the time. They can connect and disconnect as they please. This means they need to wait to discover each other because they might not have fixed URLs or IP addresses. As you can see on this diagram, the communication goes from one machine to another directly. Notice how machines don't have to be connected to all other machines. In a closed network, the machines will be able to find each other easily. This isn't the case in a larger network, like the internet, which is why sometimes a central server is added. But this server is only to notify the network of a new…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.