Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Add Buffer layer to outer service for efficiency" #48

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

ekzhang
Copy link
Owner

@ekzhang ekzhang commented Nov 13, 2023

This reverts commit 2de8333.

I didn't realize this, but the Buffer layer actually limits the concurrency of the inner service because semaphore permits are not dropped until the request actually finishes execution in the async call() handler of the inner service. This means that we started limiting concurrent connections drastically.

In particular this broke sshx 9 hours ago for several users. Ahhh. At least I was running a lot of replicas around the world, which mitigated it a little.


Especially sorry to European users, who got eaten up by the German server, which has the most load.

If you're reading this and were affected, please report the bug next time something like this happens! (though it hopefully won't happen again) I'm glad I had monitoring. 😅

@ekzhang ekzhang enabled auto-merge (squash) November 13, 2023 02:48
@ekzhang ekzhang merged commit 3d0395b into main Nov 13, 2023
4 checks passed
@ekzhang ekzhang deleted the ekzhang/revert-buffer branch November 13, 2023 02:49
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.

1 participant