Questions tagged [distributed]

Multiple computers working together, using a network to communicate

A distributed system consists of multiple autonomous computers that communicate through a . The computers interact with each other in order to achieve a common goal. A computer program that runs in a distributed system is called a distributed program, and distributed programming is the process of writing such programs.

2221 questions
1
vote
1 answer

Is there a secure p2p distributed database?

I'm looking for a distributed hash table to store and retrieve values securely. These are my requirements: It must use an existing popular p2p network (I must guarantee my key/value will be stored and kept in multiple peers). None but myself should…
p2pgirl
  • 11
  • 1
1
vote
1 answer

What is Return type of method invocation?

I am using Proxy Pattern in Java (InvocationHandler), to implement a lock manager for a remote object, in the proxy class (which implements InvocationHandler). I am calling the remote object (here : flighRMConnection) : if…
Arian
  • 7,397
  • 21
  • 89
  • 177
1
vote
3 answers

Distributed Processing: C++ equivalent of JTA

I'm developing a mission-critical solution where data integrity is paramount and performance a close second. If data gets stuffed up, it's gonna be cata$trophic. So, I'm looking for the C/C++ version of JTA (Java Transaction API). Does anyone know…
magius
  • 901
  • 1
  • 9
  • 18
1
vote
1 answer

Give name to child process

I have supervisor which spawns dynamic child using spawn_link. When I create new child: create_my_child(). it return: {ok, <0.324.0>} so everything happy. I try to assign variable to child from console: {ok,X} = create_my_child() I get error…
Lethi
  • 1,167
  • 1
  • 10
  • 16
1
vote
1 answer

How to configuration Elastic Search

We are running elastic search on two servers with a load balancer, I just want to know what is the best server configurations where I can work on that server with minimal problems.
phuongdo
  • 271
  • 1
  • 4
  • 9
1
vote
3 answers

What are the advantages/disadvantages for distributing multi stage tasks via JMS or JavaSpaces?

When trying to distribute work that requires a multiple stage processing pipeline what are the communication, synchronization and throughput costs limitations in JMS vs JavaSpaces?
JavaUser
1
vote
2 answers

How to wait for multiple remote processes (via ssh) to finish?

My situation is that I have a number of processes that are supposed to start (more or less) at the same time in different remote hosts. A master script, which spawns all remote processes, should wait for all of them to finish, to only then proceed…
Eduardo Bezerra
  • 1,923
  • 1
  • 17
  • 32
1
vote
3 answers

Python distributed/networked web application

I should build a small and simple distributed (or rather networked) web application where the nodes could send messages directly with each other. I have no clue how to approach this though. I know how to build a simple distributed application by…
zaplec
  • 1,681
  • 4
  • 23
  • 51
1
vote
2 answers

How does an Erlang gen_server start_link a gen_server on another node?

I have an Erlang application that is getting a little too resource-hungry to stay on one node. I'm in the process of making gen_servers move from one process to another - which turns out to be relatively easy. I'm at the last hurdle: getting the…
Sniggerfardimungus
  • 11,583
  • 10
  • 52
  • 97
1
vote
1 answer

Multi-paxos instance

In wikipediahttp://en.wikipedia.org/wiki/Paxos_(computer_science), the proposal number and the instance number is inconsistent. Message flow: Multi-Paxos, steady-state | X--------->|->|->| | | Accept!(N,I+1,W) Message flow:…
hailinzeng
  • 966
  • 9
  • 24
1
vote
1 answer

System architecture for an online service serving a large number of users from multiple countries

I really want to understand how a web system architecture would look like for a website that Provide an online service with tens of thousands of users at any time Provide support to multiple languages so that people from many countries can use…
curious1
  • 14,155
  • 37
  • 130
  • 231
1
vote
1 answer

Role based permissions in a distributed application

I am working on an application consisting of modules written in different languages (Java and C# are among them) running on different machines (currently, inside a LAN; so it is not a big one, but nevertheless, it is distributed). We are seeking for…
juniper
  • 311
  • 5
  • 13
1
vote
1 answer

How to measure request time in distributed system?

After my research I decided to log from each component for every request: time, localization and some kind of request-ID. Then take it all together and sort by ID. Then I can have information how long does it take to go through single component for…
alicjasalamon
  • 4,171
  • 15
  • 41
  • 65
1
vote
2 answers

JAVA: How to set thread name (RMI)?

After my research and discussion here I decided I need to set the same name for threads on different JVMs which belong to the same control flow in the distributed system. Threads are created e.g. by RMI. Is it possible to set name when thread is…
alicjasalamon
  • 4,171
  • 15
  • 41
  • 65
1
vote
1 answer

How to right distribute python application which based on python-fabric

My application has a python script for control a farm of linux hosts. More precisely, I have a clustered database management system. The script implements the routine tasks for controlling the cluster -- start nodes, stop nodes, get status of nodes,…
Oleg Tsarev
  • 146
  • 7