We need to implement a search filter (for Net-log like) for my social network site in relation to the user profile, filters for the profile include age range, gender and interests
we have approximately 1M profiles running on MySQL, MySQL does not seem to be the right option for implementing such filters, so we also look at Cassandra,
So, what is the best way to implement such a filter, the result should be very fast
eg. age = 18 - 24 and gender = man and percent = football
Age by date, gender and interests - varchar
Editions:
Let me rephrase the problem. How can I get a quick result of any type of search. It can be based on the profile name or any other profile in the 1M profile reports.
thanks
source share