How Instagram Stores BILLIONS of Videos

Поделиться
HTML-код
  • Опубликовано: 11 янв 2023
  • How does Instagram handle BILLIONS of images and videos per month?!🤯
    In this video, we take a deep dive into the technology behind Instagram's video storage infrastructure. Learn about the various techniques and tools used to store and manage billions of videos, including distributed storage systems, cloud computing, and data compression. 📀
    See how Instagram ensures the availability and reliability of its video content, even under high traffic conditions. Discover the challenges of scaling such a massive video library and the solutions that Instagram has implemented to overcome them. 📈
    Join me as we explore the behind-the-scenes of Instagram's video storage and learn how they are able to handle such a large volume of content. 🎥
    Don't forget to like and subscribe for more tech-related content like this. 😀
    My name is Lewis, I am a professional and self-employed Software Developer that likes to help inspire developers. 👩‍💻
    Source: engineering. 2022/11/04...
    How Meta load balances globally: engineering. 2022/09/06...
    Leo's video on compression: • How Video Compression ...
    MY NEW NEWSLETTER 💌
    thebetter.dev
    ------
    CONNECT WITH ME ON SOCIAL
    📸 Instagram:
    / lewismenelaws
    🎚TikTok:
    / lewismenelaws
    🐣 Twitter:
    / lewismenelaws
    --
    My gear 💻
    liinks.co/lewismenelaws
    -----
  • НаукаНаука

Комментарии • 180

  • @CodingWithLewis
    @CodingWithLewis  Год назад +91

    What company do you want to see next? 🤔

  • @abhirammadhu2973
    @abhirammadhu2973 Год назад +56

    "How Instagram Stores BILLIONS of Videos"
    RUclips: 🗿

    • @mulhamalamry
      @mulhamalamry 2 месяца назад

      About 80 years of content per day 🗿🗿🗿

  • @chuck600
    @chuck600 Год назад +415

    Is it just me or the voiceover is too quiet? Especially when the sound effects are played, the voiceover is barely hearable. Great video tho

    • @CodingWithLewis
      @CodingWithLewis  Год назад +108

      My bad! I’ll fix in the next video 😅

    • @Marshal14522
      @Marshal14522 Год назад +22

      Sounds normal to me

    • @davidt01
      @davidt01 Год назад +6

      It's not too bad.

    • @ZX-Su
      @ZX-Su Год назад +10

      Yeah, music and sound effects are a bit loud

    • @handlewastaken
      @handlewastaken Год назад

      I actually like it.

  • @gljames24
    @gljames24 Год назад +136

    Speaking of encoding, Jpeg XL has the potential to revolutionize images on the web as it allows for lossless encoding of jpeg, png, bitmap, and gif files. It also allows for progressive loading. Google's Chromium team left it dead in the water in favor of their own webp and AVIF formats despite JXL having similar compression and superior backward compatibility with the older formats.

    • @xinaesthetic
      @xinaesthetic Год назад +9

      Webp and AVIF are also limited in terms of supporting a range of bit-depths or arbitrary channel configurations. JPEG2000 could actually be really useful too, particularly the high-throughput version. It’s frustrating these things don’t get better adoption.

    • @Vivi-xn9iz
      @Vivi-xn9iz 9 месяцев назад +14

      I HATE WEBP I HATE WEBP I HATE WEBP I HATE WEBP I HATE WEBP I HATE WEBP I HATE WEBP I HATE WEBP I HATE WEBP

    • @CrushedAsian255
      @CrushedAsian255 6 месяцев назад

      agreed@@Vivi-xn9iz

    • @CrushedAsian255
      @CrushedAsian255 Месяц назад

      @@Vivi-xn9iz I think we all do

  • @XrayTheMyth23
    @XrayTheMyth23 Год назад +34

    I really enjoy seeing you discuss real world examples. It really helps to understand what the field is like.

  • @danteguzman2918
    @danteguzman2918 Год назад +35

    Just started watching your channel and I’m really enjoying being a regular viewer of your channel. I’m thinking about getting into programming and overall finding a career with a great mix of being analytical and creative. Keep up the great work!

  • @Nemanjaftn
    @Nemanjaftn Год назад +8

    Well done, this was a great watch, even though I know nothing about programming you made the video feel very casual and easy to understand

  • @jasperverbruggen460
    @jasperverbruggen460 Год назад +6

    You make these videos really interesting and thank you for that :)

  • @chizidotdev
    @chizidotdev Год назад +2

    I have no clue half what you talked about, but this was entertaining AF!

  • @andydataguy
    @andydataguy Год назад +1

    Thanks for linking the article!! What a great read

  • @alexander_nunezf
    @alexander_nunezf Год назад +4

    Great vid, I wonder, besides performance issues; how many security issues(from the lowest levels on) remain hidden in pieces of software left that way under the principle of "if it ain't broken don't fix it". Specially on those software components which are the foundational pillars of our modern technologies. Not long ago I saw one meme/picture which stated that some essential long-lived pieces of software are maintained by a group having just one person.Scenerios like that are terrifying considering how flawed a single person can be as to left unnoticedly one vulnerability open, or how many backdoors a wicked programmer could build and left hidden in such software components.

  • @alviahmed7388
    @alviahmed7388 Год назад +3

    This is one of the verryy few channels for which i have the bell icon to all

  • @muhammadumarwaseem
    @muhammadumarwaseem Год назад +3

    Man you're great, its so good to see your videos with all that subtle humour, the animations and the story telling.

  • @koysdo
    @koysdo Год назад +12

    Where is the link to the meta load balancing article?

  • @stre6tmac360
    @stre6tmac360 Год назад +1

    You just got a new sub because of a video topic like this keep on

  • @gamerolukay445
    @gamerolukay445 Год назад +3

    The links you said will be in the description are not there.

  • @vaibhavnayak3416
    @vaibhavnayak3416 Год назад +3

    video suggestion: "How tick tock stores billions of Videos " and youtube also

  • @velcurry
    @velcurry 8 месяцев назад +1

    I love how netflix was just stapled on as an after thought. They are basically an amazon product anyway.

  • @DarthJarJar10
    @DarthJarJar10 7 месяцев назад

    Compression technology is fascinating!

  • @KhmerTarotReading
    @KhmerTarotReading Год назад +2

    The amount of braincells of mine is *spent* today with this video
    Thanks dear ❤❤

  • @randomhunter47
    @randomhunter47 3 месяца назад

    "I know talking about video compression is kinda boring" bro that's literally why I'm here

  • @grimjetram3866
    @grimjetram3866 Год назад +2

    man that was amazing

  • @davidjimenezrodriguez5673
    @davidjimenezrodriguez5673 Год назад +3

    I inmediately noticed the SMITE gameplay on the video example, do you play it?

  • @Ivanovich935
    @Ivanovich935 Год назад +1

    Good video Lewis 👌🏻

  • @renegade5942
    @renegade5942 Год назад +2

    Very very very informative, these type of videos will get you to the moon inchallah

  • @alejandrocs-cv1kj
    @alejandrocs-cv1kj Год назад +1

    Great video, thanks!

  • @VarunBanka18
    @VarunBanka18 Год назад +6

    Make a video on flask vs django

  • @GamingwithBuddy
    @GamingwithBuddy Год назад +3

    At least we know size matters

  • @rupeshkoirala3982
    @rupeshkoirala3982 10 месяцев назад

    @CodingWithLewis what do you use to create simple animations like this in your video? Can you tell about the process?

  • @marufmunna2687
    @marufmunna2687 Год назад +3

    Grate video lewis 🥰🥰🥰🥰

  • @tokelo2547
    @tokelo2547 Год назад

    It would be very cool to get straight to point(s)

  • @Sean.Vosler
    @Sean.Vosler 10 месяцев назад

    I always assumed they did a lot of the encoding in the app itself while uploading

  • @thetechnocrack
    @thetechnocrack 3 месяца назад

    loved this

  • @SamarthCat
    @SamarthCat Год назад +3

    Most modern phones can encode and decode videos locally.
    I think they should just make the user's device encode it when posting.
    Although, this will increase the amount of data transmitted.

    • @imeakdo7
      @imeakdo7 Год назад +2

      No but it can in many cases increase upload time... sometimes a lot

    • @theairaccumulator7144
      @theairaccumulator7144 Год назад +1

      This also increases processing time.. a lot and with it battery life suffers a lot. Phones lasting forever depends on them not doing any real processing at any point.

  • @TheRubiksrocks
    @TheRubiksrocks Год назад +1

    The ROTMG video on the TV. I see you. 👀

  • @kaseywahl
    @kaseywahl Год назад +1

    Someone tell the airline industry about this thing called "technical debt"

  • @allezvenga7617
    @allezvenga7617 Год назад

    Great video 👍
    Thanks for your sharing

  • @SkyFly19853
    @SkyFly19853 Год назад +2

    I wish you could also talk about how Instagram shadowban users as well...

  • @cesarlabastida1392
    @cesarlabastida1392 3 месяца назад

    Always very interesting videos señor

  • @allezvenga7617
    @allezvenga7617 Год назад

    Thanks for your sharing

  • @ashrafgehad9344
    @ashrafgehad9344 Год назад +1

    Omg! Was that smite ? 😅😅 We should q together 😂😂 love your videos 👏👏

  • @abhishek6575
    @abhishek6575 Год назад +2

    Make a video on how the Internet works. Why cannot we make our own web page with Google name explain this also.

  • @xBZZZZyt
    @xBZZZZyt Год назад

    10:03 .mov is container, it can contain h264 video

  • @shahriardhruvo4333
    @shahriardhruvo4333 Год назад

    Bro, your video is really good and I enjoyed it except the sound of your video is really low! I was using my Macbook Pro 14" and even with full sound in both system and youtube I struggle to hear some sentences. I had to turn off my ceiling fan in order to hear it properly. I would appreciate it if you could fix that in your later uploads, thanks.

  • @elijahtheo5812
    @elijahtheo5812 Год назад +3

    How does Google store all of these RUclips videos?

  • @sharif_billa
    @sharif_billa Год назад +2

    Looks like I came early 😁

  • @muzbarik4189
    @muzbarik4189 4 месяца назад

    lewis taking shots at ltt

  • @jhsloz3160
    @jhsloz3160 Год назад

    I'm really disturbed by how he read my mind at 3:57. Was literally mousing over to the next video x.x

  • @buzz1ebee
    @buzz1ebee Год назад +6

    First time on your channel, i just watched your discord video too. The technical content was great and well delivered. Keep that up and you'll have every success!
    The bits in-between the actual content where you apologise for the content you're about to share wasn't great for me. I wouldn't be watching if i didn't care about video encoding formats for example. It's probably an attempt to be light-hearted and add personality, but it makes it seem like you're not confident about the quality of the content or material, or confident in yourself and how you made it. It's also time where I as the viewer am waiting for you to just get on with it and am just waiting for it to be over.
    If I may, I suggest you don't include those bits and instead keep the flow of the video focussed on the topic you are exploring and the narrative you are building. Trust that your audience want to see what you have to share with them, and share it instead of apologising. You got this.

    • @MOSapeizer
      @MOSapeizer 5 месяцев назад

      Totally agree! The technical content is great. more focus on the main topic would be even better.

  • @samuelstefancic8050
    @samuelstefancic8050 Год назад +3

    A clear lack of views compared to the quality you are providing. I hope your channel will blow up soon !

  • @rishiraj2548
    @rishiraj2548 Год назад +1

    Thanks

  • @n0rice4u39
    @n0rice4u39 Год назад +1

    @Lewis can you make a video about QAs? Feel like it’s an underrated overshadowed position

  • @nilfux
    @nilfux Год назад

    One day we'll outgrow centralized systems and it'll be required to distribute like IPFS.

  • @riskia01
    @riskia01 Год назад +1

    how about instagram database work? query image/video?

  • @ggr3576
    @ggr3576 3 месяца назад

    It has been around a year and yesterday they went down

  • @parthokr
    @parthokr Год назад

    Meanwhile youtube: hold my beer

  • @VictorEstrada
    @VictorEstrada 7 месяцев назад

    I wonder who was the guy that came up with that, and most importantly, why is he not getting the well deserved credit?

  • @versatile3373
    @versatile3373 3 месяца назад

    Instagram still has no volume slider

  • @ProMinecraftSprite
    @ProMinecraftSprite Год назад

    why did you think they would store these videos as mp4 ?

  • @worldsbrother9704
    @worldsbrother9704 Год назад +3

    please make a video about chat gpt

  • @manfyegoh
    @manfyegoh Год назад +1

    can you set a better tone for your voice? it always fluctuate from high pitch to low pitch, hard to hear =(

  • @espacefiguratif
    @espacefiguratif 8 месяцев назад

    You forgot to talk about VideoLAN

  • @swiffty1
    @swiffty1 Год назад

    3:28 how long was the video they did the tests on? We just hear the function took 86 seconds to run but we don't know how long the video was. What was the original video resolution?

    • @GMDeatHSoul
      @GMDeatHSoul Год назад

      In the article they mention that that was a 23-second video, which they transcoded into 720p, unfortunately I don't see a mention of the original video's resolution.

    • @witekstrzelczyk4314
      @witekstrzelczyk4314 6 месяцев назад

      Most likely, we are discussing a one-to-many encoding scenario where a single input stream is utilized to produce multiple output streams. This approach offers significant potential for reusing several steps across the various outputs, potentially resulting in CPU savings of about 20-60% depending on the codecs used. Additionally, it can enhance scalability since many transcoding tasks for different outputs can be performed in parallel. For instance, if you're working with a video in QuickTime format and need to create H264 outputs, there are several stages involved, such as reading, decoding, and frame preparation. Without reuse, these steps must be repeated for each different output, like AV1. However, it's feasible to read the QuickTime format once, decode and prepare it, and then simultaneously generate both H264 and AV1 outputs.
      By the way, this is an educated guess on my part.

  • @yashaggarwal3575
    @yashaggarwal3575 Год назад +1

    I still didn't understand after watching full video 🤧. Seems like I am dumb or it's very complicated

  • @Alice8000
    @Alice8000 7 месяцев назад +1

    Sarnia?? You doing good boy.

  • @fitforever9328
    @fitforever9328 3 месяца назад

    So they basilly made a reusable class

  • @InoXtiC
    @InoXtiC Год назад +1

    How about h265?

  • @Heldn100
    @Heldn100 Год назад +1

    where is h265 ?

  • @hoteny
    @hoteny Год назад

    And what about redundancy? Do they compress those too… idk how it would work. Welp, this is too chaotic and scary.

  • @richardgideon4959
    @richardgideon4959 Год назад +3

    I love you my bro am first
    My social media launching soon

  • @lukabreulj
    @lukabreulj Год назад +3

    First🎉

  • @deanvangreunen6457
    @deanvangreunen6457 3 месяца назад

    Could we use machine learning to create a new video format? 😅

  • @seesea4002
    @seesea4002 Год назад

    Can u lower the music or completly remove it please

  • @infty5829
    @infty5829 4 месяца назад

    So basically threw a hash map on the problem

  • @maximuswillpower
    @maximuswillpower 4 месяца назад

    Next video, How TikTok Stores BILLIONS of Videos.

  • @ofskittlez
    @ofskittlez Год назад +1

    Are you kidding??? I love talking about video compression!

  • @gopinath9986
    @gopinath9986 Год назад

    your videos deserves more likes and suscribers

  • @ufukkrdar8831
    @ufukkrdar8831 Год назад

    Arweave?

  • @djordje1999
    @djordje1999 Год назад

    And that's why instagram have so many dropped frames last months

  • @mehmood3437
    @mehmood3437 Год назад

    I am Sparkly to

  • @microgamawave
    @microgamawave Год назад +1

    Next do RUclips

  • @lucassoden
    @lucassoden Год назад +4

    hey lewis could you do a video about how we can code better with chatgpt?

    • @CodingWithLewis
      @CodingWithLewis  Год назад +4

      Yes! That sounds like a great video!

    • @lucassoden
      @lucassoden Год назад +1

      @@CodingWithLewis Thanks for considering it!

  • @mynameisnik
    @mynameisnik Год назад +1

    Сколько интересно вообще весят все видео на RUclips???

  • @tabdig
    @tabdig Год назад +1

    Do you have an discord server?

  • @vsaiteja3391
    @vsaiteja3391 Год назад

    Oh

  • @crypticTV
    @crypticTV Год назад

    0:40

  • @bhblueberry
    @bhblueberry Год назад

    Please tell me why I cannot sell a method to compress any data like from 1TB to 1MB? I can't contact anyone who would like to invite me to show them how it works..

  • @logantcooper6
    @logantcooper6 3 месяца назад

    Guy has the intonation of a valley girl

  • @Fortuna272
    @Fortuna272 Год назад +3

    Feels really condescending for you as a creator to decide what is and isn't boring or difficult for me (the viewer) to comprehend. Let me decide for myself.
    Also half the video is tangential to the point of the video.

  • @Hithere.howareyou
    @Hithere.howareyou Год назад +1

    😉

  • @CC-1.
    @CC-1. Год назад +1

    Do you Wana colab: anyone reading comment can colab.
    Information:
    I am creating a AI for it to write programming languages automatically from English
    Goal:
    To create a better place for debugging and creating code for new programers like it can explain code.

  • @umairmuhammadabbas3929
    @umairmuhammadabbas3929 Год назад +2

    not much details given about actual process

  • @ankitkumarbarthwal2043
    @ankitkumarbarthwal2043 6 месяцев назад +1

    This is a kind of channel which has good host, good topic, good editing... still i feel no value added! not sure why, seem lewis himself has a very limited knowledge for the content!

  • @happyatheists9361
    @happyatheists9361 Год назад

    Middle out,imagine you j two guys at one time....

  • @abhinandankaranth8597
    @abhinandankaranth8597 Год назад

    RUclips

  • @olhoTron
    @olhoTron 4 месяца назад

    3:50 boring? video compression is anything but boring!

  • @Gomer._.
    @Gomer._. 9 месяцев назад

    That’s not that many

  • @h0mza.mp4
    @h0mza.mp4 3 месяца назад

    @coodingwithLewis how do i convert a 10gb vid mp4 to H264 without having to pay subscriptions

  • @bmno.4565
    @bmno.4565 Год назад

    tldr: They use middle out compression.

  • @Onkon127
    @Onkon127 Год назад

    It's hard to enjoy ur videos:")