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

serve mode #2

Open
4 tasks
valdo404 opened this issue Jan 12, 2025 · 1 comment
Open
4 tasks

serve mode #2

valdo404 opened this issue Jan 12, 2025 · 1 comment
Milestone

Comments

@valdo404
Copy link
Owner

valdo404 commented Jan 12, 2025

using asynchronous operators plus js operators, really implement the proxy of proxy logic.

it is divided in several parts:

  • downloading already existing proxy.pac (and serving it locally)
  • determining the proxy decision (control plane)

it means we are gonna ask the logic what are gonna be the proxy decision for a specific host / ip.

it can involve asynchronous logic

  • executing the proxy decision with proxy failover (data plane)

basically it is gonna take a proxy decision and gonna execute it, request by request, in an optimized fashion

  • inspecting the incoming requests (host, ip, ssl, etc). Should use a cache. required by execution logic
@valdo404 valdo404 added this to the soon milestone Jan 13, 2025
@valdo404
Copy link
Owner Author

valdo404 commented Jan 13, 2025

implementation needs:

executing js and optimized ast code in boa
proxy subexecution
using ssl sni

when operators output can be cached, use the cache directly

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

No branches or pull requests

1 participant