Compare Kilim and the observer design pattern



The idea of Kilim is fundamentally different from the idea of the observer design pattern. The Observer design pattern decouples the sender and the receiver of a message.  Instead, Kilim is responsible for the non-blocking exchange of messages between different threads. These messages are sent directly from the sender to the receiver. Therefore the sender knows the receiver. The communication takes place asynchronously and the framework is responsible for buffering the messages if the recipient is not able to process quickly enough. This can be used to a much more efficient use of modern multi-core processors.

Short URL for this post:
This entry was posted in Java Basics and tagged , , . Bookmark the permalink.