Magento: Guides and Practical Know-how | Page 28 | mironsoft Blog
Magento
-
Sep 30, 2025
setup:upgrade is the only command in the Magento deployment process that directly changes the production database. It does not run in the build job, it is not a test, it runs on the live system. A team that does not secure this step is building a deployment process that regularly needs luck when database migrations are involved.
-
Sep 29, 2025
A growing exception.log is not monitoring, it is just a record. This article shows how Magento logs turn into a resilient log management and monitoring system: with custom Monolog handlers, central aggregation in Grafana Loki or ELK, alerting rules that avoid alert fatigue, and trace correlation across request boundaries.
-
Sep 29, 2025
A generic blue green deployment simply swaps two container versions. For Magento that is not enough, because indexers, cache, sessions and database migrations complicate the color switch. This article shows how blue green deployments for Magento in containers are built so the traffic switch actually happens without downtime and without inconsistent data.
-
-
Sep 27, 2025
Magento 2 needs a precisely tuned service stack. PHP-FPM, Nginx, MariaDB, Redis, Elasticsearch or OpenSearch, and a Node container for frontend builds: each of these services has specific configuration requirements that differ in Docker from a classic server installation. Knowing these differences is what lets you build a stable and performant Magento Docker stack.
-
-
Sep 23, 2025
In Magento 2 there are three fundamentally different test types with very different runtimes, maintenance costs, and areas of use. PHPUnit for unit and integration tests, MFTF for end-to-end browser tests, and REST API tests for the web service layer. The most common mistakes in Magento test strategies: too many MFTF tests, too few unit tests, and API tests that should really be logic tests.
-
Sep 23, 2025
After every Magento deployment the Redis cache is empty, and the first requests hit the database unchecked. This article explains why that traffic spike happens, how warmup crawlers and cache preload scripts prevent it, and how warmup can be cleanly integrated into a deployment pipeline.
-
Sep 22, 2025
Declarative Schema replaces old InstallScripts, but only when tables, constraints, indexes, and patches are kept cleanly separated. These five mistakes cause most of the problems in Magento projects.
-
Sep 22, 2025
An undersized Redis server leads to frequent eviction, dropping hit rates, and in the worst case out of memory errors right in the middle of checkout. Proper memory sizing means realistically estimating the memory needs of cache, session and full page cache based on catalog size and traffic, instead of relying on roughly guessed defaults that account for neither growth nor traffic peaks.