可扩展的 WordPress 网站和多个国家/地区的最佳加载速度 [英] Scalable WordPress website and optimal load speed in several countries

查看:42
本文介绍了可扩展的 WordPress 网站和多个国家/地区的最佳加载速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在计划一个可扩展的基于 WordPress 的 Web 应用程序,但挑战之一是使其在欧洲、美国、加拿大和澳大利亚快速加载.实现这一目标的最佳方法是什么?

I am planning a scalable WordPress based web application but one of the challenges is to make it load quickly in Europe, USA, Canada and Australia. What is the best way to achieve this?

我可以在多个国家的多台服务器上安装网站并使用负载平衡吗?但在这种情况下,我需要同步所有这些实例的数据库.

I can have web site installed on several servers in several countries and use load balancing? But in such case I would need to sync the databases of all those instances.

我认为最好的方法是使用 Amazon RDS 云 mysql 数据库,我不需要使用多个数据库并同步它们.但现在确定从不同国家访问数据库的速度有多快.也许有更好的解决方案?

I think optimal way would be to use Amazon RDS cloud mysql database and I will not need to use several databases and sync them. But now sure how quickly the database can be accessed from different countries. Maybe there is a better solution?

推荐答案

最好使用 AWS Cloudfront您的情况的解决方案.如果您使用 AWS Cloudfront,则只需要一台托管服务器和一台数据库服务器.

Using AWS Cloudfront is best solution for your case. If you are using AWS Cloudfront you need to just have one hosting server and one database server.

我可以在多个国家的多台服务器上安装网站并使用负载平衡吗?但在这种情况下,我需要同步所有这些实例的数据库.

I can have web site installed on several servers in several countries and use load balancing? But in such case I would need to sync the databases of all those instances.

如果您尝试实施上述解决方案,它将使您的托管成本飙升,并且维护那么多服务器和数据库也需要更多的工作.因此,AWS Cloudfront 是您的最佳解决方案.请参阅此视频以使用 AWS Cloudfront 设置安全的 wordpress 网站 https://www.youtube.com/看?v=T6X9jSH2wCM

If you try to implement above solution it will sky rocket your hosting cost and also will be more work to maintain that many servers and DB. So AWS Cloudfront is your best solution. Refer this video for setting up a secure wordpress website using AWS Cloudfront https://www.youtube.com/watch?v=T6X9jSH2wCM

这篇关于可扩展的 WordPress 网站和多个国家/地区的最佳加载速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆