Does Instagram still run on Django? August 5, 2020 by galapagos7 Was wondering if anyone knows: Does Instagram still run on Django?
10 thoughts on “Does Instagram still run on Django?”
I talked to an Instagram engineer a few months ago who confirmed that it does.
Well it still says so on Djangos website.
Instagram is a huge Django and React app. At this point, switching to other frameworks must be expensive enough that they will never do it.
Yes they even developed that kind of system : https://github.com/Instagram/MonkeyType to be able to easily migrate your python code to static types.
More info : https://instagram-engineering.com/static-analysis-at-scale-an-instagram-story-8f498ab71a0c?gi=40b910b0d260
I don’t understand how django would work on an phone app?
yeah, it probably does. Django is suitable for large applications especially with a team of engineers like that from Facebook, I think they scaled their db well.
Real question is do they upgrade their django
There was a django chat episode (idr which one) in ehich Carlton Gibson says that Instagram still uses Django but they replaced many things. They use GraphQL, ripped out the ORM and use their own etc
I think it’s also important to note that for any big company they are dealing with problems unique to that company, so even if IG uses Django (which it sounds like they do), the way they use Django will be wildly different than the way anyone else uses Django. Even for smaller companies using Django, or any other framework, from my experience it almost always ends up as a frankensteined custom mess if the code base is even just a few years old! I feel only at small-to-medium sizes can a dev team use a framework in a conventional way.
I mean…. display the images, display the comments, it’s a CRUD app, there’s the user profile as well, chat protocol, video protocol, audio protocol, Facebook owns them now, so connecting to other social accounts, the LIVE feature, The physical website that you actually show up on, whatever APIs they’re using, js libraries, I can see something like that being completely broken too…
Also any machine learning involved to figure out who you should also follow or the entire Discover section.