Technical Writings

Stories, tutorials, and deep dives spanning across diverse worlds.

Top Topics

4
3 results
Length:
Using less memory to look up IP addresses in Mess With DNS
·11 min read

Using less memory to look up IP addresses in Mess With DNS

How I cut the IP lookup database footprint from 117MB to 46MB in a Go DNS playground, eliminating OOM crashes on resource-constrained cloud servers - using pprof, netip.Addr, and ASN deduplication.

MessWithDNSでのIPアドレス検索におけるメモリ使用量の削減
·19 min read

MessWithDNSでのIPアドレス検索におけるメモリ使用量の削減

Go製DNSプレイグラウンドでIP検索データベースのフットプリントを117MBから46MBに削減し、リソース制約のあるクラウドサーバーでのOOMクラッシュを解消した方法を、pprof、netip.Addr、ASN重複排除を用いて解説します。

Giảm bộ nhớ khi tra cứu địa chỉ IP trong Mess With DNS
·14 min read

Giảm bộ nhớ khi tra cứu địa chỉ IP trong Mess With DNS

Tìm hiểu cách tôi giảm dung lượng cơ sở dữ liệu tra cứu IP từ 117MB xuống 46MB trong một Go DNS playground, loại bỏ lỗi OOM trên các máy chủ đám mây hạn chế tài nguyên - sử dụng pprof, netip.Addr và khử trùng lặp ASN.