Implement events IDLE, UPDATE for backpressure monitor. #15

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

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.
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 this to the V.01 milestone 2025-06-15 07:33:49 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
You do not have permission to read 1 dependency
Reference: clevermicro/amq-adapter-python#15
No description provided.