Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotBM to Lobste.rsEnglish · 1 month ago

The Data Race That Wasn't a Bug (and the One That Was)

victoriametrics.com

external-link
message-square
0
link
fedilink
2
external-link

The Data Race That Wasn't a Bug (and the One That Was)

victoriametrics.com

RSS BotBM to Lobste.rsEnglish · 1 month ago
message-square
0
link
fedilink
You turn on Go’s race detector and get a data race inside net/http that makes no sense at first. This post digs into how Go’s HTTP client really sends a request body, why it can keep reading your buffer after Client.Do has returned, why we decided that race is harmless in vmagent, and why the same behavior could corrupt data in vmauth, so we fixed it there.

Comments

alert-triangle
You must log in or register to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

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: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Source of the RSS Bot

Visibility: Public
globe

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

  • 38 users / day
  • 141 users / week
  • 443 users / month
  • 1.49K users / 6 months
  • 2 local subscribers
  • 424 subscribers
  • 17.2K Posts
  • 1.26K Comments
  • Modlog
  • mods:
  • patrick
  • RSS BotB
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org