TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How Azure Web Sites Sucked in Production

85 pointsby yuriygutsabout 11 years ago
Some hidden gotchas you may encounter when using Azure Web Sites, especially in Shared mode and/or with LAMP stack.

17 comments

tszmingabout 11 years ago
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 未加载
callumjonesabout 11 years ago
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 未加载
eroppleabout 11 years ago
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 未加载
facorreiaabout 11 years ago
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.
darksim905about 11 years ago
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 未加载
edandersenabout 11 years ago
Probably best to add &quot;...for PHP Wordpress sites&quot; to the title.
评论 #7749486 未加载
numlockedabout 11 years ago
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 未加载
pistleabout 11 years ago
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.
bhhaskinabout 11 years ago
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 未加载
beachstartupabout 11 years ago
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 未加载
chuckouelletabout 11 years ago
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.
codfranticabout 11 years ago
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 未加载
outside1234about 11 years ago
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).
scojabout 11 years ago
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 未加载
gtirloniabout 11 years ago
After they mentioned they were using the shared instance I just stopped reading.
quartertoabout 11 years ago
&gt; Error establishing a database connection<p>I see what they did there
cwyersabout 11 years ago
tl;dr: Using Apache config files to configure IIS doesn&#x27;t work.