Jan-Lukas Else

Tech, life and everything else

Published on in 💬 Micro
Short link: https://b.jlel.se/s/76d
Share this post
⚠️ This entry is already over one year old. It may no longer be up to date. Opinions may have changed.

It seems like I finally fixed a memory leak in GoBlog yesterday, that sometimes made my blog crashing. How? I used Anthropic’s new Claude 3.5 Sonnet to write me a new HTTP compression middleware that compresses HTTP responses using zstd or gzip when possible. I needed to instruct a few changes and modify some code lines as the initial implementation was wrong, but thereafter, it finally seems to work better than my original implementation that probably leaked some objects anywhere. Claude also helped me to write unit tests (which I adapted a bit, though) and increase code coverage.

Tags: ,

Jan-Lukas Else
Interactions & Comments