Magento 2 Plug-in (AOD) architecture is harmful:
Magento 2 interception approach changes the behavior of a class function, but it does not change the class itself.
When the before and around plugin sequence is finished, Magento calls the first plugin after method in the sequence loop, and not the after method of the current plugin that was being executed by the around method.
Magento uses a lot of plugins, even at its core, it lowers request time by ~30%. This is especially notice in places where there is a lot of non-cached PHP logic going on (for example admin panel/cart/checkout/Ajax…
The developer's name is anonymous to protect him from the Magento/Adobe and theirs “business” partners abuse and humiliation.
“ … M2 was NEVER faster compared to M1. I was an eBay engineer at. This time and I was very against publishing these results. They are bull-t. And instead of focusing on code and better arch some folks decided to use fake marketing instead. I was internally showing that we are testing Varnish performance and not M2 performance. And Varnish was already available as an M1 extension for Magento, so in fact, all “performance benefits” of M1 were not really existed…
Magento 2 it is themost trouble making eCommerce platform in the world.
It is a list of the official Magento 2 troubles you will have:
Why Magento 2 is so popular eCommerce platform?
The answer is simple, the reptiloid alien race has conspired with the NSA (and the Ukrainians) to torture us programmers to death…
But seriously, Magento 2 is probably the answer.
Magento 2 is the most distressing thing to happen to computing since MS-DOS.
Magento was Simple
When it was first introduced in 2008, Magento 1 was a very simple PHP framework, compared to the Magento 2 monster. At that time, the barrier of entry for writing eCommerce applications was high. Developing eCommerce applications involved writing raw PHP 4.0 code.
When Magento 1…
The “phpseclib”, used by Magento, has an algorithm of how it selects which library to use for cryptography. In short:
The prioritization is as follows: OpenSSL > mcrypt > pure-PHP
mcrypt and OpenSSL are loads faster than the pure-PHP implementation
mcrypt offers a 45x speedup over the internal mode, OpenSSL offers a 6.5x speedup over mcrypt.
Due to the absence of mcrypt library in PHP 7.2, phpseclib used pure-PHP cryptography implementation which is 45x times slower — that explains why we observe performance degradation.
A logical question here would be, why phpseclib is not using OpenSSL, which is 6.5x …
Magento 2 Comunity Version itself is not so bad. However, Magento Core issues/bugs should be fixed during the implementation of the projects by Magento Agencies. As we can see Magento agencies not able to fix Magento’s core issues and contribute PR with the solution and unit/functional these to the official GitHub Open Source repository. As a result, Agencies are not able to deliver good projects using the M2 framework. Agencies are interested only in their own profit and hire the cheapest developers or outsource the development overseas. They are not able to even identify the issues.
In the crowded world…
Before I wrote about bad Magento Cloud performance, basically, Magento Commerce Cloud is broken and can’t be fixed. Merchants are really frustrated but still using it. However, Helly Hansen (HH) decided to move the website out of this cloudy Magento solution. We have previous performance test results, and today we will compare metrics before with the new HH environment after the exodus.
+-----------------------------+--------------+ | | Magento 2 HH | +-----------------------------+--------------+ | 1.Home Page | 2367 | +-----------------------------+--------------+ | 2.Product Page | 3580 | +-----------------------------+--------------+ | 3.Category page | 6046 | +-----------------------------+--------------+ | 4.Filter/Layered Navigation | 6009 | +-----------------------------+--------------+ | 5.Search…
M2 is the slowest platform on the market and has many misleading advertisement campaigns and marketing lies about M2 performance. One of such lies: M2 is faster than M1. Let’s check that.
OpenMage LTS (https://github.com/OpenMage/magento-lts) is a community-driven true Open Source fork of Magento 1.9 with security vulnerability patches, bug fixes, performance improvements, and more.
Today we will check how Adobe improved the performance of the “innovative” e-commerce platform built on top of abandoned Zend Framework v.1 and Knockout.JS vs Previous Magento version 1.9.
We have a C5.xlarge instance (3 GHz Intel Xeon Platinum 8124M, 4 vCPU, 8 GiB memory)…
RDS MySQL disable AZ stand by high Availability
For write intensive app it is better disable AZ failover for better performance.
RDS uses synchronous replication and it provides some issues:
DB instances may have increased write and commit latency compared to a Single AZ deployment, due to the synchronous data replication
Transaction success is returned only if the commit is successful both on the primary and the standby DB
Geographically distant web servers add latency and degrade the shopping experience. Such mistakes can prove costly, resulting in lost customers, missed revenue, and reputational damage.
Route your traffic to your regional Magento Servers based on the user’s location.
When you use geolocation routing, you can localize your web store and present some or all of your websites in the language of your users. You can also use geolocation routing to restrict access to the websites to only the locations you have distribution rights. Another use case is balancing load across endpoints.
You can specify your store geographic locations by continent…
Magento/APP Cloud Architect. Melting metal server infrastructure into cloud solutions.