-
Notifications
You must be signed in to change notification settings - Fork 842
Closed
Description
I have a multi-process application where multiple processes are used to track a single value. For instance, lets say I have 3 processes: A, B, and C behind a load balancer.
A receives a request to increment the Gauge: A = 1, B = 0, C = 0
B receives a request to decrement the Gauge: A = 1, B = -1, C = 0
So using livesum, my current gauge value is 0 (as expected). However, what would happen if B suddenly needs to terminate (eg. due to auto-scaling) or restart (due to a crash, memory management, etc.)? How does the client handle this? Do I assume correctly that the Gauge will now show the incorrect value of 1, because "live sum" only considers the living processes?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels