# Configuration

Stream is location transparent, meaning all the worker threads can communicate seamlessly regardless of their physical locations, whether in different thread of a single process, in different processes on the same machine or even distributed across a network.

### Deployment Options

Streamer supports two major deployment options: inter-thread and inter-process.

* **Inter-thread:** In this mode, all the actors are connected to a single event broker instance. It avoids all the overhead associated with inter process communication, ensuring the maximal efficiency. It is the easiest and most user-friendly option.
* **Inter-process:**  It is a more performance effective option, which divides the actors connected to a single event broker into multiple event brokers connected by inter-process communication and then these processes can be placed on a group of interconnected machines to achieve the maximal performance.

**Switching between different modes only requires making some changes to the configuration file.**
