mapswipe / python-mapswipe-workers

MapSwipe Back-End
https://mapswipe-workers.readthedocs.io
Apache License 2.0
26 stars 10 forks source link

Pre-calculate total geo area and time max limit for project groups #780

Closed thenav56 closed 1 year ago

thenav56 commented 1 year ago

Changes

Why

Caching the geo areas decreases stat calculation time significantly. For eg: For the whole 2022 year data (by calculating 1 month at a time), It took more than 5 days. After the current implementation, it took around 1-2 hours and the majority of time was spent on initial cache calculation.

Deployment steps