Maxim Mironjuk | Page 290
Posts by Maxim Mironjuk
-
-
Apr 7, 2025
A single web server is rarely the reality in Magento production systems. When web servers, worker processes, cron jobs and queue consumers are spread across separate hosts, the GitLab pipeline has to coordinate that complexity, without race conditions, orphaned processes or partial deployments.
-
Apr 7, 2025
Few concepts in JavaScript cause as much confusion as this binding. A method works perfectly when called directly and suddenly returns undefined when passed as a callback. This article shows where this binding typically breaks, how to debug it systematically and which fix actually fits which situation.
-
Apr 7, 2025
A separate Tailwind build for every white-label customer scales poorly once a hundred tenants want to use the same application with their own color scheme. With a single CSS bundle and server side injected CSS variables based on the hostname, white-label theming without a rebuild per brand becomes possible, directly on top of Tailwind CSS v4 design tokens.
-
Apr 6, 2025
A transaction that never got committed does not block a single query, it silently prevents vacuum in the background, holds locks, and bloats undo structures without a single slow query ever showing up in the slow query log. Detecting idle in transaction sessions systematically through session views leads to the cause in application code, instead of treating symptoms only.
-
Apr 6, 2025
CMS blocks in Magento are edited by content editors in the WYSIWYG, not by developers in phtml files. Without fixed Hyvä CMS block styling conventions, inconsistent layouts appear, along with broken utility classes the Tailwind JIT compiler never generated, and CSP violations from inline styles. A small, documented class set solves this problem for good.
-
Apr 6, 2025
Faceted navigation lives on terms aggregations over product attributes, but those aggregations are only as fast as the mapping underneath them. Index attributes as an analyzed text type instead of keyword, and you get fragmented filter values, duplicate facets and aggregations that burn unnecessary memory and compute time on every category page.
-
Apr 6, 2025
Object-oriented inheritance does not map directly onto the relational model, which is why every mapping is a compromise. This article explains the three established patterns for inheritance in databases, Single Table Inheritance, Class Table Inheritance and Concrete Table Inheritance, with real table designs and their respective tradeoffs around NULL values, queries and extensibility.
-
Apr 6, 2025
A well built print stylesheet decides whether a printout is readable or whether navigation, banner ads and cut off tables make the content unusable. With media print, targeted page breaks and visible link targets, a screen view becomes a document that also works on paper.
-
Apr 6, 2025
When a heavily requested Redis key expires, hundreds of concurrent requests often hit the database unchecked, because each request handles the cache miss independently. This phenomenon is called cache stampede or thundering herd and can be prevented deliberately with mutex locking or probabilistic early expiration, without giving up the benefits of the cache.