DELAPARRA
Index
Color
NL
Category: Programming paradigms

Location Transparency

Explained by Updated

What is Location Transparency?

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.

Definition source Coders Lingo, CC BY 4.0

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.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with L

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.