We are using t2.large as instance type and php v 7.2
Magento
2 multi-store is taking 25 seconds
to load
The product page is extremely slow
We are Bitnami
cloud image of Magento
Does the server location affects the performance ??
Do I have to use a Load balancer??
I am using a built-in cache for Magento
and flat category
The store is in production mode
all basic commands are already
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php -dmemory_limit=5G bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:flush
rm -rf generated
I have upgraded Magento version to 2.3.5 as well but no performance improvement
I am not much experienced and looking up for suggestions??
There is no magic switch to make your Magento fast. The speed can be affected by many factors, including the configuration of the infrastructure/server, configuration of the Magento itself, what extensions and/or themes you are using much more.
To answer the 2 questions you asked:
Does the server location affects the performance ?? - Yes but I don't think you should worry about it at this point (unless you are hosting the site in South Africa and your users are mostly from Sweden or you have a similar situation).
Do I have to use a Load balancer?? - I don't think so. You should use a load balancer only when you have such big traffic you want to distribute the load across multiple servers/instances.
I would suggest going through the following as a starting point: