我是mysql集群的新手,我在网上读到了如何设置它。我想出了两个不同的设置,不确定哪一个是更好的失败,安全和成本效益。我们的新网站在美国和日本有客户。我们不是大网站,节约资金是我们的首要任务。
V1)
美国服务器,日本服务器
Front End 3 servers
Apache
local memcached + connects to mysql memcached
Mysql cluster
One management node (This will be aware of japanese/us management node)
Two data Nodes
Two Sql Nodes
V2)
美国服务器,日本服务器
Front End 3 servers
Apache
local memcached + connects to mysql memcached
Mysql cluster
One management node (This will be aware of japanese/us management node)
Two data Nodes/ Sql Nodes combined
谢谢
发布于 2018-09-30 01:45:40
假设在同一个节点上运行数据和sql没有性能问题,那么V2将是可行的,而且成本更低。
我通常不喜欢在缓存前面有缓存,所以我怀疑memcached是否需要缓存。
https://dba.stackexchange.com/questions/216002
复制相似问题