Loading...
Estimate the scale of the system. Consider daily active users, read/write ratio, storage requirements, bandwidth, and any relevant QPS calculations...
Tweet:
ADD /tweet/v1/
GET /tweet/v1/tid
POST(modification) /tweet/v1/tid
Delete /tweet/v1/tid
Like:
GET /tweet/v1/tid
POST /tweet/v1/tid
Follower:
LIST /follower/v1/uid
ADD /follower/v1/uid
Workflow:
Tweet Table:
UID int
TID int
Timeline date
description String
User Table:
UID int
Followers List
Following List