A good test is to run a simple test many times. Occasionally this finds things like memory leaks, file handle leaks, temporary file leaks, and so on.

If you have a simple web server for static content, and it works fine for a few requests, and seems fast when serving a thousand requests, you could try running a million requests. Or a billion. Not necessarily by many concurrent clients, although that'd be a good test too, just sequential requests.

I found a limitation in ab that way.

Follow

@liw I found memory leaks in git-annex this way

(sadly haskell's state monad has a laziness related memory leak, so cannot be used in production. mathemeaticians.)

· · Web · 0 · 1 · 1
Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!