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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:12:07+00:00 2026-06-12T08:12:07+00:00

right now I think i’m stuck between two main choices for grabbing a user’s

  • 0

right now I think i’m stuck between two main choices for grabbing a user’s friends list.

The first is a direct connection with facebook, and the pulling the friends list out and creating a list of friend models with the json. (Takes quite a while whenever I try it out, like 2 seconds?)

The other is whenever a user logs in, the program will store his or her entire friends list inside a big friends model (note that even if two people have the same exact friends, two sets will still be stored, all friend models will have an FK back to the person who has these friends on their list).

Whenever a user needs his or her friends list, I just use django’s filter to grab them.
Right now this is pretty fast but that’s because it hasn’t been tested with many people yet.

Based off of your guys experience, which of these two decisions would make the most sense long term?

Thank you

  • 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-12T08:12:08+00:00Added an answer on June 12, 2026 at 8:12 am

    It depends a lot on what you plan on doing with the data. However, thinking long term you’re going to have much more flexibility with breaking out the friends into distinct units than just storing them all together.

    If the friend creation process is taking too long, you should consider off-loading it to a separate process that can finish it in the background, using something like Celery.

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

Sidebar

Related Questions

I'm using guidelines right now, but I do not think there is any way
I'm using the Facebook php-sdk to get the users name and friends, right now
I can't look at mysql tables right now...but I don't think '+' is making
I have absolutely no idea what I'm doing wrong right now. I think I'm
I think the concept is called overloading. Right now I'm writing a class that
I think I'm doing this inefficiently right now and wanted a suggestion of how
Right now, I'm placing the following code in header.php . I think that solution
I don't think it is possible right now in VS2010/VS2008 but I'm sure someone
I have a couple of issues right now. I think I would like to
ok I am having a brain fart right now and can't think straight. I've

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.