পৃষ্ঠাসমূহ

Search Your Article

CS

 

Welcome to GoogleDG – your one-stop destination for free learning resources, guides, and digital tools.

At GoogleDG, we believe that knowledge should be accessible to everyone. Our mission is to provide readers with valuable ebooks, tutorials, and tech-related content that makes learning easier, faster, and more enjoyable.

What We Offer:

  • 📘 Free & Helpful Ebooks – covering education, technology, self-development, and more.

  • 💻 Step-by-Step Tutorials – practical guides on digital tools, apps, and software.

  • 🌐 Tech Updates & Tips – simplified information to keep you informed in the fast-changing digital world.

  • 🎯 Learning Support – resources designed to support students, professionals, and lifelong learners.

    Latest world News 

     

Our Vision

To create a digital knowledge hub where anyone, from beginners to advanced learners, can find trustworthy resources and grow their skills.

Why Choose Us?

✔ Simple explanations of complex topics
✔ 100% free access to resources
✔ Regularly updated content
✔ A community that values knowledge sharing

We are continuously working to expand our content library and provide readers with the most useful and relevant digital learning materials.

📩 If you’d like to connect, share feedback, or suggest topics, feel free to reach us through the Contact page.

Pageviews

Tuesday, January 31, 2017

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 applications. 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.
  • Reliability − 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.
  • Scalability − As we scale up an application, sooner or later we will exhaust the capabilities 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 application 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.
S.No Methods & Description
1 spawn This is used to create a new process and initialize it.
2 node This is used to determine the value of the node on which the process needs to run.
3 spawn on Node This is used to create a new process on a node.
4 is_alive This returns true if the local node is alive and can be part of a distributed system.
5 spawnlink This is used to create a new process link on a node.

No comments:

Post a Comment