Loading...
User table -
userId - pk
name
age
workout :
id
userId - FK
workoutType
timeseries data no sql :
id,
workoutId,
datapointName
value
unit
time
AWS Redis : Cache the user related info which do not change frequently.
Need to store the datapoints in client side until it connects to internet.
Queues and notifications
Explain how the request flows from end to end in your high level design. Also you could draw a sequence diagram using the diagramming tool to enhance your explanation...
Explain any trade offs you have made and why you made certain tech choices...