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

Max/client pool #5188

Open
wants to merge 68 commits into
base: develop
Choose a base branch
from
Open

Max/client pool #5188

wants to merge 68 commits into from

Conversation

mfahampshire
Copy link
Contributor

@mfahampshire mfahampshire commented Nov 27, 2024

Client pool to run as background process, keeps a configurable # of ephemeral clients in reserve to be quickly used to speed up situations where multiple clients are needed.

Todo

  • code example with mixnet module
  • add to mixnet module docs examples
  • client pool disconnect(): cancel token to disconnect clients in pool + stop creating new clients
  • documentation
    • client pool in general
    • update tcpproxy module examples
    • inline code docs
    • client_pool.rs
  • update FFI
  • proper token cancellation in examples
    • multistream
    • single

This change is Reviewable

@mfahampshire mfahampshire requested a review from octol as a code owner November 27, 2024 23:05
Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-nextra ⬜️ Ignored (Inspect) Visit Preview Dec 20, 2024 3:19pm
nym-explorer ⬜️ Ignored (Inspect) Dec 20, 2024 3:19pm
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Dec 20, 2024 3:19pm

@mfahampshire mfahampshire marked this pull request as draft November 27, 2024 23:10
@mfahampshire mfahampshire force-pushed the max/tcp-proxy-connection-pool branch 2 times, most recently from 2c5f47d to ca8c57e Compare December 10, 2024 19:57
@mfahampshire
Copy link
Contributor Author

Copy link
Contributor

@durch durch left a comment

Choose a reason for hiding this comment

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

Looks great, I feel like I could actually use this to build things :)

@mfahampshire mfahampshire mentioned this pull request Jan 8, 2025
8 tasks
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.

3 participants