Skip to main content

Questions tagged [distributed-system]

A distributed system consists of a collection of autonomous computers, connected through a network and distribution middleware, which enables computers to coordinate their activities and to share the resources of the system, so that users perceive the system as a single, integrated computing facility.

distributed-system
1 vote
1 answer
35 views

Why is read repair not sufficient in making dynamo-style database linearizable?

I am reading DDIA. It says "possible to make Dynamo-style quorums linearizable at the cost of reduced performance: a reader must perform read repair (see “Read repair and antientropy” on page 178)...
Zack Light's user avatar
0 votes
1 answer
30 views

Table primary key uniqueness across different / multi-region Amazon RDS postgres

I have an application that uses postgres database on one region (US West) containing several tables, one of which contains several hundred thousand records (let's call it "events" table with ...
ct101's user avatar
  • 1
0 votes
0 answers
18 views

MySQL How To Overcome UUID Issues In A Distributed System? [duplicate]

We have a distributed system which consists of an Identify Provider (idP) which handles user authentication and authorization. The idP associates a UUID with a user and issues JWT Access Tokens which ...
user25257312's user avatar
0 votes
0 answers
19 views

Does zookeeper preserver order when moving sessions?

In the zookeeper book it says: When a client creates a ZooKeeper handle using a specific language binding, it establishes a session with the service. The client initially connects to any server in ...
codefast's user avatar
0 votes
0 answers
19 views

How can a distributed system satisfy CP in CAP theorem?

If a system is partition tolerant, it's impossible for it to be consistent since there's no way for one node to update another. How can you be both consistent while partition intolerant be possible?
JobHunter69's user avatar
  • 2,067
0 votes
0 answers
17 views

Distributed lock - Two nodes believing to have a token after process pause

In this article, Martin Kleppmann claims that using fencing tokens solves the issue of process pauses and uses the following diagram to demonstrate it: Here we can see that the write of client 1 gets ...
Tlokuus's user avatar
  • 327
0 votes
0 answers
34 views

Deduplication , Grouping for events table at scale

I'm working with an events table where different source tables trigger writes into this table with columns: entity_id and payload. These events are then published to a Kafka topic using a message ...
Forece85's user avatar
  • 468
1 vote
1 answer
102 views

Message ordering in event driven architecture

Consider there are 3 microservices - s1, s2 and s3. s1 sends message m1. s2 consumes message m1, applies some business logic and then sends message m2. The problem is that s3 receives message m2 ...
Yash's user avatar
  • 21
0 votes
1 answer
28 views

Citus Colocation Behavior

I am using Citus as a managed service in the cloud with Azure Cosmos DB for PostgreSQL. I have 1 coordinator and 2 worker nodes setup. There are distributed tables and reference tables created. ...
Rohith K's user avatar
-1 votes
1 answer
43 views

How to deploy Docker Container in Google Cloud [closed]

I am new to the GCP. I want to move my distributed system, which runs locally using Docker, to the cloud. I have already tried to bring my containers into the cloud, but unfortunately it doesn't work. ...
mikal's user avatar
  • 129
2 votes
0 answers
58 views

(Re)attaching to an App Insights Operation from another machine/process (not using HTTP)

I have a .NET 8 distributed system in AKS where work is divided among workers using a Manager/Worker pattern. With work shared out on a Redis List. I'm aiming to get unified logging via Application ...
Andrew Matthews's user avatar
0 votes
1 answer
59 views

How to efficiently pagination and sort data from multiple services?

I am working on a project where I need to fetch and filter data from three different services: ProductService, PriceService, and StockService. My goal is to get products that belong to Category = 54, ...
mehmtee10's user avatar
2 votes
2 answers
48 views

Handling Race Condition in distributed system

Hi I have order creation functionality in my project and I am giving a order_id to client which is a auto-increment ID order = serializer.save(user=user,created_by=user,platform=platform) Now how ...
Ramprasad Thakur's user avatar
0 votes
2 answers
103 views

Can Sloppy Quorum guarantee strong read consistency?

In the book "Designing Data-Intensive Applications. The Big Ideas Behind Reliable, Scalable and Maintainable Systems", we can read regarding Sloppy Quorum : However, this means that even ...
Yas's user avatar
  • 11
1 vote
1 answer
41 views

EDA Choreography - keep overall state

In an event driven architecture using choreogeaphy model, how do we keep current, global state of the process? Lets say we have a process where many services p1,...,pn transition many states s1,...,...
tlzg's user avatar
  • 14.7k

15 30 50 per page
1
2 3 4 5
87