Static Analysis at Scale: An Instagram Story
instagram-engineering.com
Static Analysis at Scale: An Instagram Story
1–10 of 36 posts
Re: Static Analysis at Scale: An Instagram Story
#2While I do like Python, I wonder if they would use a lot fewer servers if they used something like Go.
Re: Static Analysis at Scale: An Instagram Story
#3I was watching one of the videos and the speaker said they have tens of thousands of servers. While I do like Python, I wonder if they would use a lot fewer servers if they used something like Go.
Re: Static Analysis at Scale: An Instagram Story
#4I was watching one of the videos and the speaker said they have tens of thousands of servers. While I do like Python, I wonder if they would use a lot fewer servers if they used something like Go.
Migrating millions of lines of python to go would be deeply stupid. A few extra servers are worth it.
No one said that you need to rewrite everything tomorrow but would it worth migrating over several years? Maintaining 100,000 servers vs 10,000 servers has a cost.
Maybe this story is simply a warning to new startups?
When you listen to the guy who says don't worry about it until you get to the point where it's too late.
Re: Static Analysis at Scale: An Instagram Story
#5I was watching one of the videos and the speaker said they have tens of thousands of servers. While I do like Python, I wonder if they would use a lot fewer servers if they used something like Go.
Re: Static Analysis at Scale: An Instagram Story
#6Earlier quoted context omitted.
Migrating millions of lines of python to go would be deeply stupid. A few extra servers are worth it.
Tens of thousands of extra servers. Perhaps over one hundred thousand. There are 95 million photos and videos uploaded every day. No one said that you need to rewrite everything tomorrow but would it worth migrating over several years? Maintaining 100,000 servers vs 10,000 servers has a cost. Maybe this story is simply a warning to new startups? When you listen to the guy who says don't worry about it until you get t…
I'd be surprised if the upload service was all Python.
> would it worth migrating over several years?
No. The cost of developers (and the potential risk of adding bugs) means it would be infeasible.
It's far, far cheaper for Facebook to figure out how to speed up Python (they did something similar for PHP with HHVM).
Re: Static Analysis at Scale: An Instagram Story
#7Earlier quoted context omitted.
Tens of thousands of extra servers. Perhaps over one hundred thousand. There are 95 million photos and videos uploaded every day. No one said that you need to rewrite everything tomorrow but would it worth migrating over several years? Maintaining 100,000 servers vs 10,000 servers has a cost. Maybe this story is simply a warning to new startups? When you listen to the guy who says don't worry about it until you get t…
> There are 95 million photos uploaded every day. I'd be surprised if the upload service was all Python. > would it worth migrating over several years? No. The cost of developers (and the potential risk of adding bugs) means it would be infeasible. It's far, far cheaper for Facebook to figure out how to speed up Python (they did something similar for PHP with HHVM).
Re: Static Analysis at Scale: An Instagram Story
#8Earlier quoted context omitted.
> There are 95 million photos uploaded every day. I'd be surprised if the upload service was all Python. > would it worth migrating over several years? No. The cost of developers (and the potential risk of adding bugs) means it would be infeasible. It's far, far cheaper for Facebook to figure out how to speed up Python (they did something similar for PHP with HHVM).
What about the environmental impact? 10k servers use a lot more energy than 100k
No, I do not or did not work at FB. Also do not use FB. But I learn from their writing.
Re: Static Analysis at Scale: An Instagram Story
#9I was watching one of the videos and the speaker said they have tens of thousands of servers. While I do like Python, I wonder if they would use a lot fewer servers if they used something like Go.
More relevant questions:
- Would Go avoid or reduce the needs for all these static analysis tools? (probably yes)
- Is the cost of migrating millions lines of code to Go inferior to the cost of setuping all these static analysis tools? (probably no)
- Would the extra cost of migrating be worth it? (hard to say)
Re: Static Analysis at Scale: An Instagram Story
#10Earlier quoted context omitted.
> There are 95 million photos uploaded every day. I'd be surprised if the upload service was all Python. > would it worth migrating over several years? No. The cost of developers (and the potential risk of adding bugs) means it would be infeasible. It's far, far cheaper for Facebook to figure out how to speed up Python (they did something similar for PHP with HHVM).
What about the environmental impact? 10k servers use a lot more energy than 100k