Created
November 15, 2012 03:53
-
-
Save travis/4076549 to your computer and use it in GitHub Desktop.
This file contains 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
(topology | |
{"actions" (spout-spec resque-spout)} | |
{"users" (bolt-spec {"actions" :shuffle} | |
user-bolt | |
:p 4) | |
"likes" (bolt-spec {"users" :shuffle} | |
like-interest-scorer | |
:p 12) | |
"follows" (bolt-spec {"users" :shuffle} | |
follow-interest-scorer | |
:p 12) | |
"seller-follows" (bolt-spec {"users" :shuffle} | |
seller-follow-interest-scorer | |
:p 12) | |
"interest-reducer" (bolt-spec {"likes" ["user-id" "story"] | |
"follows" ["user-id" "story"] | |
"seller-follows" ["user-id" "story"]} | |
interest-reducer | |
:p 5) | |
"add-to-feed" (bolt-spec {"interest-reducer" ["user-id"]} | |
add-to-feed | |
:p 12)}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment