Do not cache Valve server-status#93
Closed
Candunc wants to merge 2 commits intolancachenet:masterfrom
Closed
Conversation
Looking through the logs I noticed that Valve has a server-status url on their servers which seems to report the load of said server, and that Monolithic/Generic caches the response by default For example, http://cache1-sea1.steamcontent.com/server-status returns ```"status" { "csid" "3" "load" "10" "cell" "31" } ``` This is a very minor feature, but it could potentially speed up cache misses by honoring what appears to be Valve's automatic load balancing.
astrolox
reviewed
Oct 17, 2019
Member
astrolox
left a comment
There was a problem hiding this comment.
This looks good to me, but I'd like to test it out before approving it.
VibroAxe
added a commit
to lancachenet/monolithic
that referenced
this pull request
Jul 20, 2021
Implements lancachenet/generic#93 as this is no longer a valid comit after switcheroo
VibroAxe
added a commit
to lancachenet/monolithic
that referenced
this pull request
Oct 9, 2021
Rebasing generic off monolithic Includes lancachenet/generic#103 lancachenet/generic#93 lancachenet/generic#113 lancachenet/generic#108 Thanks to @Crabbey @zerotacg @csm10495 and @Candunc
Member
|
Merged via lancachenet/monolithic#133 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looking through the logs I noticed that Valve has a server-status url on their servers which seems to report the load of said server, and that Monolithic/Generic caches the response by default
For example, http://cache1-sea1.steamcontent.com/server-status returns
This is a very minor feature, but it could potentially speed up cache misses by honoring what appears to be Valve's automatic load balancing.
I don't have a monolithic cache set up to test this against at the moment, but I should report back sometime this weekend.