🏠
Author: jaz.bsky.social (did:plc:q6gjnaw2blty4crticxkmujt)

Record🤔

uri:
"at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.post/3krugfrmass2j"
cid:
"bafyreibwd6fuowqmgm4ghcvxkgiq6qoxhsib3bh2345zo7wqnabx4appay"
value:
text:
"backfilling a fresh Relay instance today and watching it eat up ~60 CPU seconds per second on the host and 50GB of RAM while catching up on the network...

95% of this CPU usage is the Go Garbage Collector... The actual active memory usage is also only 10GB.

Wish someone would write a Relay in Rust"
$type:
"app.bsky.feed.post"
embed:
$type:
"app.bsky.embed.images"
images:
  • alt:
    "Grafana charts showing ~1 minute per second of CPU usage and ~50GB of ram usage"
    image:
    View blob content
    $type:
    "blob"
    ref:
    $link:
    "bafkreigzartzch6rbhxshun5gy2ix72byzk6hjmys2bkzhpq2nw7wfcndi"
    mimeType:
    "image/jpeg"
    size:
    66311
    aspectRatio:
    width:
    1271
    height:
    350
  • alt:
    "Go CPU profile showing 0.42 hours of CPU time used in a 30 second profile, 95% of which is being taken up by the garbage collector"
    image:
    View blob content
    $type:
    "blob"
    ref:
    $link:
    "bafkreic4zptsusdmgh27xqcyjokozk463raiqkpxj2bkmranu5hv6ccaie"
    mimeType:
    "image/jpeg"
    size:
    316693
    aspectRatio:
    width:
    1919
    height:
    475
  • alt:
    "Go memory profile showing 10GB of in-use memory"
    image:
    View blob content
    $type:
    "blob"
    ref:
    $link:
    "bafkreib546y7m57je6gjueypg7suvcthmxne5dzhsl62p5yma4yznrfjku"
    mimeType:
    "image/jpeg"
    size:
    508246
    aspectRatio:
    width:
    1913
    height:
    723
langs:
  • "en"
createdAt:
"2024-05-07T01:27:36.080Z"