You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Akhil_M_S's avatar
Akhil_M_S
Explorer | Level 3
6 years ago

Architecture pattern used by Dropbox

As we have many software architecture patterns available like peer-to-peer, client server, Observer and a lot more, which one does Dropbox uses ? and why it has selected that specific architecture? Please list out its pros and cons as i am unable to find much info on these topics.

  • Jane's avatar
    Jane
    6 years ago

    Hey Akhil_M_S, I'd happily take it from where you left off with Daphne; I hope my message finds you well today!

    To answer your initial question Akhil, different features on different platforms tend to have slightly different models, but the most common pattern is the observer pattern. This is implemented as long-polling from the client to the server, which holds the canonical representation of the data. For example, we do this for a lot of sync features, but also for comments/file activity. Where we don't use long-polling, we do client/server polling.

    Hope that helps with your class presentation and good luck with your project! 

  • Daphne's avatar
    Daphne
    Icon for Dropbox Staff rankDropbox Staff
    Hey there Akhil_M_S,
     
    For some more info about the architecture overview, please check out this article here. If you have any other questions feel free to let me know. In terms of the pros and cons, this discussion will be open for others to input their opinions on the matter.
     
    Hope this helps - Thanks!
    • Akhil_M_S's avatar
      Akhil_M_S
      Explorer | Level 3

      Hi Daphne ,

      Thanks for the link. I had gone through the same yesterday. But i didn't get the exact answer. Actually my question is regarding the architecture pattern used by Dropbox. For example when i go through the link you attached it feels its a Publisher Subscriber pattern, but some say it as a Observer pattern with central server pushing the changes to the client. Could you please help me with the same ? As i have chosen this topic to present in my class..

      Thanks,

      Akhil

      • Daphne's avatar
        Daphne
        Icon for Dropbox Staff rankDropbox Staff
        Hi there Akhil_M_S,
         
        I will look further into this for you to see what I can find! I’ll get back to you with an update when I have some more info on this.
         
        Until then, have a great day!
    • prasanthkp's avatar
      prasanthkp
      Explorer | Level 4

      Hi Daphne,

      I was reading about the Dropbox architecture. (Streaming File Sync).  And in my search for the backend database details I found this thread. In the Under the hood : architecutre overview , i understood that Metadata database is a RDBMS. Is it fair to understand that the block storage where the actual files is on the cloud (S3)?

      • Walter's avatar
        Walter
        Icon for Dropbox Staff rankDropbox Staff

        Hi prasanthkp; how are you today?

        Sorry to jump in here, but quoting from the relevant resource I just wanted to let you know that (sic) once a file is added to your Dropbox, it's synced to our secure online servers. All files stored online by Dropbox are encrypted and kept in secure storage servers. Storage servers are located in data centers across the United States. Additionally, storage servers are available in Germany, Australia, and Japan for some Dropbox Business users.

        For reference, here's a diagram of how the service exactly works:

        Diagram of how the Dropbox service works
        Let us know if you have any additional questions; we'll be happy to follow up! 

About View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!