What are the advantages and disadvantages of specialized rail services?

I hope my question will not be too broad. Therefore, I am trying to formulate my question so as not to get too similar answers to the question of this question .

I am currently deploying the rails application on Linode. The service works fine, the price is reasonable. But from time to time there are management works. I could live without them. Recently, I became interested in other rail services, such as Heroku or EngineYard, and there are others. The services they can provide seem fascinating to me. They promise to free us from administrative affairs. Well, I can’t select a database, but I can have a database that works like a database, or it can have without a database schema or cluster. If I really do not want to take care of the details and just want the services necessary to provide my service, I should not worry. But .. I'm looking for a boot and there are probably some things to consider. I believe that choosing the right infrastructure for a rails application (or any application) is crucial. These things come to my mind in choosing the right infrastructure or infrastructure provider:

  • ease of deployment
  • Pricing - here I see huge two models. Payment after processing (EngineYard) or payment for machine configuration (Heroku)? When, which model is best applied?
  • migration - how easy it is to transfer the rails application and data from one provider to another.
  • additional services - for example, Heroku provides WebSolr or rails application monitoring. Such things can be crucial or at least helpful.

What things need to be considered when I want to choose an infrastructure - personal, rented or mixed? Is there any comparison of these things with rail services? Are there any sources to find out how best to solve any design, when, which model is applied in the best way?

I hope my question is not too broad, and in this forum you can answer on a reasonable border. I would like to find a way to develop the right cocktail of private infrastructure, VPS services and rails. Thanks for the suggestions.

+4
source share
1 answer

I carefully looked at Heroka and could use them in the future. The biggest benefits that I see are ...

  • They remove the time spent on system administration.

  • If necessary, you can quickly increase computing power and storage.

I decided not to go with Heroku because I need a full text search, and I want to use Sphinx, not WebSolr. Also, if you look at their description of the WebSolr service , you will find that it is expensive expensive for something that is "in beta." And at this time they index only up to 10,000 documents. This is the rule for my application.

You can put your application on Heroku and other parts - the database, the search - in another place, but this defeats the goal. If you do this, you will return to being a system administrator, and if you need more energy / memory / storage, you will have to process it.

Heroku can be great if everything your application requires is on Heroku. Then the potential simplification and time savings can be huge. If I had another application with different requirements, I would try it.

+1
source

Source: https://habr.com/ru/post/1299763/


All Articles