Hosting and the Woes

Ezra Zygmuntowicz, Jamie fore-rank Dyke e Tom Mornini talk about the difficulty intersected in hosting a rails application

I am sitting at a round table amongst the participants are part of Engineyard, the live motif of the session and spotless hosting, how to create a good system for hosting RoR?

The session will include a few problems that are linked to the world of hosting Rails;

ActiveRecods

ActiveRecord is odd in terms of functionality, on the contrary a a pest in presentation, to this it is added that in the major part of the cases it is forgotten to utilize the indexing of the database. Other than the indexing specifying in order the wrong useless results for the period of the joins. (a good strategy to remedy the problem and use the statement SQL EXPLAIN)

Sphinx is a good solution to make less the index dimension, much better performance than Ferret.

Image Science

EngineYard uses Monit to monitor the service but this becomes a problem with the various environments, but they express that the point in dispute has been easily resolved.

Hodel 3000

This product modifies the format of logs of Rails, its only problem is that, if you effect not change the settings in the configuration file, it generates a parcel information on the debug.

How to manage the trade peaks?

What happens if your website uploads in the homepage of Digg? The solution is to cache each page in posse, but not always be able to you apply this solution (for example the signup proceeding), in this case it is important to help the caching of queries.

When do you influence the choice of the server?

Between ebb, mongrel and thin there is not much of a difference, the quality of the product code counts more and the caching the measure implemented.

Annalisa