Created
July 30, 2013 23:03
-
-
Save dreamr/6117838 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STEP 1 | |
------- | |
cache hotplays.json (user centeric) in redis or as a static file | |
When hotplays.json is hit: | |
serve cached copy | |
fire off a worker to re-cache it | |
STEP 2 | |
------- | |
When a change happens to a 'watched' fields on any of these: | |
* hotplay | |
* user | |
* coach | |
* industry | |
We will get all the users affected and fire off a worker to update their json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment