云计算和MYSQL有可能结合起来吗?

发布于 2024-07-26 00:33:59 字数 258 浏览 2 评论 0原文

Web 服务器的主要瓶颈通常位于数据库中,在我的例子中是 MYSQL。

更具体地说,全文搜索和主从复制。

sphinx 是全文搜索的一个可能的解决方案,因此主从复制是

最后的痛苦。

是否有可能通过云计算技术(

例如亚马逊提供的服务)显着提高性能?

只是一个疯狂的猜测!

编辑:MySQL 和 Google App Engine 怎么样?

The main bottle neck of a web server locates usually in the database,in my case,MYSQL.

More specifically,fulltext search and master-slave replication.

And sphinx is a probable solution for fulltext-search,so master-slave replication is the

final pain in ass.

Is it possible to boost the performance significantly with the technology of Cloud Coumputing,

for instance,by services offered by Amazon?

Just a wild guess!

EDIT:what about MySQL and Google App Engine?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

如梦初醒的夏天 2024-08-02 00:33:59

当然。 适用于 Amazon EC2 的 MySQL Enterprise 是一个用于 亚马逊 EC2。 另请参阅在 EC2 AMI 上设置 MySQL< /a> 和 本教程/博客文章

编辑:App Engine 比 EC2 更高级别,实际上是为 BigTable/GQL。 不过,请查看 approcket,它允许在 AppEngine 和 MySQL 之间进行复制。

Of course. MySQL Enterprise for Amazon EC2 is one MySQL package for Amazon EC2. See also Setting Up MySQL on an EC2 AMI and this tutorial/blog post.

EDIT: App Engine is higher-level than EC2 and is really designed for BigTable/GQL only. However, look at approcket, which allows replicating between AppEngine and MySQL.

路弥 2024-08-02 00:33:59

您可能需要小心地将您的网络应用程序切换为使用外部数据库(即亚马逊等),您想了解您的瓶颈到底在哪里,否则您可能最终会引入更多性能问题......记住与本地(盒子或网络)查询相比,通过访问外部数据库,您会在每个查询中引入更多的延迟。

如果您的问题是性能,请首先尝试准确找出问题所在,然后您可能需要探索其他选项,例如查询优化、缓存等。

You may want to be careful with just switching your web app to use an external data base (ie amazon, et.al.), you want to understand where exactly is your bottleneck or you may end up introducing more performance problems... Remember that by going to an external DB, you're introducing more latency into each query compared to a local (box or net) query.

If your problem is performance, try to find out exactly where the problem lies first, and then you may want to explore other options like query optimization, caching, etc.

月寒剑心 2024-08-02 00:33:59

有可能——当然。 例如,请参见 xeroundrightscale< /a>、亚马逊phpfog。 可能至少还有更多,而且还会有更多。 它们也有不同程度的“自由”(这对于一个虚构的词来说怎么样?)。

在我看来,问题在于性能和可靠性。

谁知道,对于开发来说,localhost 可能会成为过去。

Possible - for sure. See for example, xeround, rightscale, Amazon and phpfog. There are probably at least a few more with more to come. They come in varying degrees of "freeness" (How's that for a made up word?) too.

The question, it seems to me, will be performance and reliability.

Who knows, localhost may become a thing of the past for development.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文