Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 8
  1. A follow-up to the timeout middleware post.

  2. Sometimes we need concurrent processing that preserves input order while streaming.

  3. My Side Project: How Low Can You Go?

    After a decade of Go backends, I wanted to try something different – so I built a daily number-picking game with vintage UI and game theory elements.

  4. I needed a longer timeout for a single file upload endpoint, and the obvious fix – wrapping the route in another timeout middleware – silently did nothing.

  5. Real-Time Batching in Go

    Imagine updating a user's last_active_at timestamp on every HTTP request – thousands of tiny UPDATEs per second, perfect for batching, except each call only sees one user ID at a time.

  6. File upload handlers often stream the request body straight to S3, so there's nothing buffered to validate.

  7. Concurrent one-off scripts need progress visibility, but Grafana is overkill and a pile of atomic counters with fmt.Printf is barely readable.

  8. I was cleaning up a large GCS bucket when I discovered that listing the files, not deleting them, was the real bottleneck – list APIs are paginated and strictly sequential, 1000 files per request.