4 ms·
Here's the relevant excerpt, lightly edited for clarity and accuracy: > I mean, Instagram server is still a big Python codebase. It's Django at the core, I mea
by tfehring 5y ago
Here's the relevant excerpt, lightly edited for clarity and accuracy:
> I mean, Instagram server is still a big Python codebase. It's Django at the core, I mean, it still runs through the Django request handling stack, and the middleware and views and URL routing, all of that is still Django. It looks familiar to any Django developer. Just very big, lots of views, lots of URLs, lots of code. There's a lot of, I mean, obviously, the ORM we don't use anymore, the admin is very much based on the ORM, so that's not in use anymore. And there's a lot of components, where Django provides kind of pluggable back ends, like sessions and authentication, and for all of that stuff, we've essentially rewritten the entire system. But we're actually still using the sort of Django API for those things, because it's pluggable. So I would call that a success story, I mean, in that we've been able to very smoothly migrate away from the components that that no longer worked at our scale, in many cases without even having to change the client code touching those subsystems because Django provides this ability to swap out the back end. So yeah, and you know, the Django core requests support that we still use, we're 100% async now, so already a few years ago, we kind of forked and modified a bunch of that to support async, or concurrent handling of multiple requests using async IO. So there have been some changes.
- bredren 5y ago- an old fork that has a custom async support - no use of ORM - no use of admin - replaced sessions - replaced auth I would say it is a Django success story but given how much has been replaced it sounds more like a Python success story to me.
- singingfish 5y agoIt's a "let the framework help you write a sensibly structured code base so you can make good decisions ongoing more easily" success story really.