Questions tagged [distributed-computing]
Distributed computing refers to architectures where software components of a same system run on several processes distributed across a network of computers and somehow coordinated.
161 questions
2 votes
2 answers
151 views
For distributed workflows - tradeoffs having stateless workers operate on central state, versus stateful workers?
I'm working on a problem right now that processes incoming data at a very high rate. Each event that flows in has an association ID, and each group of associated events will affect behaviour over time ...
1 vote
2 answers
332 views
Generating unique number in distributed environment
I have little app that i plan to run behind load balancer, with up to 5-8 instances. Inside the app has service, that needs to generate unique number that has up to 10 digits ( so 1-10 digits) each ...
3 votes
4 answers
1k views
Giving multiple components access to a single database
This is in context of a distributed computing. There is a Service A which owns a database and hosts APIs for updating an entities in this database. As time went by, the service has evolved and we are ...
0 votes
1 answer
78 views
What are the approaches for joining data in distributed processing
Let's suppose I have a processing workflow of: Where: The workflow can have many instances running at the same time. A1 -> B1, C1 -> D1 A2 -> B2, C2 -> D2 and so on... Each node is an ...
-1 votes
1 answer
143 views
Pinning Stateful Tasks in Stateless microservice cluster
We have a microservice whose multiple instances are running for High Availablity and Scaling. But although we have multipe stateless microservice there are some tasks which needs to be singleton. For ...
2 votes
2 answers
611 views
Is sequential consistency equivalent to performing memory accesses by a processes in program order and performing each memory access atomically?
In Fundamentals of Parallel Multicore Architecture, by Yan Solihin, p304 defines sequential consistency memory model: Overall, we can express programmers’ implicit expectation of memory access ...
3 votes
1 answer
264 views
Database consistency for a distributed system
I'm working on a phone call monitoring project. The aim is to have one row in the calls table for each ongoing call. Each call instance may be updated by many different servers/threads as more ...
1 vote
1 answer
88 views
Ordering of analytical events
My team is working on an analytics system for the web app. The web app has a service-oriented architecture, and all events are gathered in one centralized analytics service. The system is sending ...