Location Transparency: Sending a message to an actor works the same whether it's local or on another machine — the model hides the network. Location transparency means sending a message to an actor or service works the same way whether it runs in the same process or on another machine. The code that sends the message does not need to know where the receiver lives.
Frequently asked questions about Location Transparency
How is Location Transparency used in practice?
The actor model and systems like Erlang and Akka are built on this. You can move actors between machines to spread load or survive failures without changing the code that talks to them.
What should you keep in mind with Location Transparency?
The benefit is flexibility. The catch is that networks are not free: remote calls are slower and can fail in ways local calls cannot. Good systems keep the interface the same but still design for timeouts, retries and lost messages. Pretending a remote call is exactly like a local one is a well-known source of trouble in distributed systems.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.