Implement events IDLE, UPDATE for backpressure monitor. #15

Closed
opened 2025-04-23 12:24:06 +00:00 by stanislav.hejny · 1 comment
Member

Ref epic: CleverSwarm Onboarding #58

AMQAdapter monitors number of concurrent requests and when threshold is exceeded, it reports Backpressure OVERLOAD event, that is a signal to the management service to consider scaling up the number of the Service instances.

Task: to facilitate also scaling down the instance count, AMQ Adapter will be issuing periodic UPDATE events, to allow management service to monitor current load on the service, and when the count of concurrent requests stays on 0 for multiple UPDATE periods, and IDLE event will be raised that signals the management service possibility to scale down the service instance count.

Ref epic: [CleverSwarm Onboarding #58](https://git.cleverthis.com/clevermicro/clevermicro/issues/58) AMQAdapter monitors number of concurrent requests and when threshold is exceeded, it reports Backpressure OVERLOAD event, that is a signal to the management service to consider scaling up the number of the Service instances. Task: to facilitate also scaling down the instance count, AMQ Adapter will be issuing periodic UPDATE events, to allow management service to monitor current load on the service, and when the count of concurrent requests stays on 0 for multiple UPDATE periods, and IDLE event will be raised that signals the management service possibility to scale down the service instance count.
stanislav.hejny added the
Points
8
State
Verified
labels 2025-04-23 12:24:06 +00:00
stanislav.hejny added this to the Sprint Apr 15th- 28th project 2025-04-23 12:24:06 +00:00
stanislav.hejny added
State
In Review
and removed
State
Verified
labels 2025-04-27 23:47:15 +00:00
stanislav.hejny added the
Type
Task
label 2025-04-28 13:06:12 +00:00
stanislav.hejny added
State
Completed
and removed
State
In Review
labels 2025-04-30 19:05:21 +00:00
Author
Member

@hurui200320 verified that the new events are triggered well. closing this task

@hurui200320 verified that the new events are triggered well. closing this task
stanislav.hejny added the Signed-off: Owner label 2025-05-01 18:03:36 +00:00
stanislav.hejny self-assigned this 2025-06-15 07:33:45 +00:00
stanislav.hejny added this to the V.01 milestone 2025-06-15 07:33:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks
You do not have permission to read 1 dependency
Reference: clevermicro/amq-adapter-python#15