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,298
questions
0
votes
1
answer
25
views
Replicated & Distributed Clickhouse - Keeper Replication
I need to create the replication in clickhouse; on two different machines that are under the same network. I have tried to configure it but I have the following error:
SQL Error [999] [07000]: Code: ...
0
votes
0
answers
9
views
Why can't I get distributed lock from redisson client sometimes
I'm using a listener to handle spring-session key expiration event. I have a Redis cluster with only 3 master nodes (no slaves) and a Tomcat cluster with 3 nodes. I was considering that the session ...
1
vote
1
answer
44
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)...
0
votes
1
answer
31
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 ...
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 ...
0
votes
0
answers
20
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?
0
votes
0
answers
19
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 ...
0
votes
0
answers
36
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 ...
1
vote
1
answer
106
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 ...
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.
...
-1
votes
1
answer
45
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. ...
2
votes
0
answers
59
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 ...
0
votes
1
answer
66
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, ...
2
votes
2
answers
51
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 ...
0
votes
2
answers
106
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 ...