Different architectures and their communication styles
In this section, we will understand the difference between intra-process and inter-process communication. In addition, we will learn about the similarities and differences between different architectural styles with respect to communication and how they use the two communication mechanisms for information sharing.
Intra-process communication is a mechanism that enables a process to share data between two threads using in-process memory, while inter-process communication is a mechanism that shares data between two isolated processes, either using messages or a remote procedure call (RPC). Both communication styles are well supported, though it's important to understand how different architectures drive the dominance of one communication style over other in an application. For example, the distributed system promotes the idea of inter-process communication over intra-process communication. However, any communication between...