We first want to have a good search before we attempt creating a sophisticated recommendation engine.
What we want:
- Search for dancers in a x km radius
Idea 1 for implementation:
- We have the coordinates for each PLZ in the database and the PLZ of each dancer in. their profile(?)
- For the search we calculate a square of x km around the PLZ of the user
- first we want to do this when the search is requested (no precalculations for now)
- We have ca. 10.000 test user so we can look at how performant this would be for more users
Optimized Idea 2 for implementation:
- We have a set of prefedined distances (10, 25, 50 km)
- For each of them, and for each of the PLZ, we pre-caclulate the list of other PLZ that fall into the set range
- When the search is performed, it will be very performant, because we only need to look up the array of PLZ
We first want to have a good search before we attempt creating a sophisticated recommendation engine.
What we want:
Idea 1 for implementation:
Optimized Idea 2 for implementation: