Architecture · Databases
Database Query Optimization: Master Class
Learn how to read EXPLAIN and EXPLAIN ANALYZE, optimize JOINs and CTEs, implement keyset pagination, and understand database engine MVCC load behaviors.
Every guide on DevSense. Filter by topic or tag, or search.
Architecture · Databases
Learn how to read EXPLAIN and EXPLAIN ANALYZE, optimize JOINs and CTEs, implement keyset pagination, and understand database engine MVCC load behaviors.
Architecture · Distributed systems & microservices
How to handle thousands of incoming HTTP events per second: edge validation, buffering layers, batch writing to storage, and avoiding database connection starvation under spike loa...
Architecture · Distributed systems & microservices
How to choose a broker for async work: comparing memory queues (Redis), AMQP brokers (RabbitMQ), and commit logs (Kafka) based on ordering, scale, durability, and operational cost.
Architecture · Laravel in production
How to monitor application state across environments and load: structured logging, metrics, traces, correlation IDs across services, and a practical spectrum of tools from classic...
Architecture · Databases
Why PHP-FPM and workers multiply database sessions, how middle-tier poolers and proxies share real server connections, and what Laravel teams should know about PgBouncer modes, Pro...
Security · Attacks and defence
The web attacks you’ll meet most often: injections (SQL/command), XSS, CSRF, IDOR/access-control bugs, SSRF, unsafe file uploads, clickjacking, and configuration pitfalls. Practica...
Architecture · Distributed systems & microservices
How to design an API gateway at the edge of your microservice mesh: comparing PHP, Node, Go, and Rust, managing internal gRPC and RabbitMQ traffic, and avoiding common routing pitf...
PHP · PHP versions
Upgrade guide for PHP 5.3: Master namespaces, late static binding, closures, NOWDOC, Phar, and cycles garbage collection while navigating fatal BC breaks like deprecated ereg and c...
PHP · PHP versions
PHP 5.4 upgrade guide: Learn traits, short array syntax, callable type hints, automatic $this in closures, and how to migrate legacy code after the removal of magic quotes and regi...
PHP · PHP versions
PHP 5.5 upgrade guide: Learn memory-efficient generators (yield), try-catch finally blocks, the native password hashing API, ClassName::class syntax, and how to migrate away from d...
PHP · PHP versions
PHP 5.6 upgrade guide: Learn variadic parameters, argument unpacking with ..., the exponentiation operator **, use function/const namespace imports, constant expressions, hash_equa...
PHP · PHP versions
PHP 7.0 upgrade guide: scalar type declarations, return types, null coalescing (??), spaceship operator (<=>), anonymous classes, Throwable, CSPRNG, and major BC breaks.