READ MF!
Requirements
User sees the relevant trending topics related to his geolocation
User can click on a trending topic and get all the tweets by time
Non Functional Requirements
Availability 9.99999 downtime is 1min/per year
Latency is 200ms
Design
tweets -> tweets analyzer -> tweets filter -> velocity service
tweets analyzer: tf x idf
velocity service: df/tweet delta time
lat long
{
tweet
rank
trend
lat
lng
}