utworzone przez kuba | cze 2, 2026 | Poradniki
Single server obsługuje ~1000 concurrent users. Powyżej tego — upgrade CPU/RAM i hit ceiling. Solution: multiple servers + load balancer. Load balancer basics Load balancer sits in front. User connects do load balancera. Load balancer routes request do jednego z 10...
utworzone przez kuba | maj 27, 2026 | Poradniki
Database to bottleneck dla większości WordPress sites. Wszystkie operacje idą przez database. Jeśli database slow — everything slow. Indexes — baza danych highway Without indexes: full table scan (check every row). With indexes: direct lookup. Difference między 500ms...
utworzone przez kuba | maj 21, 2026 | Poradniki
Downtime discovered by users = worst-case. Customer emails „site down” before ty wiesz. Monitoring prevents to. Uptime monitoring Services like Uptimerobot ping site every 60 seconds. If response code nie 200 — alert. Email/SMS/Slack. Ty wiesz INSTANTLY....
utworzone przez kuba | maj 15, 2026 | Poradniki
Client: „site is slow”. Ty: „to pewnie database”. Fact: to external API call zajmuje 5 sekund. Assumptions błędne. Profiling reveals truth. Server-side profiling Xdebug profiler generates callgrind file. Tools jak KCachegrind show które...
utworzone przez kuba | maj 9, 2026 | Poradniki
Junior developerzy używają echo + die. To caveman debugging. Professional tools istnieją. Learn them — save tygodnie frustacji. WP_DEBUG — enable error logging define(’WP_DEBUG’, true); define(’WP_DEBUG_LOG’, true);...