I have a database that will have a list of servers. Most data will only be changed as and when the user updates.The problem I am having is that 1 particular bit of data is fetched every minute by querying an api which returns a json on whether the server is full or if the server is up or not.If I have say, 100k records. I can't check and update these every minute. Though on the server list page it will paginate, I would like to show only those that are online.I am using mongodb and express but I can't think how I can have a list in 'realtime' or at least every min. How would I go about approaching this using nodejs?
Submitted January 04, 2016 at 12:56PM by nemeth
No comments:
Post a Comment