Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 115657

REST API: get your node data

$
0
0

A quick update on the API v0, regarding the slow requests: the database is having a hard time querying for the packages (even though there's only 20 million records in there yet), so we did some quick optimisations:

  • API is split off from the main website (so they won't affect each other any more)
  • Caching is enabled as the REST API is meant for semi-real-time updates only (use MQTT for real-time updates): 10s for specific node/gateway views, 60s for listing of all nodes/gateways. So no use in querying every second any more :wink:
  • Queries are optimised a bit, more indexes have been created.

Let me know if I broke something!


Viewing all articles
Browse latest Browse all 115657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>