English 中文(简体)
Heroku vs DotCloud vs Duostack vs other cloud/PaaS providers (Rails and non-Rails)?
原标题:

We have a very simple function (We look something up from a third party database and return an answer. It s literally five lines of code.) We would like to offload this task from our main server because we expect a high volume of traffic for this one function and would like to optimize it.

We are thinking about testing the promise of many cloud/PaaS providers, where they handle scaling and performance responsibilities.

We re most interested in Rails environments, but are curious to hear experiences from others about any company in the space.

Here are the PaaS companies we found that supports Rails:

1) Heroku 2) DotCloud 3) Duostack

Questions:

1) Do you know of other Rails-specific companies? Also feel free to list non-Rails companies since we re interested in following other companies in case they eventually provide Rails support.

2) How has your experience been with these companies?

最佳回答

Foreword and disclaimer: I work for DotCloud; so the following might be biased. You ve been warned.

DotCloud could be interesting for you if you like the following features:

  • run something else than Ruby (what about some Django or Pylons code talking with your SQL DB? Or even some PHP blog like WordPress or Drupal, using the same user authentication database?)
  • experiment with databases like Redis or MongoDB, or background ruby workers, without paying for add-ons
  • SSH access, crontab access (without requiring an add-on)
  • cheaper workers (I didn t come up with this one; some of our users coming from the Heroku world told us that workers were insanely expensive there)

Duostack is indeed very nice if you want to mix specifically Rails and Node.js. I ve been told that they had awesome auto-configuration facilities.

Finally, if you only plan to do Rails and nothing else, ever, you might as well stick with Heroku since they ve been in that business for a while, and are probably more mature than the first two of the batch.

Shameless plug: DotCloud is offering a beta test drive; so if you want to see what it looks like, just subscribe to the beta and you will be quickly enough be able to see for yourself. Heroku has a free tier as well.

问题回答

You could add EngineYard in the mix - but i d be inclined to use Heroku as my first choice, Dotcloud second (it s a newish product, and is very good but still in development)

If you want more control over your app/servers or want to run it on any cloud or your own infrastructure without having to download/deploy anything, you can try Cloud 66 (www.cloud66.com)

Disclaimer: I work for Cloud 66

A lot has changed on the scene since this question was asked. We recently looked into these services and settled on Heroku, but even more recently decided to continue managing my own deployments directly on EC2. Here are some points not mentioned in the other answers.

Heroku

  • Now supports much more than just ruby
  • Has really great-looking support for PostgreSQL
  • Uses LXC for process containers, like DotCloud

DotCloud

  • Is now Docker, and is putting a lot of manpower into developing docker.io
  • Doesn t have a free tier any more

I m not sure if DotCloud is using Docker internally or not, since the docs say explicitly it isn t production-ready yet.

Our decision to stick with plain EC2 was motivated by the fact that it s cheaper and affords a lot more flexibility. For example, we use local-only http servers behind our public server to do some of our request processing, which doesn t really fit into the PaaS models out there. We would have had to reimplement all our back-end components as redis workers, and pay for them as additional dynos. The fact that Amazon RDS now supports PostgreSQL was also a compelling factor. Incidentally, Amazon has a full-stack PaaS offering as well, Elastic Beanstalk.

Just stumbled upon the question. There are similar ones around here. The problem is also: The PaaS scene is changing very quickly. New vendors are popping in every week or so.

Nowadays OpenShift from Red Hat might also be mentioned here as a Ruby PaaS.

OFFTOPIC + shameless plug: I have compiled a list of PHP PaaS here: http://blog.fortrabbit.com/comparing-cloud-hosting-platforms/





相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签