Blog

Notes on DevOps, Kubernetes, self-hosted infrastructure and consulting.
17 posts tagged performans · clear filter
November 19, 2026
Capacity Planning for LLM Inference Servers: KV Cache, Continuous Batching, Time to First Token and the Invisible Queue
Fitting the weights in memory does not mean the service survives load. The KV cache decides concurrency, and the metrics that matter are time to first token and...
llm performans olceklendirme
Read more →
November 6, 2026
Ephemeral Port Exhaustion and a Full conntrack Table: TIME_WAIT, Connection Reuse and the Kernel Knobs That Matter
What causes "cannot assign requested address" and "nf_conntrack: table full", which popular knobs do nothing, and the order that actually fixes it.
linux performans guvenilirlik
Read more →
November 5, 2026
Cache Stampede: Protecting the Database When a Hot Key Expires, Request Coalescing, Serving Stale and Early Refresh
When a hot key expires, hundreds of requests send the same query to the database at once. How to choose between TTL jitter, request coalescing, a distributed lo...
performans guvenilirlik backend
Read more →
November 3, 2026
Table Partitioning in PostgreSQL: When You Need It, Partition Pruning, Dropping Old Data and Lock Pitfalls
Partitioning is less about making a big table fast and more about dropping time-based data cheaply. How to set up range partitioning, create and detach partitio...
postgresql performans operasyon
Read more →
November 1, 2026
Choosing a Primary Key: Deciding Between bigint, UUIDv4 and UUIDv7
Auto-increment integers leak business volume, random UUIDs scatter index writes and inflate WAL on large tables. Separating the two jobs of a key, why UUIDv7 sh...
postgresql backend performans
Read more →
October 31, 2026
Load Shedding Under Overload: Concurrency Limits, Queue Time, Deadlines and Health Checks That Sink You
An overloaded service rarely crashes; it keeps doing work its callers already abandoned. How to reject excess load early and cheaply with bounded queues, concur...
guvenilirlik performans backend
Read more →
October 26, 2026
Finding Slow Queries and Reading Plans in PostgreSQL: pg_stat_statements, EXPLAIN ANALYZE and Where the Planner Goes Wrong
Measure the load before adding an index: finding the truly expensive query with pg_stat_statements, comparing estimates with reality in EXPLAIN (ANALYZE, BUFFER...
postgresql performans gozlemlenebilirlik
Read more →
October 24, 2026
Keyset Instead of Offset: Cursor Pagination, Unique Sort Keys and Rows Lost at Page Boundaries
Why OFFSET slows down on deep pages and drops rows when data changes underneath it. Keyset pagination with row comparisons in PostgreSQL, opaque cursor design,...
postgresql api-tasarimi performans
Read more →
October 19, 2026
Getting HTTP Caching Right: Cache-Control, ETag and Data Leaks in Shared Caches
The difference between no-cache and no-store, the right header per response type, 304s that never happen, and the mistakes that make a CDN hand one user's respo...
performans guvenlik api-tasarimi
Read more →
October 17, 2026
The Quiet Cause of Sporadic 502s: Idle Connection Timeouts and Keepalive Ordering
Load balancers, proxies and application servers close idle connections on different clocks. Get the order wrong and random 502s appear after quiet periods. The...
guvenilirlik backend performans
Read more →
October 13, 2026
Using Redis as a Data Store: Memory Policy, Persistence and Its Limits as a Queue
Redis arrives as a cache and ends up holding sessions and the job queue. Choosing maxmemory-policy, the cost of RDB versus AOF, what async replication loses, an...
redis backend performans
Read more →
October 11, 2026
PostgreSQL Autovacuum and Table Bloat: Dead Tuples, Transactions That Block Cleanup, and Per-Table Tuning
Default autovacuum thresholds let cleanup fall behind on large tables. How to measure bloat, find the old transactions that freeze cleanup, tune per table, get...
postgresql performans operasyon
Read more →
October 9, 2026
Cardinality Explosions in Prometheus: Choosing Labels, What a Series Costs and Stopping It at the Source
Every unique label combination is its own series, and one unbounded label can run Prometheus out of memory. Measuring series counts, the closed-set rule for lab...
gozlemlenebilirlik performans sre
Read more →
September 29, 2026
DNS Resolution in Kubernetes: ndots, Search Domains, CoreDNS Caching and the Five-Second Stalls
Why a pod turns one external lookup into eight DNS queries, what lowering ndots breaks, when autopath and NodeLocal DNSCache are worth it, where the exact five-...
kubernetes operasyon performans
Read more →
September 28, 2026
PostgreSQL Connection Pooling: PgBouncer's Three Modes, the Prepared Statement Trap and Multi-Tenant Sizing
How to choose between session, transaction and statement modes, what breaks in transaction mode, why the prepared statement error only appears under load, and h...
postgresql performans multi-tenant
Read more →
September 26, 2026
Kubernetes Resource Requests and Limits: CPU Throttling, OOMKilled and QoS Classes
A request is the scheduler's reservation, a limit is the kernel's quota. Why CPU gets paused while memory gets killed, how QoS classes decide eviction order, an...
kubernetes performans operasyon
Read more →
September 15, 2026
Autoscaling Pods in Kubernetes: Choosing Between HPA, VPA, and KEDA
HPA scales replica count, VPA scales resource sizing, KEDA scales event-driven load. Using one in place of another is the root cause of most autoscaling complai...
kubernetes olceklendirme performans
Read more →