- Erlang - Web Programming
- Erlang - Drivers
- Erlang - Performance
- Erlang - Concurrency
- Erlang - OTP
- Erlang - Distributed Programming
- Erlang - Ports
- Erlang - Databases
- Erlang - Emails
- Erlang - Processes
- Erlang - Funs
- Erlang - Binaries
- Erlang - BIFS
- Erlang - Guards
- Erlang - Pattern Matching
- Erlang - Preprocessors
- Erlang - Header Files
- Erlang - Macros
- Erlang - Exceptions
- Erlang - Records
- Erlang - Tuples
- Erlang - Maps
- Erlang - Atoms
- Erlang - File I/O
- Erlang - Lists
- Erlang - Strings
- Erlang - Numbers
- Erlang - Recursion
- Erlang - Modules
- Erlang - Functions
- Erlang - Decision Making
- Erlang - Loops
- Erlang - Operators
- Erlang - Variables
- Erlang - Data Types
- Erlang - Shell
- Erlang - Basic Syntax
- Erlang - Environment
- Erlang - Overview
- Erlang - Home
Erlang Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Erlang - Distributed Programming
Distributed Programs are those programs that are designed to run on networks of computers and that can coordinate their activities only by message passing.
There are a number of reasons why we might want to write distributed apppcations. Here are some of them.
Performance − We can make our programs go faster by arranging that different parts of the program are run parallel on different machines.
Repabipty − We can make fault-tolerant systems by structuring the system to run on several machines. If one machine fails, we can continue on another machine.
Scalabipty − As we scale up an apppcation, sooner or later we will exhaust the capabipties of even the most powerful machine. At this stage we have to add more machines to add capacity. Adding a new machine should be a simple operation that does not require large changes to the apppcation architecture.
The central concept in distributed Erlang is the node. A node is a self-contained.
The Erlang system contains a complete virtual machine with its own address space and own set of processes.
Let’s look at the different methods which are used for Distributed Programming.
Sr.No. | Methods & Description |
---|---|
1 |
This is used to create a new process and initiapze it. |
2 |
This is used to determine the value of the node on which the process needs to run. |
3 |
This is used to create a new process on a node. |
4 |
This returns true if the local node is apve and can be part of a distributed system. |
5 |
This is used to create a new process pnk on a node. |