this post was submitted on 19 Jul 2024
12 points (100.0% liked)

Rust

5974 readers
101 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Hi friends, Not sure whether this little tool could be of use to anyone here, but I thought it might be interesting to share.

I was running into problems on my VPS due to high-memory usage, which led to my email server going down with all the consequences that come with it. I tried using Grafana Agent to monitor the server's state, but with 2GB memory, the tool's footprint was creating more problems than anything else, so I reinvented my own, square, low-memory footprint, wheels.

Cheers everyone.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] BB_C@programming.dev 4 points 3 months ago (1 children)

opt-level = 'z' # Optimize for size.

๐Ÿ™„ ๐Ÿ˜ 

[โ€“] Miaou@jlai.lu 1 points 3 months ago

Ahah yes I remember your answer to one other post few days ago. Tbf disk usage was a problem for me so I had my reasons to throw that in there. That plus this process sleeps 99% of the time