<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>nvcnvn</title><description>Notes on software, systems, and things I learn along the way.</description><link>https://nvcnvn.github.io/</link><item><title>I have a big slab of DRAM at home</title><link>https://nvcnvn.github.io/blog/mmmllm-1-dram-slab/</link><guid isPermaLink="true">https://nvcnvn.github.io/blog/mmmllm-1-dram-slab/</guid><description>mmmllm, part 1. SGLang shipped a unified radix cache for managing a big slab of GPU memory. I have a big slab of DRAM at home: a Mac mini whose CPU, GPU and Neural Engine all share it. So I built an LLM server around it, for fun.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><category>mmmllm</category><category>llm</category><category>apple-silicon</category><category>memory</category></item><item><title>A bunch of matmuls fighting over 273 GB/s</title><link>https://nvcnvn.github.io/blog/mmmllm-2-matmuls-vs-bandwidth/</link><guid isPermaLink="true">https://nvcnvn.github.io/blog/mmmllm-2-matmuls-vs-bandwidth/</guid><description>mmmllm, part 2. Every token is a pile of matrix multiplications fighting over one memory bus. The loops an LLM server runs, why decode needs bandwidth and prefill needs math, what attention leaves behind in each 2 MiB block, and how the Neural Engine borrows the GPU&apos;s weights.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><category>mmmllm</category><category>llm</category><category>apple-silicon</category><category>memory</category></item><item><title>Sharing and running ahead: a prefix cache on an async GPU</title><link>https://nvcnvn.github.io/blog/mmmllm-3-sharing-and-running-ahead/</link><guid isPermaLink="true">https://nvcnvn.github.io/blog/mmmllm-3-sharing-and-running-ahead/</guid><description>mmmllm, part 3. Reusing a prompt&apos;s memory across requests, why a hybrid model&apos;s state must be copied, and how the counters stay right while the CPU runs a step ahead of the GPU.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><category>mmmllm</category><category>llm</category><category>apple-silicon</category><category>memory</category></item><item><title>Use RBAC to protect your gRPC service right on the proto definition</title><link>https://nvcnvn.github.io/blog/grpc-rbac-on-proto-file/</link><guid isPermaLink="true">https://nvcnvn.github.io/blog/grpc-rbac-on-proto-file/</guid><description>Declare which roles may call each gRPC method with a custom MethodOptions extension, then enforce it with a single interceptor that reads the proto descriptor.</description><pubDate>Tue, 15 Oct 2024 00:00:00 GMT</pubDate><category>go</category><category>grpc</category><category>protobuf</category></item><item><title>Simulate Let’s Encrypt certificate issuing in local Kubernetes</title><link>https://nvcnvn.github.io/blog/simulate-https-certificates-acme-k8s/</link><guid isPermaLink="true">https://nvcnvn.github.io/blog/simulate-https-certificates-acme-k8s/</guid><description>Simulate Let’s Encrypt HTTPS certificate issuing with the HTTP-01 challenge in your local k8s cluster, using cert-manager, Pebble and a CoreDNS hack.</description><pubDate>Tue, 23 Nov 2021 00:00:00 GMT</pubDate><category>kubernetes</category><category>cert-manager</category><category>coredns</category><category>acme</category></item><item><title>Snapshot test your PostgreSQL in Golang pgx driver</title><link>https://nvcnvn.github.io/blog/snapshot-test-postgresql-golang-pgx/</link><guid isPermaLink="true">https://nvcnvn.github.io/blog/snapshot-test-postgresql-golang-pgx/</guid><description>Write unit tests for your repository layer using query snapshots: parse your SQL with pg_query_go and check it without starting a database.</description><pubDate>Wed, 20 Oct 2021 00:00:00 GMT</pubDate><category>go</category><category>postgresql</category><category>testing</category></item><item><title>Dependency Injection in Go without the help of convenience containers?</title><link>https://nvcnvn.github.io/blog/go-dependency-injection-without-containers/</link><guid isPermaLink="true">https://nvcnvn.github.io/blog/go-dependency-injection-without-containers/</guid><description>After a few weeks of Spring Boot&apos;s @Autowired magic, how hard is dependency injection in Go without a container? Interfaces, factories, and a lazy container of your own.</description><pubDate>Wed, 20 Dec 2017 00:00:00 GMT</pubDate><category>go</category><category>dependency-injection</category></item></channel></rss>