I am making a small mobile application using Node, Express, Mongoose/Mongodb, Redis, and React. I'm connecting to a rest api that updates every 30 seconds but I don't want to spam the api with to many request and lose my api key. What is the easiest way to do one request to the external api every 30 seconds and store the data in redis. Then create my own internal api the stores the redis data. I am trying to figure out the best way to do this.
Submitted April 24, 2018 at 11:20PM by Social_Justis
No comments:
Post a Comment