Open codeJRV opened 4 years ago
Doing it on file based code is reinventing the database wheel. Databases are what you get when you fix concurrency bugs, do performance optimization, and hope to scale it beyond handful of users.
We need testdata from android app; are there any sample HTTP POST Requests available with location data? @saikrishh ??
The format is mentioned here :
https://github.com/GoCorona-org/Backend/blob/master/docs/location_history.md
@saikrishh to confirm
POST api.gocorona.org/report -
{ id : "p1",
location_history : [
{ timeslot: "00.00.01.15.2020", lat : "123456",long : "123456", status : "unknown"},
{ timeslot: "00.10.01.15.2020", lat : "123456",long : "123456", status : "unknown"},
...
]
}
Questions:
Do we need this? What advantages does it offer over our json file system based intersection calculator?