The two models of interprocess communication are message-passing model and the shared-memory model.
The message-passing model exchange message either directly or indirectly. It is useful for exchanging smaller amounts of data and easier to implement for intercomputer communication. Its speed is slower than shared-memory model.
The shared-memory model allows maximum speed and convenience of communication. However, in the areas of protection and synchronization between the processes some problems exist.