Maxim Mironjuk | Page 145
Posts by Maxim Mironjuk
-
Oct 28, 2025
setup:di:compile is one of the most time consuming steps in the Magento build process, and one of the most frequently misplaced. Run it too early and the full Composer base is missing; run it too late and it delays the deploy. This article shows when and how di:compile should run in a GitLab pipeline.
-
Oct 27, 2025
nice and ionice only lower the priority of background jobs, but do not prevent them from briefly occupying entire cores. CPU pinning goes a step further: it reserves specific cores exclusively for PHP-FPM workers, while reindexing and cron are only allowed to run on other cores.
-
Oct 27, 2025
A runbook read during an incident at two in the morning has to be understandable within seconds, not after five minutes of reading. Claude helps extract recurring patterns from existing incident postmortems, design a structure for the first five minutes under stress, and systematically keep runbooks current after every new incident instead of writing them once and forgetting about them.
-
Oct 27, 2025
Eventual consistency is not a compromise for poorly built systems but a deliberate consequence of the CAP theorem in every distributed system, including read replicas in relational databases. Whoever concretely understands consistency models, conflict resolution, and replication lag makes better decisions about where a short delay is acceptable and where it is not.
-
Oct 27, 2025
Most Magento stores waste link equity because internal links are placed by chance instead of by design. Directing PageRank deliberately to category and product pages, choosing anchor text with intent, and consistently hunting down orphan pages improves rankings without a single external backlink. This article shows concrete methods, tools and Magento-specific implementations for a resilient internal linking strategy.
-
Oct 27, 2025
Fibers give PHP code the ability to pause execution at almost any point in the call stack and resume exactly there later, without restructuring the calling logic into callbacks or generators. This article walks through the Fiber class step by step, from start and resume through error handling with throw to a custom cooperative scheduler and the real costs in memory and stack usage.
-
Oct 26, 2025
Sending a date as a plain string looks harmless until two clients expect different formats and the backend ends up duplicating validation. Custom scalars move format and validation into a single, reusable type in the schema, with clear rules for serialization, input parsing, and error cases.
-
Oct 26, 2025
The bundle extension is the mechanism through which a Symfony bundle registers its services in the host container. Compiler passes go one step further and hook directly into the ContainerBuilder after all bundles have loaded, to collect tagged services or modify definitions. This article explains both mechanisms and how they work together.
-
Oct 26, 2025
Handing out a license to all developers and hoping for organic use leads to fragmented, ineffective adoption in most organizations. A structured rollout plan with a pilot group, a champions program, targeted stakeholder communication and gradual scaling turns Claude Code into a fixed part of the engineering organization instead of an unused tool on the license list.
-
Oct 26, 2025
Anyone who does not deliberately test exceptions leaves error handling unverified, which is the most dangerous blind spot in a PHP test suite. PHPUnit provides precise methods to ensure that the correct exception type, the right message, and the correct error code are actually raised.