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 8051857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:23:53+00:00 2026-06-05T07:23:53+00:00

Recently I want to store some social graph information into our database, and user

  • 0

Recently I want to store some social graph information into our database, and user discovers new social nodes by an automatic “mapping” that happens on the server end which has the social graph.

Background:
Each time a new client visits, I store his/her existing social nodes from some other sources, one good example is Facebook. So I have a list of Facebook friends as well as the Facebook ID of that client and I store those in my database. The server then tries to match each item in the client’s list of friends with existing clients. If there is a match, it means this client has friends using my service. The server then returns a matched list and marks the match on the other side of the edges. The next time the clients’ friends come back, they will receive a notice as well of a done matching.

Obstacles:
My problem is that this mechanism requires the server to store the complete list of clients’ social graph, in my example this is the clients’ complete list of Facebook friends. Since this social graph can be arbitrarily large, I certainly cannot store it into one single item, but span it across multiple items or rows with client ID and friend ID pair. If I store it this way, then the keys can be distributed pretty unevenly which means I cannot use DynamoDB. However I want to explore the possibilities of storing it in some AWS NoSQL services to gain the fast access advantage.

So are there good ways to store these data in AWS NoSQL servers? Or what are the optimizations that we can do to put them in RDS but not losing too much efficiency?

  • 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-06-05T07:23:55+00:00Added an answer on June 5, 2026 at 7:23 am

    Actually, DynamoDB might work quite well for your use case… DynamoDB supports multi-value fields and has a maximum record size of 64k.

    So you would create a ‘friends’ table of two columns with ‘clientId’ as your hashkey, and then ‘friendId’ as multi-value field.

    This means you would only need to one record to store the complete friends list for a user (up to about 4,000 friends assuming a GUID as a ‘friendId’). And if needed you could use multiple records for your users with more than 4,000 friends…

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

Sidebar

Related Questions

Recently I want to modify nutch's code(Fetcher.java) to save the raw html page into
Recently there's been some data structure changes in our app, and we decided to
I want to store a list of recently viewed profiles in a cookie. I
I have recently been using cookie store and I want to transition to active
I recently started using RedBean ORM. I have a User bean type to store
I want to display compare products,recently viewed/compared products blocks only in category and product
Recently I made the WPF application and want to publish it for many users
I want to retrieve the most recently added record from CoreData. I was wondering
I want to implement the recently approved PATCH HTTP verb in a RESTful service
I've recently learned core Java and want to develop my skills further with practice

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.