![]() ![]() Magento supports many different Varnish configurations.įor sites that do not require high availability, we recommend using a simple Varnish setup with Nginx SSL termination.įor sites that require high availability, we recommend using a 2-tier Varnish configuration with an SSL terminating load balancer. Varnish is the recommended full page cache engine. Magento supports several full page caching engines (File, Memcache, Redis, Varnish) out of the box, along with expanded coverage through extensions. Recommended Varnish Reference Architecture Alternatively, use DB storage for low-traffic sites.Consider using GFS or GlusterFS for pub/media storage.Tune the number of instances based on search traffic.Low-traffic sites can store images in the DB In order to design a stable WeChat service system which provides one-stop service for Huaiyin Institute of Technology students, a method for building system based on microservice architecture.Consider using a slave DB to enable quick recovery and for data backups.High-traffic sites can tune DB performance with slave DBs and split DBs for orders/carts (in Magento Commerce).Size your instance to contain the largest expected cache size What are WeChat Mini Programs Mini Programs are mini-applications built within the WeChat platform.You can have a Redis instance per cache.Consider implementing a separate Redis instance for sessions.Alternatively, use a dedicated Admin and worker nodes.Enable scale of nodes for traffic and redundancy.On a high-traffic site, use a Varnish Master to ensure on-cache flush one request (at most) per web tier.Tune the instance size based on the number of cache pages needed.A Varnish cluster can scale to the traffic of a site.The following sections provide recommendations and considerations for each section of the Magento Reference Architecture diagram. Blue elements are optional for Magento Commerce.Grey elements are optional for Magento Open Source.Orange elements are required for Magento Open Source.The color of each element in the diagram indicates whether the element is part of Magento Open Source or Magento Commerce and if it is required. The Magento Reference Architecture diagram represents the best practice approach to set up a scalable Magento site. Your hosting provider, especially if it specializes in Magento high performance hosting, might recommend a different setup that is equally or more effective for your requirements.įor Magento Commerce Cloud environments, see Starter architecture. This topic describes a generic recommended setup for Magento Commerce and Magento Open Source instances using plain servers hosted physically in a data center (not virtualized) in which resources are not shared with other users. ![]()
0 Comments
Leave a Reply. |