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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:57:23+00:00 2026-05-12T06:57:23+00:00

Some probably wont know what XING is: it is a online network community like

  • 0

Some probably wont know what XING is: it is a online network community like linkedIn etc. You can add new contacts, manage these contacts, search for new etc.

The whole application is done in Ruby and somewhat inspired by the small world theory, at least it is said so.

There is one specific feature that I really cant imagine how it is done. If you seach for some person Z, which is not in your contact list, and you click on Z´s profile, all possible connections from you to person Z are shown. Example:

  • YOU -> person B -> person C -> person E -> person Z
  • YOU -> person M -> person N -> person I -> person Z
  • YOU -> person M -> person K -> person J -> person Z

etc.

Especially if you have many contacts there are also many possible connections. And the app is fast!

So, my question is: how is such a feature implemented? What kind of system/database is behind it? I am only experienced in standard RDMBS like mySQL and MSSQL server, and I really cant imagine how to do something like the above mentioned in a standard database system.

Are there any algorithms which can help in computing the possible relationships? Currently I am reading a interesting book on algorithms like computing the similarity of two things etc. so the “implementation of that small world theory” would be very interesting for me.

Thanks in advance for any hints.

  • 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-12T06:57:23+00:00Added an answer on May 12, 2026 at 6:57 am

    It’s probably some combination of pre-caching the people you’re likely to click on, combined with any of the various Minimum Spanning Tree algorithms. For example, you might look at Kruskal’s Algorithm (http://en.wikipedia.org/wiki/Kruskal%27s_algorithm). It doesn’t have quite the behavior you describe, but would be useful for weighted trees where you have some idea of the strength of connection between two people.

    For more general info, look at info on spanning trees:
    http://en.wikipedia.org/wiki/Minimum_spanning_tree

    And more generally, read chapter 13 (on graphs) of Goodrich and Tomassia’s “Data Structures and Algorithms in Java.”

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

Sidebar

Related Questions

I can't assign RED5_HOME=/opt/red5-1.0.0 since variable appears to empty. Probably some characters in variable
First of all, I'm new to objective-c programming so I've probably made some mistakes
This is probably very easy to do but for some reason I can't seem
I'm using custom WordPress categories for some probably unintended functions, I will admit (things
I'm looking to make a website that will probably get some heavy, repetitive traffic.
I'm probably getting mad about it and there must be some trivial error in
Probably down to preference but I was just after some of your thoughts; I
Title probably doesn't make a lot of sense, so I'll start with some code:
i've spent some time searching and there is probably is an easy way to
This will probably be just another unsolved thread but i'll fill in some info

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.