×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

Kicking ass with redis

by on Jun 18, 2012

  • 18,505 views

 

Statistics

Views

Total Views
18,505
Views on SlideShare
16,862
Embed Views
1,643

Actions

Likes
52
Downloads
228
Comments
3

18 Embeds 1,643

http://blog.nosqlfan.com 909
http://www.scoop.it 266
http://feed.feedsky.com 185
http://max-makarochkin.blogspot.ru 135
http://xianguo.com 48
http://max-makarochkin.blogspot.com 40
http://www.imarks.me 24
http://reader.youdao.com 11
https://twitter.com 10
http://www.zhuaxia.com 3
http://max-makarochkin.blogspot.ca 2
http://www.uplook.cn 2
http://us-w1.rockmelt.com 2
http://reader.googleusercontent.com 2
http://translate.googleusercontent.com 1
http://xue.uplook.cn 1
http://max-makarochkin.blogspot.jp 1
http://max-makarochkin.blogspot.it 1
More...

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

13 of 3 previous next Post a comment

  • SzabolcsCsermk Szabolcs Csermák @dvirsky Thank you for your reply! What is the best practice if you want to sort by strings? For example, want to list your users in alphabetical order? 2 months ago
    Are you sure you want to
    Your message goes here
    Processing…
  • dvirsky Dvir Volk @SzabolcsCsermk If you use a ZSET to index strings, you can't do range queries on it, because the hash values are not lexically ordered as the original strings.

    but if you use a ZSET to index numeric value, say a user's age. So your ZSET looks like {userId=>age, userId=>age, ...} you can use ZRANGE to get the the top N youngest users, or ZRANGEBYSCORE to get all users within an age group.
    2 months ago
    Are you sure you want to
    Your message goes here
    Processing…
  • SzabolcsCsermk Szabolcs Csermák What do you mean about 'Ranges with ZRANGE, ZRANGEBYSCORE on numeric values only'?

    Could you show an example?
    2 months ago
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Kicking ass with redis Kicking ass with redis Presentation Transcript