Hi,
I am looking for scalable way to do the following:
- User login
- Fetch all Friends from Twitter
- Fetch all Followers from Twitter
- Display all Friends wich aren't Followers
The Problem: How can this be done in a scalable way? An user can have up to 2 million friends or followers. Currently I'm storing both inside an SQLite table and compare them through a loop. When the user comes back the table is cleared and process starts again.
This works finde on 100 - 1000 Friends.. but will be tricky with 500000 Friends. I cant cache the lists because they can change every moment..
Does anyone know a good way to handle such big amount of data?