TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How Azure Web Sites Sucked in Production

85 点作者 yuriyguts大约 11 年前
Some hidden gotchas you may encounter when using Azure Web Sites, especially in Shared mode and/or with LAMP stack.

17 条评论

tszming大约 11 年前
Besides the fact that you are using the free ClearDB plan which is not supposed for production use (and it is not related to Microsoft anyway), Azure website (shared) is a <i></i>preview<i></i> product [1], with no SLA, you should not consider them for any serious use anyway, so you&#x27;ve made two mistakes here.<p>[1] <a href="http://azure.microsoft.com/en-us/pricing/details/web-sites" rel="nofollow">http:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;pricing&#x2F;details&#x2F;web-sites</a>
评论 #7750323 未加载
评论 #7749695 未加载
评论 #7750563 未加载
callumjones大约 11 年前
Here&#x27;s the take-away from this post<p>* You treated the system&#x27;s memory like it was some infinite resource. It&#x27;s not, you need to make sure your application efficiently handles memory and takes measure to ensure it doesn&#x27;t grow too large. Would you want it swapping on a regular host?<p>* You thought you could get away with a free database that is used for development.<p>You&#x27;re using an application that isn&#x27;t built well for shared environments, it expects dedicated hosting.<p>You&#x27;d be better off designing your blog around Azure Web Sites, knowing the advantages and disadvantages of the platform and taking advantage of them. Don&#x27;t try to shoehorn it in.
评论 #7749940 未加载
评论 #7750686 未加载
eropple大约 11 年前
The bigger question, gone unanswered, is why your WordPress blog is configured such that three users can tap out 512MB of RAM. I run a few nontrivial WP installs averaging a couple thousand hits a day on 256MB VMs.<p>My hunch is that anything that actually <i>needs</i> to tap out 512MB of RAM should be running on a plan that&#x27;s more than $10&#x2F;month.
评论 #7750465 未加载
facorreia大约 11 年前
There are sure a number of things to keep in mind when migrating to Azure Web Sites. For instance, since it runs on IIS, Apache configuration files (.htaccess) won&#x27;t have any effect. And the free MySQL plan is meant for development, not for production use.
darksim905大约 11 年前
So because these guys are either bad at coding, had a site that was on heavy load for that service, or what else you want to call it, an entire platform isn&#x27;t ready for service? Get real. From everything he told me, if I had a real site &amp; wanted to make use of a lot of things for cheap I&#x27;d go for their free tier in a heartbeat.
评论 #7750051 未加载
edandersen大约 11 年前
Probably best to add &quot;...for PHP Wordpress sites&quot; to the title.
评论 #7749486 未加载
numlocked大约 11 年前
I&#x27;m not sure where you expect to get great wordpress hosting for &quot;10 times less&quot; than $69&#x2F;mo. That&#x27;s not very much spend for a commercial website. Pagely, which has the scale economics advantage of doing nothing but hosting WP sites, starts at $24&#x2F;mo. To hit the baseline level of &quot;production readiness&quot; with Heroku is going to run you at least $85&#x2F;mo (2 dynos, 1 free, 1 @ $35&#x2F;mo + $50&#x2F;mo postgres instance).<p>If Azure really wasn&#x27;t sending log events that memory quotas were being exceeded then I agree the alerting leaves something to be desired. But the DB quota was clearly sending &quot;database error&quot; log messages. Dunno what else you want them to do there.
评论 #7750498 未加载
pistle大约 11 年前
The free&#x2F;cheap tier is pretty limiting especially for many modern CMS and unoptimized PHP type things.<p>If your CMS is caching, big memory footprint and some DB thrashing. If you aren&#x27;t caching, big DB thrashing and some memory consumption.<p>I&#x27;d like a little more flexibility with the lower tiers since I&#x27;ve been &quot;quotad&quot; by memory limits when caching goes bonkers during CMS updates. Something like short-term overage allowances with warnings.
bhhaskin大约 11 年前
I think this is a case of you get what you pay for. $10&#x2F;month is extremely cheap for hosting. Cheap hosts are great for sharing simple sites or (in the case of digital ocean) simple services with little foot traffic.
评论 #7750579 未加载
beachstartup大约 11 年前
golden rule of hosting &#x2F; paas: the less someone pays, the more difficult they will be to satisfy.<p>this holds all the way down to $0 (free), in which case, the customer is almost <i>never</i> satisfied. because they&#x27;re getting almost no value for no money.
评论 #7750766 未加载
chuckouellet大约 11 年前
Our SaaS is on Azure Websites until day one and it has been a pleasure to use, since they added the Always On feature and the new SQL Database pricing tier that allows you to have more robusts SQL databases everything runs very smoothly and fast. We can deploy several times a day without having any downtimes, load balancing, etc.
codfrantic大约 11 年前
Is it actually common to limit users on cpu&#x2F;memory use this way? I&#x27;d expect the limitations to simply be based on the resources made available to your processes...
评论 #7749876 未加载
评论 #7750235 未加载
outside1234大约 11 年前
I run a Wordpress site on Websites and it works great.<p>Its not cheap hosting (I&#x27;m running a business so I just want my stuff all in one place) but it has been very solid when used at Standard with a paid MySQL database option (the free tier is for development - not production).
scoj大约 11 年前
Funny, I have all my SharpPLM stuff on Azure (free with Bizspark!). So I was going to set up a blog with Wordpress just like you guys did. Same initial experience, it was super easy and quick to get up and running.<p>I haven&#x27;t fully made it &#x27;live&#x27; yet, but this gives me some pause whether I should. I think the WAWS platform is good overall, but there is probably too many layers of &#x27;magic&#x27; happening under the skirt for this to be a great solution yet.
评论 #7749589 未加载
gtirloni大约 11 年前
After they mentioned they were using the shared instance I just stopped reading.
quarterto大约 11 年前
&gt; Error establishing a database connection<p>I see what they did there
cwyers大约 11 年前
tl;dr: Using Apache config files to configure IIS doesn&#x27;t work.