Questions tagged [distributed-system]

This tag can be used by questions on distributed system concept, design, and implementations.

199 questions
3
votes
2 answers

What are the ideal use cases for weakly consistent systems?

I have been reading about distributed databases and the like providing weak and strong consistency guarantees, but perhaps I am short on imagination - when would you want to use a weakly consistent system? Most examples of real use-cases - services…
1
vote
0 answers

Do Multi-Primary replicated distributed systems guarantee sequential consistency?

I know that Primary-backup replicated distributed systems guarantee sequential consistency. My question is whether multi-primary systems also achieve that. I mean if they use consensus (i.e: Paxos algorithm) to agree on an order for the received…
1
vote
2 answers

Strict definition of a Distributed System

I am taking an introductory course on Distributed Systems, and while reading a introductory tutorial the author discusses that 5 Rails servers behind a single load balancer all connected to one database, is not an example of a Distributed…
0
votes
1 answer

Redux Pattern in a distributed system?

I would love an opinion on system design in a distributed system that operates under the same domain. I have a bunch of microservices following the Database per Microservice pattern, and updated via events where each database stores a partial…
0
votes
0 answers

Do web companies use the master replica in data center nearest to the user to do writes?

I am interested how multi datacenter (multi homing in Google terms) systems handle writes to strongly consistent user data? Is the master replica for each user placed in the same datacenter and writes are done through log structured queue (or…
TohaSt
  • 1
-3
votes
1 answer

Design of a Distributed System to Uniquely Assign Identifiers to Each Node

Let's say I want to design a distributed system whose only purpose is to assign each running node a unique identifier in some small range (Say, 5-100 nodes into a 10 bit identifier). When a node is added, it should get an unused identifier. We need…