Vimeo Engineering

medium.com/vimeo-engineering-blog · Company blog · on HN since 2016

Vimeo's engineering team writes about video streaming, codecs like AV1, load balancing, PHP, and infrastructure work at the company.

What HN saysHN commenters link it for Vimeo's explanation of why plain consistent hashing gave uneven load, plus posts on in-process caching and AV1.
24HN people shared it
4linked it in comments
26stories submitted
92story points
3 years agolast shared
2016people per year2026

Most-shared posts

  1. 1
  2. 2
    Vimeo Engineering: It’s not legacy code – it’s PHP
    5 people · 39 points · first shared 2020 · 2 comments on HN
  3. 3
    Behind the Scenes of AV1 at Vimeo
    3 people · 4 points · first shared 2019 · discussion on HN
  4. 4
  5. 5
    ClickHouse Is in the House
    2 people · 3 points · first shared 2023 · discussion on HN
  6. 6
  7. 7
    Vimeo Joins the Alliance for Open Media
    1 people · 15 points · first shared 2018 · discussion on HN
  8. 8
    Upgrading images on Vimeo
    1 people · 4 points · first shared 2021 · discussion on HN
  9. 9
    Scalable codec testing with Are We Compressed Yet?
    1 people · 2 points · first shared 2020 · discussion on HN
  10. 10
  11. 11
  12. 12
    Vimeo is adopting tus
    1 people · 1 points · first shared 2017 · discussion on HN
  13. 13
    Fixing code that ain’t broken (2018)
    1 people · 1 points · first shared 2019 · discussion on HN
  14. 14
    A deep dive into Vimeo’s storage strategy for videos
    1 people · 1 points · first shared 2023 · discussion on HN
  15. 15
    Picture-perfect thumbnails for all videos
    1 people · 1 points · first shared 2021 · discussion on HN

What HN people wrote when they linked it

zubspace · 2017-06-27
I'm not an expert in this field, but an engineer of vimeo went into detail, why this approach did not work for them. [1] Problem with consistent hashing: However, consistent hashing comes with its own problem: uneven distribution of requests. Because of its mathematical properties, consistent hashing only balances loads about as well as choosing a random server for each request, when the distribution of requests is equal. But if some content is much more popular than others (as usual for the internet), it can be worse than that. Problem with Power of 2 Load Balancing: Why wasn’t there a way to say “use consistent hashing, but please don’t overload any servers”? As early as August 2015, I had tried to come up with an algorithm based on the power of two random choices that would do just that, but a bit of simulation said that it didn’t work. Too many requests were sent to non-ideal servers to be worthwhile. Instead, he used something called Consistent Hashing with Bounded Loads. [1] https://medium.com/vimeo-engineering-blog/improving-load-balancing-wit…
ddorian43 · 2020-08-10
Distributed in-process cache can make things very fast. See vimeo with group cache: https://medium.com/vimeo-engineering-blog/video-metadata-caching-at-vi… Or in-process distributed rate limiting: https://github.com/mailgun/gubernator https://github.com/golang/groupcache: groupcache is in production use by dl.google.com (its original user), parts of Blogger, parts of Google Code, parts of Google Fiber, parts of Google production monitoring systems, etc. There was also a paper by google that I can't find right now. Edit: Found it https://blog.acolyer.org/2019/06/24/fast-key-value-stores/
muglug · 2019-08-12
> until you get arrays which can take anything There's a widely-used PHPDoc standard for annotating arrays: `Foo[]`, and there are at least three PHP static analysis tools that can correctly interpret those annotations: Psalm (https://psalm.dev), Phan (https://github.com/phan/phan) and PHPStan (https://github.com/phpstan/phpstan). Phan and Psalm also support a docblock syntax for generics - I wrote about it here: https://medium.com/vimeo-engineering-blog/uncovering-php-bugs-with-tem…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close