Saving $1 Million on AWS WebSocket Bills

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

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

  • @viralgupta7636
    @viralgupta7636 19 дней назад +7

    Converting a WebRTC stream to WS is crazzy inefficient. Shared Mem is great but I wonder why did they not go for a RTC communication between chromium and python process in the first place.

    • @codedamn
      @codedamn  19 дней назад +6

      I might be wrong but I don’t think they are tapping directly inside webrtc streams themselves. They’re instead “screen recording” in a way

    • @harsh_dagar
      @harsh_dagar 17 дней назад

      Exactly my concern, if Recoil is already a member of meeting, RTC data transmission would have been a great choice for media and any other separate data could go through WS

  • @satyapalsingh6365
    @satyapalsingh6365 19 дней назад +8

    Just a question.
    where do you find these blog posts in the first place?

    • @iritesh
      @iritesh 19 дней назад

      prolly from reddit primeagen

    • @BR-lx7py
      @BR-lx7py 19 дней назад

      HackerNews?

    • @codedamn
      @codedamn  19 дней назад +3

      saw this shared by Gary tan from YC on X. but mostly through social media/hackernews, etc.

  • @MAK_007
    @MAK_007 18 дней назад

    never ever bulk transcode medias using CPUs they are exponentially expensive as compared to GPUs even if you are just transmuxing. GPUs are patchy on cloud services. if you think that your company is going to grow a lot (they are already providing services to more than 400 companies) then build your own GPU server. you dont even need expensive GPUs. u can offload huge amount computation from CPUs

  • @VivekSingh-uv4ni
    @VivekSingh-uv4ni 19 дней назад +3

    Still wondering what it takes to understand all the things in this blog post

  • @iamparmjeetmishra
    @iamparmjeetmishra 18 дней назад

    thanks

  • @dinoscheidt
    @dinoscheidt 18 дней назад

    👀 Tbh, that is something noobs would do wrong in a basic System Design Interview (pool state and job load). Aka, there is no reason why the observation of the headless chrome that is signed into the web conference and the stream processing of the video feed is not on the same machine simply through a file stream or for processing on disk via a volume in i.e. a docker compose file. Keeping the machine alive when the web conference ends to finish the processing. 🤐 Weird weird for a company with „hundreds“ of customers using client protocols for IPC. But good that they realized this eventually 15:10