terminal

codeando_simple

terminal

menu

terminal

search_module

guest@codeandosimple: ~/system/search $ grep -r "" .

Press [ENTER] to execute search

Status

Engine: Ready

Database: Online

Index: V2.1.0_LATEST

bash -- cat remote-facade.md
guest@codeandosimple: ~/enterprise/distribution $ cat remote-facade.md

Remote Facade_

// "Coarse-grained for efficient remote communication"

The **Remote Facade** pattern provides a "coarse-grained" interface for a set of "fine-grained" domain objects to improve efficiency over a network.

In a local environment, calling many small methods is cheap. But over a network, each call has enormous latency. Remote Facade groups multiple operations into a single large call.

# Facade vs. DTO

They often work together. The **Remote Facade** is the *method* that is called remotely, and the **DTO** is the *object* that the method returns or receives with all the necessary data.