3 ms·
Really interesting stuff. The naming of the types is slightly confusing. If I understand correctly, a "feed" is kind of like an unordered set (if you ignore th
by tlrobinson 15y ago
Really interesting stuff.
The naming of the types is slightly confusing. If I understand correctly, a "feed" is kind of like an unordered set (if you ignore the IDs) or a hash (using the ID as a key), while a "sorted feed" is like an array?
- fritzy 15y agoI agree. I'm unhappy with the names -- I'm trying to avoid naming things the same as Redis. A feed is in publish order (not a set). Edited items are brought to the top. A sorted_feed lets you publish at whatever end/index you want. You can also move items to a different index. Sorted feeds give you reposition events as well. If nothing else, I'll fix this with documentation for 1.0.
- tlrobinson 15y agoGot it. Unrelated question: how would you compare Thoonk to Storm? Thoonk's "jobs" seem vaguely similar to Storm streams. Also, I threw together a little REPL that makes it little easier to play around with Thoonk.js: https://gist.github.com/1378241 https://gist.github.com/1378241