Static Analysis at Scale: An Instagram Story
instagram-engineering.com/static-analysis-at-...Posted Aug 16, 2019, 2:34 AM UTC
Posted Aug 16, 2019, 2:34 AM UTC
From someone who has only worked on projects with limited devs can I ask a silly question?
What are all these commits they're refering too:
And it’s a fast-moving monolith; we have hundreds of engineers shipping hundreds of commits every day. We deploy those commits continuously, every seven minutes, typically deploying to production around a hundred times per day.
Instagram has a fair few parts now, but it still breaks down to a pretty limited number of pages / concepts, and I assume they're talking fixes over new features, but a hundred fixes a day? I was thinking maybe they're including things like changing functions etc, then they said that's (somewhat) done automatically... So are these all big changes? Or small little fixes for edge cases or.. something else?
Big content providers typically have a large "backbone" (that is their own network for supporting their own infrastructure) which connects through some border routers to the public internet. This backbone requires a lot of work (typically, much more work than developing the content that goes into the public internet). Here we are talking about things like "smart" caching algorithms that make sure content gets to points of presence quickly, but with minimal overhead; elasticity, i.e. the ability to add physical and virtual appliances w/o disruption to the service, all this stuff needs its own diagnostics, billing, human resource management...
Really, what you see in your browser, if we are talking about big content providers is the tip of the tip of the iceberg.
Not a silly question!
It's probably all of the above, but mostly the small little fixes for edge cases.
Worth noting that the front-end/UI of Instagram (the iOS/Android apps) make up a very small fraction of their overall codebase, so this Medium article is focusing on the back-end/server components.
These commits could include new API changes, additional unit/integration tests, bug fixes, performance improvements, documentation changes, features/bugs for their web-based Instagram UI, etc.
Note that since things are stored in a monolith, the commits could be in any area - user authentication, caching, database persistence, image processing, tag aggregation, searching, etc. It's a wide web! :-)
[deleted]
The small brains of Python programmers don't stop to surprise. These idiots are running a slow and bloated program on an extremely expensive hardware + infrastructure, and think that their programming efforts are the ones that make it work...
The worshiping of typing comes really as unsurprising in this context. The library that lies to you about how your program works is treated as a source of truth.
These people are pathetic.
And you are ignored. Bye.
Ffs medium: