I need advice about What is the best practice to scale RoR project ? My current stack is:
- Ruby 1.9.3 - RoR 3.2.8 - Redis DB for caching and some hot data - PostgreSQL - Resque for background jobs I am expecting a highload for my project for several month. And I need to change my architecture. Primarily, I want to change my backend architecture. I read about highload project, like FB or Twitter, I found that they all use distributed DB, like Cassandra or Riak. And one of my questions is, what is better to use Cassandra or Riak. I prefer Riak, but I want to listen pros and cons of both if Somebody use it ? Also I know that projects like FB or Twitter use both distributed DB and relational DB(MySQL), and I wonder Why do they use both models ? What benifits do you get by this approach ? And my last question about caching. Currently I use Redis, but Redis doesn't have master-master replication or some mechanisms of clustering, and my question is, what can I do in this case ? Maybe there are some gems or other technics to scale Redis ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Ioc_9-hQNXYJ. For more options, visit https://groups.google.com/groups/opt_out.

