Maxim Mironjuk | Page 140
Posts by Maxim Mironjuk
-
Nov 4, 2025
As soon as multiple processes access the same resource, a local mutex is no longer enough. Redis offers SET NX PX as a simple locking primitive and the Redlock algorithm as an approach for multiple independent instances, but Martin Kleppmann's well known critique clearly shows the limits of this technique and when simpler locks are actually sufficient.
-
Nov 4, 2025
Session storage looks trivial until an application scales across multiple servers and the first login vanishes right after a deploy. Redis as a centralized session store solves the scaling problem, but brings its own architecture decisions along with it, from serialization format through TTL strategy to the question of whether sticky sessions are even needed anymore.
-
Nov 3, 2025
Wrapping everything in useMemo and useCallback does not make React apps faster, it makes them more complicated. Whoever measures first finds the real bottlenecks: unnecessary re-renders, expensive calculations in the wrong place, and layout thrashing. This article shows the correct workflow with the React Profiler, Chrome DevTools and solid metrics.
-
Nov 3, 2025
Approximate aggregation replaces exact calculations like COUNT DISTINCT or percentiles with probabilistic algorithms that deliver a result on billions of rows in a fraction of a second, with a controlled error usually under one percent. This article explains how HyperLogLog and t-digest work, when approximate aggregation pays off, and when exact calculation remains the right choice.
-
Nov 3, 2025
CSS Custom Properties are powerful but untyped: the browser treats them as plain strings. CSS @property changes that fundamentally. With a type declaration, inheritance control and an initial value, Custom Properties become full, animatable CSS values. Gradients, colors and numbers can then be interpolated and hooked into transitions.
-
Nov 3, 2025
NestJS combines TypeScript decorators, dependency injection and a modular architecture into a backend framework that enforces structure instead of leaving it to chance. Learning TypeScript with NestJS means understanding modules, controllers, providers, DTOs and guards as one connected system, not a loose collection of functions.
-
Nov 3, 2025
Anyone planning a new Magento storefront eventually faces the same fundamental question: Hyva or PWA Studio. One approach renders PHP directly inside the Magento monolith, the other fully decouples frontend and backend and communicates exclusively through GraphQL. This article compares architecture, hosting effort, performance, team skillset and extensibility concretely, and shows when each approach actually makes sense.
-
Nov 3, 2025
The virtual /proc filesystem exports kernel internals as seemingly ordinary files. Reading /proc/[pid]/status, /proc/meminfo, and /proc/loadavg directly with built-in Bash tools produces lightweight diagnostic scripts that need no external process call and work fine in minimal container images without extra tooling.
-
Nov 2, 2025
Custom events are the lightweight way to let independent Alpine.js components communicate without setting up a central store. With $dispatch and matching event listeners, a component bus emerges where sender and receiver don't need to know about each other, as long as both agree on the same event name and payload structure.
-
Nov 2, 2025
The Hyvä checkout is built from Alpine.js components with no Knockout.js and no UI components, styled entirely with Tailwind CSS utility classes. Knowing the right Hyvä checkout styling patterns for the step indicator, payment method selection and order summary helps you avoid layout shifts, unclear error states and inconsistent spacing between checkout steps.