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

fix: use api boundary nodes as socks proxies #2712

Merged
merged 41 commits into from
Jan 24, 2025
Merged

Conversation

mihailjianu1
Copy link
Contributor

@mihailjianu1 mihailjianu1 commented Nov 20, 2024

#2191 creates socks proxies on API Boundary Nodes.

This PR fetches all of the API Boundary Nodes IPs through registry for each https outcalls request batch and sends them to the adapter. The adapter uses one of these IPs as SOCKS Proxy (if needed), at random, with a maximum of 3 retries.

This is a dark launch; still using the old boundary nodes as socks proxies, and comparing the results with results coming through the new api boundary nodes.

As bandwidth could go up drastically, we only perform dark launch comparisons on a small percentage of requests. That percentage is currently set to 0.

@rumenov rumenov changed the base branch from mihailjianu1/tmep1 to master November 20, 2024 12:09
@mihailjianu1 mihailjianu1 changed the title mutex fix: use api bn ips Nov 22, 2024
@github-actions github-actions bot added the fix label Nov 22, 2024
Copy link
Contributor

@r-birkner r-birkner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my side!

@mihailjianu1 mihailjianu1 added this pull request to the merge queue Jan 24, 2025
Merged via the queue into master with commit 623b155 Jan 24, 2025
25 checks passed
@mihailjianu1 mihailjianu1 deleted the mihailjianu1/tmep2 branch January 24, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants