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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Cheap hosting for Rails app?

3 点作者 tommaxwell超过 11 年前
Building my first Rails app, and am coming to a realization that hosting will be a problem. Right now I&#x27;m freelancing full-time and just scraping by, so I don&#x27;t have a ton of money to put into an app that won&#x27;t be generating revenue anytime soon.<p>I set up the app on Heroku, and in a matter of ~1-2 weeks, I managed to get charged $75 for using the MemCachier add-on. I would like to be able to cache all my static assets with memcached.<p>I don&#x27;t expect this app to generate any material traffic for awhile, it&#x27;s still in development. What are the cheapest options out there?

11 条评论

AznHisoka超过 11 年前
Go look into EngineYard - they have 500 free hours so you can shutdown your server when you don&#x27;t expect any users to use your app. Otherwise, go buy yourself a dirt cheap VPS, or even OVH (their cheapest dedicated server plan is $40&#x2F;month). Or.. just host it yourself. Yep, buy a 8 GB RAM PC quad core, and put in your basement. Sure it will be slow, but since it won&#x27;t be generating traffic for awhile, who cares?<p>Second, why are you even prematurely optimizing by worrying about caching static assets? Wait until you actually have 100,000 users before doing that. You might even realize you don&#x27;t even need it when that happens.
ibstudios超过 11 年前
<a href="http://myhosting.com/" rel="nofollow">http:&#x2F;&#x2F;myhosting.com&#x2F;</a> will be much cheaper with a linux vps. I get sub 100ms page loads with a sinatra app and redis hosted on myhosting.
trekky1700超过 11 年前
If you&#x27;re willing to manage everything yourself, DigitalOcean is awesome and cheap. I don&#x27;t know about memcached though.
palidanx超过 11 年前
If you have a vps box, you can easily install memcache and set the size on it (64 megs, 128 megs, 512 megs etc).<p>For static assets, are you referring to actual files being served? If that&#x27;s the case, you don&#x27;t have to put that in memcache. I would recommend putting it on a third party cdn (e.g. amazon s3).
DarkStar851超过 11 年前
I run a small (dedicated) hosting environment with a few successfully deployed and running Ruby apps, I could setup a VPS and help with config if you&#x27;re interested. Roll-your-own VPS usually works out best.
评论 #6364713 未加载
kissrobber超过 11 年前
Sakura VPS 1GB RAM, 2 virtual core, 100GB HDD, about 10$ a month. <a href="http://vps.sakura.ad.jp/" rel="nofollow">http:&#x2F;&#x2F;vps.sakura.ad.jp&#x2F;</a>
chipk超过 11 年前
+1 Webfaction - cheap, great docs &amp; service, very solid technically.. really can&#x27;t be beat for a simple, public dev&#x2F;staging server.
ioddly超过 11 年前
I&#x27;d just go with DigitalOcean and serve up the static assets with nginx until that is no longer tenable (longer than you think).
Chetane超过 11 年前
Any reason why you&#x27;re using memchache for your static assets? If not, put your static assets on S3 instead.
评论 #6368622 未加载
sairamkunala超过 11 年前
DigitalOcean is your option. For, static assets suggest you route through CloudFlare &#x2F; self hosted ngnix.
ddorian43超过 11 年前
Webfaction (shared hosting with 512MB dedicated ram)