Ilya Brin - Software Engineer

History is written by its contributors

Go Runtime: How GC Impacts P99 Latency in High-Load APIs

2025-12-27 10 min read Go Performance

You have a great API with median latency of 5ms, but P99 suddenly spikes to 500ms? Clients complain about periodic freezes? Welcome to the world of Go Garbage Collector and its impact on tail latency.

In this article, we’ll tackle a real problem: how a 10ms GC pause turns into 500ms latency for users, and what to do to keep P99 latency under control.

Continue reading

A distributed system is one in which the failure of a computer you didn’t even know existed can render your own computer unusable.

Leslie Lamport

Graceful Shutdown in Go: Properly Stopping Services Under Load

2025-12-23 14 min read Go Production

In production environments, especially in Kubernetes, services are constantly being stopped and started: deploying new versions, scaling, node switching. Improper shutdown leads to lost requests, unsent data, and desynchronized state.

Graceful shutdown is not just handling SIGTERM. It’s a comprehensive termination strategy that guarantees:

  • Completion of active request processing
  • Proper closure of database and cache connections
  • Saving intermediate results
  • Sending all metrics and logs

Let’s explore how to implement this correctly.

Continue reading
For a long time, almost nobody was listening to us computer scientists. Now I worry maybe too many people are listening to us and they think we know more than we do.
Donald Ervin Knuth

The Next Programming Language: Simple Syntax for Complex Paradigms

2025-12-04 5 min read Technology Programming

The programming language landscape is approaching a pivotal moment. While languages like Rust and modern C++ have pushed the boundaries of what’s possible in systems programming, they’ve also highlighted a fundamental tension: complexity vs. accessibility. The next revolutionary programming language won’t just be another incremental improvement-it will fundamentally reimagine how we express complex ideas through simple syntax.

Continue reading

Multitasking in Linux: Preemptive vs Non-Preemptive

2025-11-29 6 min read Operating Systems Ilya Brin

Multitasking is the operating system’s ability to execute multiple tasks simultaneously. But “simultaneously” is an illusion. In reality, the processor switches between tasks so quickly that it creates the impression of parallel work.

Understanding how multitasking works is critical for writing efficient applications and understanding system behavior under load.

Continue reading
Older posts