Created
October 4, 2010 16:43
-
-
Save PharkMillups/610027 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
22:30 <jpartogi> hi | |
22:31 <jpartogi> how does riak sort the data in a bucket by default? | |
22:31 <jpartogi> I am never able to get a consistent result | |
22:32 <drev1> there is no sorting applied to list keys | |
22:34 <benblack> if you want things sorted, you need to use a sort function | |
22:34 <benblack> usually in a reduce phase | |
23:10 <siculars> jpartogi: there is no native sorting in riak. when you | |
do a mapreduce in riak the machine that received the request is your | |
coordinator. then the map is distributed to the nodes that hold the | |
data you are looking for. each of those nodes return | |
the data that matched the map to the coordinator which will | |
apply any reduce phase. | |
23:14 <jpartogi> thanks | |
23:15 <jpartogi> so I have to manually sort the records using map-reduce ? | |
23:15 <benblack> using sort in a reduce phase, yes. | |
23:16 <jpartogi> cheers' | |
23:16 <siculars> jpartogi: not to be self serving , but here , read my post on | |
sorting in riak with js mapreduce | |
http://siculars.posterous.com/using-riaks-mapreduce-for-sorting | |
23:17 <jpartogi> thanks siculars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment