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

时间:2012-02-17 11:59:18

标签: performance magento database-replication

Rackspace Cloud Hosting

**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

2 个答案:

答案 0 :(得分:2)

我建议你:

**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

答案 1 :(得分:0)

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

您的配置听起来有点奇怪:s