jlab-sensing / DirtViz

DirtViz is a project to visualize data collected from sensors deployed in sensor networks.
https://dirtviz.jlab.ucsc.edu/
MIT License
4 stars 8 forks source link

Add rate limiting to the API #177

Closed jmadden173 closed 2 months ago

jmadden173 commented 5 months ago

I was going to remove the data aggregation as it is difficult to see "fresh" data that is uploaded to Dirtviz. To counteract people spamming the API or having a device send too many requests we can put a rate limit on the API.

aaron-wu1 commented 2 months ago

Done with cloudfront AWS