Feature #2: Fetch Top Movies

Implementing the "Fetch Top Movies" feature for our "Netflix" project.


Now, we need to build a criterion so the top movies from multiple countries will combine into a single list of top-rated movies. In order to scale, the content search is performed in a distributed fashion. Search results for each country are produced in separate lists. Each member of a given list is ranked by popularity, with 1 being most popular and popularity decreasing as the rank number increases.

Let’s say that the following titles are represented by the provided IDs:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.