Blog

Notes on DevOps, Kubernetes, self-hosted infrastructure and consulting.
11 posts tagged api-tasarimi · clear filter
November 9, 2026
Getting CORS Right: Preflight, Credentialed Requests and the Hole Opened by Reflecting Origin
CORS does not block requests, it blocks reading responses; it is neither a server-side firewall nor CSRF protection. Choosing between same origin, an allowlist...
guvenlik api-tasarimi backend
Read more →
November 8, 2026
Idempotency Keys: Handling Retried POST Requests Without Doing the Work Twice, Scope, Concurrency and Stuck Records
Retrying a timed out POST can create the same order twice. Choosing between natural idempotency, a key stored in the same transaction as the business data and a...
api-tasarimi guvenilirlik postgresql
Read more →
November 7, 2026
Unicode Normalization: Strings That Look the Same but Are Not, Choosing Between NFC and NFKC, and Where to Normalize
Two file names that look identical slip past a unique constraint and search only half works. The difference between NFC, NFD and NFKC, normalizing at the bounda...
backend api-tasarimi postgresql
Read more →
November 2, 2026
The Lost Update Problem: Atomic Updates, Pessimistic Locks, Version Columns and If-Match
Any read, modify, write code path loses data under concurrent load. How to choose between atomic updates, FOR UPDATE and optimistic version checks, how ETag and...
postgresql api-tasarimi backend
Read more →
October 27, 2026
Storing Timestamps Right: Instants vs Wall Time, UTC, Time Zone Names and DST Traps
Most date bugs surface at a DST transition or when a country changes its rules. Store past events as instants and future calendar events as local time plus zone...
postgresql backend api-tasarimi
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 20, 2026
Retry Storms: Exponential Backoff, Jitter, Retry Budgets and Circuit Breakers
When every layer retries a slow dependency, a brief slowdown becomes a long outage. Retrying at one layer, full jitter, retry budgets as a share of traffic, pro...
guvenilirlik api-tasarimi mimari
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 →
September 30, 2026
API Rate Limiting: Token Buckets, Choosing the Right Key and Distributed Counter Pitfalls
Why fixed windows let twice the limit through, why the IP address is a poor key, how INCR plus EXPIRE in Redis can block a client forever, and why you should an...
api-tasarimi backend guvenilirlik
Read more →
September 14, 2026
Webhook Design: Retries, Idempotency, and Signature Verification
Webhooks look simple until production traffic exposes three hard questions: delivery guarantees, duplicate events, and sender authenticity. This post covers ret...
saas api-tasarimi guvenlik
Read more →
September 13, 2026
The Empty Map Trap When Talking to the Kubernetes API
When a Kubernetes map field is empty, whether JSON encodes it as an array or an object depends on your language, and getting it wrong silently rejects the whole...
kubernetes api-tasarimi test
Read more →