Answer the question
In order to leave comments, you need to log in
What is the correct way to implement the LIKE functionality in Rails?
How to make likes that will work quickly? Let's say, as in modern social networks.
Should I use a non-relational database? How do they generally solve such a problem, so that it is scalable?
Answer the question
In order to leave comments, you need to log in
And what can be slow in the field value increment in the database?
In general, it is not clear what fast means, by what criteria.
Used counter_cache on a big news portal. There were no brakes. But for a highload, I would still look towards Redis.
Well, the meaning of the rails is to use for likes, well, write on ruby event machines, do not suffer from idiocy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question