Performance 你认为这是一个好的Magento设置吗?

Performance 你认为这是一个好的Magento设置吗?,performance,magento,database-replication,Performance,Magento,Database Replication,Rackspace云托管 **Domain.com** DynDNS Private Whois Full DynDNS Name servers and DNS Remove www to domain.com **Server Magento 1** 1024 MB DDR 40 GB HD Nginx PHP-FPM APC Memcache **Server Magento 2** 1024 MB DDR 40 GB HD Nginx PHP-FPM APC Memcache Se

Rackspace云托管

**Domain.com**
DynDNS
Private Whois
Full DynDNS Name servers and DNS
Remove www to domain.com

**Server Magento 1**
1024 MB DDR
40 GB HD
Nginx
PHP-FPM
APC
Memcache

**Server Magento 2**
1024 MB DDR
40 GB HD
Nginx
PHP-FPM
APC
Memcache

Server Magento 1 and Server Magento 2 (Load Balanced + will be in replication)

**DB Server 1**
1024 MB DDR
40 GB HD
Nginx
PHP-FPM
Memcache
MySQL 5

**DB Server 2**
1024 MB DDR
40 GB HD
Nginx
PHP-FPM
Memcache
MySQL 5

DB Magento 1 and DB Magento 2 (Load Balanced + will be in replication)

**CDN Server**
1024 MB DDR
40 GB HD
Nginx
PHP-FPM
APC
Memcache

CDN server will be in sync using C Names to MaxNDA, Cloud files or S3

我认为Magento服务器的1Go内存有点短。还取决于您使用哪种缓存,但看起来您将在内存中使用缓存? 您计划使用哪种缓存系统?因为您正在进行负载平衡。。。您是否计划在两台服务器之间分配缓存,或者在每台服务器上都有一个缓存系统

您的配置听起来有点奇怪:我建议您:

**Server Magento 1**
1024 MB DDR (may be to low)
40 GB HD
Nginx
PHP-FPM
APC: only for opcode
cache: file because you don't have enough memory to use APC

**Server Magento 2**
1024 MB DDR
40 GB HD
Nginx
PHP-FPM
APC: only for opcode
cache: file because you don't have enough memory to use APC

Server Magento 1 and Server Magento 2 (Load Balanced + will be in replication)

**DB Server 1**
1024 MB DDR
40 GB HD

**DB Server 2** 
1024 MB DDR
40 GB HD

DB and DB2 (DB2 is just a copy of DB1 used for backup)
(some people use one db for writing and the other for reading)

**CDN Server**
1024 MB DDR
40 GB HD
分布式缓存的其他可能性:

**Server Magento 1**
1024 MB DDR (may be to low)
40 GB HD
Nginx
PHP-FPM
APC: only for opcode
cache: fast backend memcache db2 and slow backend database

**Server Magento 2**
1024 MB DDR
40 GB HD
Nginx
PHP-FPM
APC: only for opcode
cache: fast backend memcache db2 and slow backend database

Server Magento 1 and Server Magento 2 (Load Balanced + will be in replication)

**DB Server 1**
1024 MB DDR
40 GB HD

**DB Server 2** 
1024 MB DDR
40 GB HD
memcache

**CDN Server**
1024 MB DDR
40 GB HD

服务器Magento 1上没有APC,这正常吗?为什么数据库服务器上有nginx、php和APC?我认为memcache是一个模块,有助于在服务器上安装它,我编辑了APC-是的,所有服务器都有它。我喜欢它,虽然它性能更好,但是在DB上的Nginx-我想能够在所有DB服务器上访问phpMyAdmin,所以需要PHP-APC会更好,因为我可以缓存phpMyAdmin会话??您可以使用1个phpMyAdmin,在远程数据库上访问。您只需要1个phpMyAdmin。此外,您还应仅为数据库保留数据库服务器。在Magento中,您使用memcache进行缓存(在进行负载平衡时,通常用于分布式缓存)。在使用分布式缓存的情况下,在2台magento服务器中的1台上只需要一个memcache。