Skip to content

Renew content source#228

Merged
hansenmc merged 10 commits into
developmentfrom
renewContentSource
Oct 4, 2023
Merged

Renew content source#228
hansenmc merged 10 commits into
developmentfrom
renewContentSource

Conversation

@hansenmc

@hansenmc hansenmc commented Oct 3, 2023

Copy link
Copy Markdown
Member

Periodically check to see if ContentSource resolves to a different IP address, and add a new ContentSource to the pool if the IP is new to the pool. This will allow for CoRB to discover and leverage multiple IP addresses and route traffic to more nodes/endpoints that may be available, making better and more efficient use of load balancers and available resources.

Configure the interval with new CONTENT-SOURCE-RENEW-INTERVAL property. Default value is 60 seconds.

Mads Hansen and others added 8 commits September 30, 2023 11:57
…to detect IP changes and add them to the ContentSource pool. This will help spread the load over multiple IP if DNS maintains a pool of available IP and allow for CoRB to take advantage of new hosts if load balancer scales out to meet demands of high volume CoRB jobs.
…unning through this path very frequently and is spamming console.
…P is different and not already in pool

Added tests and assertions for ipAddressByHostAndPort
@hansenmc
hansenmc requested a review from bbandlamudi October 3, 2023 17:59
@hansenmc
hansenmc merged commit 9d8b096 into development Oct 4, 2023
@hansenmc
hansenmc deleted the renewContentSource branch October 4, 2023 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants