szmer
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
KitaitiMakoto@lemmy.ml to Rust Programming@lemmy.ml · 3 years ago

Reqwest http client fails when too much concurrency - help - The Rust Programming Language Forum

users.rust-lang.org

external-link
message-square
1
fedilink
2
external-link

Reqwest http client fails when too much concurrency - help - The Rust Programming Language Forum

users.rust-lang.org

KitaitiMakoto@lemmy.ml to Rust Programming@lemmy.ml · 3 years ago
message-square
1
fedilink
Reqwest http client fails when too much concurrency
users.rust-lang.org
external-link
Also be aware that hyper/reqwest will happily run out of system connections if you're not careful. What happens is that the client has a connection pool but idle connections are not necessarily closed immediately. Even with only a single concurrent connection, when you try to reuse the same connection pool to access thousands of different domains, the pool might keep connections open since there is no max number of connections per pool limit. Some details: Hyper not cleaning up idle connection...
  • northbound_goat
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 years ago

    deleted by creator

    • KitaitiMakoto@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      Oh, I didn’t know that. Thank you!

      • northbound_goat
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 years ago

        deleted by creator

Rust Programming@lemmy.ml

rust@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@lemmy.ml
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 41 users / week
  • 66 users / month
  • 474 users / 6 months
  • 14 local subscribers
  • 8.9K subscribers
  • 379 Posts
  • 927 Comments
  • Modlog
  • mods:
  • Nutomic@lemmy.ml
  • Joe@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.6
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org