Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3483518
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:41:02+00:00 2026-05-18T10:41:02+00:00

http://about.digg.com/blog/looking-future-cassandra I’ve found this article about Digg’s move to Cassandra. But I didn’t get

  • 0

http://about.digg.com/blog/looking-future-cassandra

I’ve found this article about Digg’s move to Cassandra. But I didn’t get the author’s idea of Bucket for pair (user,item). Little more details on the idea would be helpful to me to understand the solution better.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T10:41:03+00:00Added an answer on May 18, 2026 at 10:41 am

    It sounds like they are using one row in a super column family per user with one super column per item; a subcolumn for an item super column represents a friend who dugg the item. At least in pycassa, this makes an insert as simple as:

    column_family.insert(user, {item: {friend: ''}})
    

    They could also have done this a couple of other ways, and I’m not sure which they chose.

    One is to use a standard column family, use a (user,item) combination for the row key, and use one column per friend who dugg the item:

    column_family.insert(user + item, {friend: ''})
    

    Another is to use a standard column family, use just (user) for the row key, and use an (item, friend) combination for the column name:

    column_family.insert(user, {item + friend: ''})
    

    Doesn’t sound like this is what they used, but it’s an acceptable option as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Based on this drag/drop article: http://delphi.about.com/od/adptips2005/qt/dropontimage.htm I'm trying to catch an image dragged from
I know about http://www.upcdatabase.com/ , but it's quite incomplete. Where popular mobile apps getting
See section /* Common Classes */ of this page. http://webdesign.about.com/od/css/a/master_stylesht_2.htm are these css classes
Hi i have a questions about this http://dl.dropbox.com/u/143355/datepicker/datepicker.html twitter bootstrap plugin. How to change
My question is about http://fluentvalidation.codeplex.com library. I download .dll's from this link and include
According to this great article about HTTP uploads by Scott Hanselman, the browser typically
I used this tutorial http://delphi.about.com/od/kbthread/a/thread-gui.htm to create a class that asynchronously downloads a file
I'm little confused about http://getsymphony.com and http://symfony.com/ websites. I'm looking for place where I
today on the forum i found somebody talking about http://educationtechnologysummit.com/sponsors-a-partners.html i need a drop
This code is not working for me on Delphi XE: http://delphi.about.com/cs/adptips2000/a/bltip0800_5.htm procedure TForm1.FormDeactivate(Sender: TObject)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.