Questions tagged [distributed-programming]

7 questions
31
votes
2 answers

MPI recv from an unknown source

I am implementing in MPI a program in which the main process (with rank=0) should be able to receive requests from the other processes who ask for values of variables that are only known by the root. If I make MPI_Recv(...) by the rank 0, I have to…
shkk
  • 313
  • 1
  • 3
  • 4
10
votes
2 answers

Is LLVM suitable for parallel languages?

What properties of LLVM makes it good choice for implementation of (parallel, concurrent, distributed)-oriented language, what makes it bad?
4
votes
1 answer

distinction between concurrent programs, parallel programs and distributed programs

I was just going through programming structure studies; In particular I was studying concurrent programs. I came across few articles where distinction between concurrent programs, parallel programs and distributed programs seems confounding. My…
2
votes
1 answer

Make fair loss reliable

I'm studying a Distributed System. I'm following this book "Introduction to Reliable and Secure Distributed Programming" . In chapter 2, introduce three types of link: Fair loss (that I understand is the lighter) Stubborn link Perfect link. I saw…
1
vote
6 answers

In depth Ruby Gem development resources (book, video, sites)

I'm writing my first Gem for a Rails project, and looking for in depth information about this topic i have found nothing at all. I'm not looking "how to build a gem", but a relevant developer guide or resource on the topic (distributed programming…
user428616
  • 39
  • 2
0
votes
2 answers

Why saying that a thread is a "light-weight process" is not technically correct?

During my distributed programming course in Java, my teacher asked this question. He argued that even if it is a commonly used definition it is not totally true. What are the things that can make a thread to be considered as a heavy-weight process?
user6373874
0
votes
1 answer

Scaling out: division of labor or redundancy?

This is something I've always wondered about. I understand that horizontal scaling is about adding more machines into the mix. But I can think of two approaches to this. Suppose I have 20 servers I want to use (plus a database). I can: Make all…
Jason Baker
  • 192,085
  • 135
  • 376
  • 510