Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Large-scale website image storage

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #44686
    fooman
    Participant

    I’m just curious. How do large-scale websites like FB and twitter store images, and go about retrieving them?
    They are named in what looks like a hash of some sort, including the directory structure.

    I’m just being curious here. If anyone knows anything as to how and why they do what they do please point me to where I can learn!

    #134684
    Paulie_D
    Member

    Welll here’s one of mine:

    https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-ash3/37772_3905461629130_868221159_n.jpg

    I think there might be some clues in that string.

    #134685
    pixelgrid
    Participant

    i think the 858221159 is the secret right Paulie?

    (ontopic look for cdn’s .is like chaching on servers across the world)

    #134686
    Paulie_D
    Member

    TBH I dunno but my assumption is that that that string includes reference to me specifically (by user no or something) and to the specific image.

    The ‘folder’ **may** relate to the ‘type’ of photo…in this case it’s a profile header image (hphotos?) etc., etc.

    #134690
    pixelgrid
    Participant

    the link is just a subfolder from http://www.akamai.com/ a well known cdn(Content delivery network)

    a nice article for fooman getting started http://en.wikipedia.org/wiki/Content_delivery_network

    #134691
    Paulie_D
    Member

    >why do they even bother renaming it to that?

    Because you could have a billion images all called ‘myimage01’. Renaming it makes it unique.

    As to how they assemble the string, that’s anyone’s guess.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.