Verify backpressure feature #20
Labels
No labels
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Support
Type
Task
Type
Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
You do not have permission to read 1 dependency
#21 Fix the backpressure event
clevermicro/amq-adapter-python
You do not have permission to read 2 dependencies
Reference: clevermicro/amq-adapter-python#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ref epic: CleverSwarm Onboarding #58
This ticket will verify if the backpressure feature works in python adapter, and fix it if there is any issue.
Update at the end of the sprint: currently due to the python repo is not available, I can't pack cleverswarm-endpoint into docker image. Thus, I can only test it outside the docker swarm. However, based on the results, I can confirm that python adapter can send out the correct message, and the management service can receive and decode it. According to previous test and demo, once the management service can got the message, it can perform scale up and down based on the swarm service id from the message.
This ticket will be paused and resume when we can do full-scale docker swarm deployment test.
(quote from matrix message)
Hi Stanislav Hejny (he/him, UTC+1) , I finished the testing with cleverswarm. There are several changes for the python adapter, I commited the change to branch
fix-version
. For the cleverswarm, the following lines is needed to install the python adapter in the requirement.txt file:The suffix will pin a specific dev build to prevent unexpected upgrades.
Other than the versioning issue, I also noticed that, when deploy a new version of the stack, different components will restarted. If the rabbitmq is restarted after the cleverswarm, then the adapter will no longer send out overload event. This may require some design change in the adapter to crash the program when connection is lost, so the docker swarm will bring up a new instance, or let it recover if we can.
FYI, this is the service def for cleverswarm: